Internal Ports Scanning via Blind SSRF
The web resource URL endpoint accepted arbitrary URLs and fetched them server-side without validation, letting an attacker probe internal hosts and ports. A successful fetch returned the target's page title and a 200 status, while failures returned 404, so internal services could be mapped.
- Triaged in 2 hours
- Fixed in 2 hours
- Disclosed after 11 days
Introduction:
I found a Blind SSRF issue that allows scanning internal ports.
How to reproduce:
- Login
- Send the request
https://infogram.com/api/web_resource/url?q=[TARGET_URI] - Look up the response. If valid, it returns status code 200 and the website's title will be exposed, or 404 for otherwise.
For demonstration, I try scanning the localhost with a limited port range, then found some available ports: 80, 81, 6000.
And here is the PoC:
GET /api/web_resource/url?q=http://0:6000/ HTTP/1.1
...
Response:
HTTP/1.1 200 OK
...
[{"title":"Create Infographics, Charts and Maps - Infogram","description":"Infogram is an easy to use infographic and chart maker. Create and share beautiful infographics, online charts and interactive maps. Make your own here.","url":"http://0:6000/"}]
As the filter does not validate the input, it allows the attacker to make the GET request to the internal network.
In conclusion, I think internal addresses should not be allowed.
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
Impact
An attacker could use the server as a proxy to scan internal ports and learn which services are reachable, though the report only demonstrates port discovery and title disclosure, not further access.
What the attacker needed
A logged-in account
The fix
The endpoint should validate and restrict destination URLs so that internal addresses and non-public hosts are not allowed.
How it was found
- Log in to the application.
- Send a request to the web resource URL endpoint with the target URI as the query parameter.
- Observe the response: a 200 with the page title indicates a reachable service, while a 404 indicates otherwise.
- Repeat across a range of internal ports to discover open ones.
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 server-side request forgery (SSRF) bug means the server can be tricked into making requests on the attacker's behalf. Here the site had a feature that fetched a URL to show its title, but it did not check where that URL pointed, so an attacker could ask it to fetch addresses on the internal network that outsiders cannot reach. The different responses (200 with a title versus 404) acted like a signal that revealed which internal ports were open.
What is SSRF?
The server can be made to fetch an address the attacker chooses, reaching internal services, cloud metadata or other customers' data.