Proxy discloses internal web servers
The proxy accepted user-supplied URLs pointing at internal addresses and fetched them, so a user could read pages from internal web servers such as a Chef server. The reporter did not attempt to access any systems beyond confirming the page was returned.
- Triaged in 17 hours
- Fixed in 53 days
- Disclosed after 54 days
Hi guys,
I found a bug that allows users of your proxy to retrieve pages from your internal web servers -- in this case, the 172.16.64.0/24 subnet. As an example, please see this link. As you will see, it returns the HTML of your Chef server (which, I assume, cannot be accessed from the internet). I wasn't able to access any of your systems. That being said, I didn't really spent time on it.
Please note that once your proxy is also able to follow redirects, it should reject redirects to internal hosts as well.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the proxy did not validate or block destination addresses that fall in private network ranges before fetching them.
Impact
A user of the proxy could read pages from internal web servers that are not meant to be reachable from the internet; the reporter did not access any other systems.
What the attacker needed
Access to the proxy service
How it was found
- Send a request to the proxy with a URL parameter pointing at an internal address.
- Observe that the proxy returns the HTML of the internal Chef 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 report has not been written yet. The Original tab links to the source.
A proxy is a service that fetches a web page on your behalf. This one let people ask it to fetch pages on the company's private network, which outsiders normally cannot reach, so private pages were exposed. The reporter only confirmed one internal page was returned and did not try to break into anything.
What is SSRF?
The server can be made to fetch an address the attacker chooses, reaching internal services, cloud metadata or other customers' data.