Skip to content
SSRF Write-up Intermediate

Blind SSRF via XST — How a Simple Misconfiguration Can Lead to

The tester found that the server accepted the HTTP TRACE method and reflected a script payload in the response headers, and that some user-controlled inputs caused the server to make outbound requests whose responses were not shown. An attacker could use the server as a proxy to reach internal services or cloud metadata, though the text does not demonstrate that this was achieved.

Pujitha Guntumadugu Follow

Published on medium.com

While performing security testing on a website, I identified a Blind Server-Side Request Forgery (SSRF) vulnerability triggered through an enabled HTTP TRACE (Cross-Site Tracing — XST) method.

Pujitha Guntumadugu, 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 server left the HTTP TRACE method enabled and did not filter or validate outbound requests made from user-controlled input.

Impact

The server could be forced to request internal resources such as localhost, cloud metadata endpoints or internal ports, which may allow internal port scanning, access to admin panels or credential theft, but the text does not show any of this being achieved.

What the attacker needed

TRACE method enabled on the server; user-controlled input that triggers outbound requests; out-of-band callback channel for detection

The fix

The TRACE method should be disabled, outbound traffic should be restricted with egress filtering and URL allowlists, private IP ranges and cloud metadata endpoints should be blocked, and network segmentation should be used.

How it was found

  1. Notice that the application accepts the TRACE method.
  2. Send a request with a header containing a script payload and observe it reflected in the response headers.
  3. Observe the script payload executing.
  4. Test user-controlled inputs and see that they cause outbound server-side requests.
  5. Use out-of-band monitoring to confirm the server-side interaction without seeing a response.

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.

A server-side request forgery (SSRF) bug lets an attacker make the server send requests to places the attacker cannot reach directly, such as internal machines. 'Blind' means the attacker cannot see the reply, only confirm that a request happened. Here the server also answered a rarely needed HTTP method called TRACE, which echoes the request back, and the author says this helped with the attack.

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.