What’s this about?#
Web proxy blocking pages from McAfee and Symantec displayed sensitive user information and could be read by JavaScript from a malicious page on the same domain, allowing exfiltration. An attacker could steal internal IP addresses, proxy IPs, Active Directory usernames and groups.
sefod.eu
Published on sefod.eu
Security Products are not always secure. In the case of web proxies, there are some aspects to take into consideration when developing this kind of tool.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the proxy replaced the requested content with a blocking page on the same origin, without security headers that would prevent other pages from reading it.
Impact
An attacker could steal internal IP addresses, proxy IPs, Active Directory usernames and groups from users behind the proxy; Fortinet blocked iframe embedding with CSP but was bypassed using XMLHttpRequest, while Checkpoint was secure due to redirecting to another domain.
What the attacker needed
Victim uses a vulnerable web proxy; attacker controls a domain flagged as malicious; victim visits attacker's page
The fix
The text does not state a specific fix for McAfee or Symantec; it notes that Checkpoint was secure because it redirected to another domain with proper security headers, and suggests that blocking XMLHttpRequest on the same domain would be challenging.
How it was found
- Create a page that embeds an iframe pointing to a file on the same domain that triggers the proxy's blocking message.
- Use JavaScript to read the iframe's content and extract the sensitive information.
- Send the extracted information to an attacker-controlled server.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
When a company uses a web proxy to block dangerous websites, the proxy shows a warning page. This page contained private details like the user's internal network address and username. Because the warning page was served from the same website the user was visiting, a malicious page could read those details and send them to an attacker.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.