Skip to content
SSRF Write-up Intermediate

Server-Side Request Forgery $titlelpar;SSRF)$ allows internal ports scanning

A helpdesk form's subject field was vulnerable to server-side request forgery, allowing an attacker to make the server send requests to arbitrary hosts. By observing whether DNS-only or full service responses arrived at a collaborator server, the attacker could distinguish open from closed internal ports.

medium.com

Published on medium.com

Read For Free- https://nexguardians.com/blind-ssrf-allows-internal-ports-scanning/

socalledhacker, on medium.com

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 application fetched a user-supplied URL from the subject field without validating or restricting the destination.

Impact

An attacker could map internal network services and potentially exploit exposed services, but the report only demonstrates port scanning and does not show direct access to sensitive data.

What the attacker needed

Access to the support ticket form; a collaborator server

How it was found

  1. Open the support ticket form page.
  2. Fill the form and put a Burp Collaborator URL in the subject field, then submit.
  3. Check the Collaborator and observe DNS and HTTP requests, confirming SSRF.
  4. Submit another form using the Collaborator URL with a specific port appended.
  5. If the port is open, a service-specific request (e.g., SMTP or HTTP) arrives; if closed, only a DNS query arrives.

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.

Server-side request forgery (SSRF) happens when a website takes a link or address from a user and fetches it on the server's behalf. Here, the subject field of a support form was used to make the server contact an attacker-controlled server. The attacker could then tell which internal ports were open by seeing what kind of response came back.

What is SSRF?

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

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.