Skip to content
SSRF Disclosed report Beginner

SSRF in /cabinet/stripeapi/v1/siteInfoLookup?url=XXX

The siteInfoLookup endpoint accepted a user-supplied URL and made a server-side request to it, returning different response lengths depending on whether the target host and port were reachable. An attacker could use this to map internal IP addresses and open ports.

eliel Follow

Originally disclosed on HackerOne

Medium 5.3 View original
  • Triaged in 1 hour
  • Fixed in 32 days
  • Disclosed after 33 days

Summary:

SSRF vulnerability allows mapping the internal network.

Steps To Reproduce:

It is possible to run internal requests with the siteInfoLookup service.

GET /cabinet/stripeapi/v1/siteInfoLookup?url=http://10.0.0.100:8080 HTTP/1.1
Host: my.stripo.email

Based on the response we know if the ip / port is available or not.

The port is not accesible in that IP.

Content-Length: 0

The port is accesible in that IP.

Content-Length: 114 (>0)

Supporting Material/References:

I was able to identify some internal IP address and open ports: 10.0.0.2:8080 10.0.0.3:8080 10.0.0.4:8080 10.0.0.5:8080 <- NOT ACCESIBLE

Impact

It is possible to use this vulnerability to map the internal network.

The original report as published on HackerOne, by eliel. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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 server-side URL fetch did not restrict which hosts or IP ranges could be requested, and the response size leaked reachability.

Impact

An attacker could map the internal network by identifying reachable internal IP addresses and open ports.

What the attacker needed

Access to the siteInfoLookup endpoint

How it was found

  1. Send a request to the siteInfoLookup endpoint with a URL pointing to an internal IP and port.
  2. Observe the Content-Length of the response: zero means the port is not accessible, greater than zero means it is accessible.
  3. Repeat for other internal IPs and ports to map the network.

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.

The website had a feature that fetched information about a URL you gave it. The server did the fetching, so you could give it an address inside the company's private network instead of a public website. By checking whether the reply was empty or not, you could tell if that internal address and port existed, which is like scanning the network from the inside.

What is SSRF?

The server can be made to fetch an address the attacker chooses, reaching internal services, cloud metadata or other customers' data.

More from Stripo Inc

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Server-side request forgery (SSRF)

The lesson behind this report.

The server can be made to fetch an address the attacker chooses, reaching internal services, cloud metadata or other customers' data.