Skip to content
SSRF Disclosed report Intermediate

Internal Blind Server-Side Request Forgery (SSRF) allows scanning internal ports

The save-URL feature on getpocket.com would fetch a user-supplied URL, including localhost addresses, and returned different responses depending on whether the target port was open or closed. An authenticated attacker could use this to scan internal ports and enumerate services for reconnaissance.

harshdranjan Follow

Originally disclosed on HackerOne

Informational View original
  • Disclosed after 7 months

Summary:

Blind SSRF reports on services that are designed to load resources from the internet is Out of scope but this is a Internal Blind SSRF report so should be a Valid find as I am reading the localhost not someone else server. I found a Blind SSRF issue that allows scanning internal ports on https://getpocket.com/saves , the server will give different response the request to all the closed ports and we can use this in our advantage. I also confirm this by doing a scan on my network for open ports and closed ports thus proving that the open and closed ports show different response

Steps To Reproduce:

  1. Go to https://getpocket.com/saves? as an Authenticated person
  2. Click on the Plus Icon at the Top and enter the URL "https://127.0.0.1:1"
  3. intercept this request using a Proxy like BURP and send the request to the Repeater Tab [Intruder Tab if you want to scan ]
  4. change the ports to see different results , You will see different response for the different ports which shows which one is open and which one is closed.

Such as https://127.0.0.1:22 Open https://127.0.0.1:21 close https://127.0.0.1:86 Open https://127.0.0.1:88 Open https://127.0.0.1:87 close

Supporting Material/References:

https://hackerone.com/reports/1300585

##PoC Scanning the Internal system

getpocket-bssrf-internal.mp4 From the original on HackerOne

Proving that the Open ports gives greater then 3000 length response

getpocket-poc-ssrf-3200.mp4 From the original on HackerOne

Impact

This vulnerability can be used for reconnaissance. Attacker can enumerate services and launch attacks against them Example: Port Scan by different response from the server

The original report as published on HackerOne, by harshdranjan. 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 URL-fetching feature did not block requests to loopback or internal addresses, and its error handling revealed whether a port was open.

Impact

An attacker could use the differing responses to enumerate internal services and plan further attacks, though the report only demonstrates port scanning, not access to the services themselves.

What the attacker needed

An authenticated account; ability to submit a URL to the saves feature

How it was found

  1. Log in to getpocket.com and open the saves page.
  2. Use the plus icon to submit a URL pointing at a localhost address and port.
  3. Intercept the request with a proxy and send it to Repeater or Intruder.
  4. Change the port number and compare the responses to tell open ports from closed 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.

When a website fetches a link you give it, the server makes the request, not your browser. If it lets you point that request at the server's own internal addresses, you can use it to probe machines that are not reachable from the internet. Here the response length differed for open and closed ports, which leaks information about what is running 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 by harshdranjan

View all

7 more disclosed reports, best first.

More from Mozilla

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.