Vulnerability Scan Result
IP address | 157.240.214.174 |
Country | GB |
AS number | AS32934 |
Net name | Facebook Inc |
80/tcp | http | proxygen-bolt |
443/tcp | https |
Software / Version | Category |
---|---|
HTTP/3 | Miscellaneous |
Marko | Web frameworks, UI frameworks |
Node.js | Programming languages |
PWA | Miscellaneous |
DigiCert | SSL/TLS certificate authorities |
HSTS | Security |
Web Application Vulnerabilities
Evidence
URL | Cookie Name | Evidence |
---|---|---|
https://www.instagram.com/ | csrftoken | Set-Cookie: .instagram.com |
Vulnerability description
We found that the target application sets cookies with a domain scope that is too broad. Specifically, cookies intended for use within a particular application are configured in such a way that they can be accessed by multiple subdomains of the same primary domain.
Recommendation
The `Domain` attribute should be set to the origin host to limit the scope to that particular server. For example if the application resides on server app.mysite.com, then it should be set to `Domain=app.mysite.com`
Classification
CWE | CWE-614 |
OWASP Top 10 - 2017 | A6 - Security Misconfiguration |
OWASP Top 10 - 2021 | A5 - Security Misconfiguration |
Evidence
URL | Cookie Name | Evidence |
---|---|---|
https://www.instagram.com/ | csrftoken | The server responded with Set-Cookie header(s) that does not specify the HttpOnly flag: Set-Cookie: csrftoken=gA5OsnBnCDgXXyKQD7wEww |
Vulnerability description
We found that a cookie has been set without the <code>HttpOnly</code> flag, which means it can be accessed by potentially malicious JavaScript code running inside the web page. The root cause for this usually revolves around misconfigurations in the code or server settings.
Recommendation
Ensure that the HttpOnly flag is set for all cookies.
Classification
CWE | CWE-1004 |
OWASP Top 10 - 2017 | A6 - Security Misconfiguration |
OWASP Top 10 - 2021 | A5 - Security Misconfiguration |
Evidence
URL | Evidence |
---|---|
https://www.instagram.com/ | Response headers include the HTTP Content-Security-Policy security header with the following security issues:`report-uri: report-uri is deprecated in CSP3. Please use the report-to directive instead. base-uri: Missing base-uri allows the injection of base tags. They can be used to set the base URL for all relative (script) URLs to an attacker controlled domain. We recommend setting it to 'none' or 'self'. script-src: 'self' can be problematic if you host JSONP, Angular or user uploaded files. object-src: We recommend restricting object-src to 'none'. script-src: data: URI in script-src allows the execution of unsafe scripts. default-src: data: URI in default-src allows the execution of unsafe scripts.` |
Vulnerability description
We noticed that the Content-Security-Policy (CSP) header configured for the web application includes unsafe directives. The CSP header activates a protection mechanism implemented in web browsers which prevents exploitation of Cross-Site Scripting vulnerabilities (XSS) by restricting the sources from which content can be loaded or executed.
Recommendation
Remove the unsafe values from the directives, adopt nonces or hashes for safer inclusion of inline scripts if they are needed, and explicitly define the sources from which scripts, styles, images or other resources can be loaded.
Classification
CWE | CWE-693 |
OWASP Top 10 - 2017 | A6 - Security Misconfiguration |
OWASP Top 10 - 2021 | A5 - Security Misconfiguration |
Evidence
URL | Evidence |
---|---|
https://www.instagram.com/ | Response headers do not include the Referrer-Policy HTTP security header as well as the <meta> tag with name 'referrer' is not present in the response. |
Vulnerability description
We noticed that the target application's server responses lack the <code>Referrer-Policy</code> HTTP header, which controls how much referrer information the browser will send with each request originated from the current web application.
Recommendation
The Referrer-Policy header should be configured on the server side to avoid user tracking and inadvertent information leakage. The value `no-referrer` of this header instructs the browser to omit the Referer header entirely.
Classification
CWE | CWE-693 |
OWASP Top 10 - 2017 | A6 - Security Misconfiguration |
OWASP Top 10 - 2021 | A5 - Security Misconfiguration |
Evidence
Software / Version | Category |
---|---|
HTTP/3 | Miscellaneous |
Marko | Web frameworks, UI frameworks |
Node.js | Programming languages |
PWA | Miscellaneous |
DigiCert | SSL/TLS certificate authorities |
HSTS | Security |
Vulnerability description
We noticed that server software and technology details are exposed, potentially aiding attackers in tailoring specific exploits against identified systems and versions.
Recommendation
We recommend you to eliminate the information which permits the identification of software platform, technology, server and operating system: HTTP server headers, HTML meta information, etc.
Classification
OWASP Top 10 - 2017 | A6 - Security Misconfiguration |
OWASP Top 10 - 2021 | A5 - Security Misconfiguration |
Vulnerability description
Website is accessible.
Infrastructure Vulnerabilities
Evidence
Domain Queried | DNS Record Type | Description | Value |
---|---|---|---|
_dmarc.instagram.com | TXT | Text record | "v=DMARC1; p=reject; rua=mailto:a@dmarc.facebookmail.com; pct=100" |
Vulnerability description
We found that the DMARC record for the domain is not configured with sp policy, meaning that no policy is enforced for subdomains. When a DMARC record does not include a subdomain policy (sp directive), subdomains are not explicitly covered by the main domain's DMARC policy. This means that emails sent from subdomains (e.g., sub.example.com) may not be subject to the same DMARC enforcement as the main domain (example.com). As a result, attackers could potentially spoof emails from subdomains without being blocked or flagged, even if the main domain has a strict DMARC policy.
Recommendation
To mitigate the risk, we recommend configuring the DMARC record with a subdomain policy by adding the sp=reject or sp=quarantine directive. This will extend DMARC enforcement to all subdomains, preventing spoofing attempts and maintaining consistent security across both the main domain and its subdomains.
Evidence
Domain Queried | DNS Record Type | Description | Value |
---|---|---|---|
_dmarc.instagram.com | TXT | Text record | "v=DMARC1; p=reject; rua=mailto:a@dmarc.facebookmail.com; pct=100" |
Vulnerability description
We found that the DMARC record for the domain is not configured with ruf tag. A missing ruf (forensic reporting) tag in a DMARC record indicates that the domain owner has not enabled the collection of detailed failure reports. Forensic reports provide valuable insights into specific instances where emails fail DMARC authentication. Without the ruf tag, the domain administrator loses the ability to receive and analyze these reports, making it difficult to investigate individual email failures or identify targeted phishing or spoofing attacks that may be exploiting weaknesses in the email authentication setup.
Recommendation
We recommend configuring the ruf tag in the DMARC record. This tag specifies where forensic reports should be sent, providing the domain owner with detailed data on DMARC validation failures. Forensic reports allow administrators to analyze why certain emails failed authentication, making it easier to fine-tune DMARC policies or address potential vulnerabilities. Ensure that the ruf email address belongs to a secure and trusted location capable of handling sensitive email data.
Evidence
DKIM selector | Key type | Key size | Value |
---|---|---|---|
pm | rsa | 708 | "k=rsa; p=MHwwDQYJKoZIhvcNAQEBBQADawAwaAJhAIPmiAGqdq8yCwVqNOTWKgALGN+3nJg8vE2i41yJffKNZgrFFc0PTaQRs3CKoLMa2a3GKKDzIv7KhGwzMnXqFn" "EmwUGgNvk0n3LyaaBMEewexZF6OsMkqyn98sS2tR8aeQIDAQAB" |
Vulnerability description
We found that the DKIM key length is under 1024-bit. When a DKIM (DomainKeys Identified Mail) key length is under 1024-bit, it is considered weak by modern cryptographic standards. Shorter key lengths, such as 512 or 768 bits, are vulnerable to brute-force attacks, where an attacker could potentially forge a valid DKIM signature for a domain. This undermines the entire purpose of DKIM, which is to authenticate email messages and prevent email spoofing by verifying that the message headers have not been tampered with. A DKIM key under 1024 bits significantly reduces the difficulty for attackers to break the signature.
Recommendation
We recommend using a DKIM key with a length of at least 1024 bits. Ideally, 2048-bit keys should be used, as they provide a higher level of security and are more resistant to brute-force attacks. Organizations should regularly audit their DKIM configurations and rotate cryptographic keys periodically to maintain security. In addition, any DKIM keys that are less than 1024 bits should be immediately replaced with stronger keys to prevent exploitation.
Evidence
DKIM selector | Key type | Key size | Value |
---|---|---|---|
smtpapi | rsa | 678 | "k=rsa; t=s; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDPtW5iwpXVPiH5FzJ7Nrl8USzuY9zqqzjE0D1r04xDN6qwziDnmgcFNNfMewVKN2D1O+2J9N14h" "RprzByFwfQW76yojh54Xu3uSbQ3JP0A7k8o8GutRF8zbFUA8n0ZH2y0cIEjMliXY4W4LwPA7m4q0ObmvSjhd63O9d8z1XkUBwIDAQAB" |
Vulnerability description
We found that the DKIM key length is under 1024-bit. When a DKIM (DomainKeys Identified Mail) key length is under 1024-bit, it is considered weak by modern cryptographic standards. Shorter key lengths, such as 512 or 768 bits, are vulnerable to brute-force attacks, where an attacker could potentially forge a valid DKIM signature for a domain. This undermines the entire purpose of DKIM, which is to authenticate email messages and prevent email spoofing by verifying that the message headers have not been tampered with. A DKIM key under 1024 bits significantly reduces the difficulty for attackers to break the signature.
Recommendation
We recommend using a DKIM key with a length of at least 1024 bits. Ideally, 2048-bit keys should be used, as they provide a higher level of security and are more resistant to brute-force attacks. Organizations should regularly audit their DKIM configurations and rotate cryptographic keys periodically to maintain security. In addition, any DKIM keys that are less than 1024 bits should be immediately replaced with stronger keys to prevent exploitation.
Evidence
Domain Queried | DNS Record Type | Description | Value |
---|---|---|---|
instagram.com | A | IPv4 address | 157.240.214.174 |
instagram.com | NS | Name server | a.ns.instagram.com |
instagram.com | NS | Name server | c.ns.instagram.com |
instagram.com | NS | Name server | b.ns.instagram.com |
instagram.com | NS | Name server | d.ns.instagram.com |
instagram.com | MX | Mail server | 10 mxb-00082601.gslb.pphosted.com |
instagram.com | MX | Mail server | 10 mxa-00082601.gslb.pphosted.com |
instagram.com | SOA | Start of Authority | a.ns.instagram.com. dns.facebook.com. 4207849484 14400 1800 604800 3600 |
instagram.com | AAAA | IPv6 address | 2a03:2880:f289:e1:face:b00c:0:4420 |
instagram.com | TXT | Text record | "ms=ms86975275" |
instagram.com | TXT | Text record | "nEXgIFIbDifAKlSMQvAhly5SA-vpsAkm5wiOdwdkrzY" |
instagram.com | TXT | Text record | "hyWdekepiNsp/V9b1JCR+wZDdzbESurl4GqY+FLMfiN+7aeFaway0Art+kNDHeL5OnGZipNeV/iIC+lOONSQVQ==" |
instagram.com | TXT | Text record | "google-site-verification=GGtId51KFyq0hqX2xNvt1u0P9Xp0C7k6pp9do49fCNw" |
instagram.com | TXT | Text record | "google-site-verification=_iQgLr68Rdg7YnN2PqOljSG5dnWOFUUXISF9R77fs5c" |
instagram.com | TXT | Text record | "adobe-idp-site-verification=367fda82-a8bb-46cf-9cff-0062d452d229" |
instagram.com | TXT | Text record | "4cbb1b68-601f-4801-8e7f-e8f68a4a41dd" |
instagram.com | SPF | Sender Policy Framework | "v=spf1 include:facebookmail.com include:_spf.fb.com -all" |
instagram.com | CAA | Certificate Authority Authorization | 0 issue "digicert.com; account=271b0beda0771d006aa3a6c11b05187d456d6c239b46cb5241196095b09c92af" |
_dmarc.instagram.com | TXT | Text record | "v=DMARC1; p=reject; rua=mailto:a@dmarc.facebookmail.com; pct=100" |
Recommendation
We recommend reviewing all DNS records associated with the domain and identifying and removing unused or obsolete records.
Vulnerability description
OS detection couldn't determine the operating system.
Recommendation
Vulnerability checks are skipped for ports that redirect to another port. We recommend scanning the redirected port directly.
Evidence
Domain Queried | DNS Record Type | Description | Value |
---|---|---|---|
instagram.com | SPF | Sender Policy Framework | "v=spf1 include:facebookmail.com include:_spf.fb.com -all" |
Evidence
DKIM selector | Key type | Key size | Value |
---|---|---|---|
pm | rsa | 708 | "k=rsa; p=MHwwDQYJKoZIhvcNAQEBBQADawAwaAJhAIPmiAGqdq8yCwVqNOTWKgALGN+3nJg8vE2i41yJffKNZgrFFc0PTaQRs3CKoLMa2a3GKKDzIv7KhGwzMnXqFn" "EmwUGgNvk0n3LyaaBMEewexZF6OsMkqyn98sS2tR8aeQIDAQAB" |
smtpapi | rsa | 678 | "k=rsa; t=s; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDPtW5iwpXVPiH5FzJ7Nrl8USzuY9zqqzjE0D1r04xDN6qwziDnmgcFNNfMewVKN2D1O+2J9N14h" "RprzByFwfQW76yojh54Xu3uSbQ3JP0A7k8o8GutRF8zbFUA8n0ZH2y0cIEjMliXY4W4LwPA7m4q0ObmvSjhd63O9d8z1XkUBwIDAQAB" |
Evidence
Software / Version | Category |
---|---|
Node.js | Programming languages |
Marko | Web frameworks, UI frameworks |
HSTS | Security |
DigiCert | SSL/TLS certificate authorities |
HTTP/3 | Miscellaneous |
PWA | Miscellaneous |
Vulnerability description
We noticed that server software and technology details are exposed, potentially aiding attackers in tailoring specific exploits against identified systems and versions.
Recommendation
We recommend you to eliminate the information which permits the identification of software platform, technology, server and operating system: HTTP server headers, HTML meta information, etc.