Skip to content
SSRF Write-up Intermediate

Blind SSRF Leads to Internal Service and IP Discovery with Multiple Security Impacts

A blind SSRF vulnerability in an endpoint accepting a signedUri field allowed the attacker to make the server send requests to arbitrary URLs. This leaked internal Kubernetes and Istio metadata, enabled internal IP and service discovery via timing and status codes, and could potentially cause denial of service by hanging worker threads.

0xm0r4d Follow

Published on 0xm0r4d.medium.com

While analyzing JavaScript files, I discovered an interesting endpoint that included a JSON field called signedUri. At first, directly accessing the endpoint didn’t work as expected, since it required additional parameters.

Mohamed M Mourad, on 0xm0r4d.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 did not validate or restrict the URLs supplied in the signedUri field, allowing requests to internal or arbitrary destinations.

Impact

The vulnerability could allow an attacker to discover internal services and IP addresses, leak sensitive metadata, and potentially cause denial of service by exhausting server resources.

What the attacker needed

Ability to send requests to the vulnerable endpoint; Knowledge of required parameters from JavaScript analysis

How it was found

  1. Analyse JavaScript files to find an endpoint with a signedUri field and determine required parameters.
  2. Send a request with a Burp Collaborator URL in the signedUri field and observe a 200 response and incoming DNS/HTTP requests.
  3. Inspect the HTTP request headers to find internal service mesh metadata.
  4. Measure response times to distinguish live internal IPs (0.5-1.5s) from dead ones (~10s).
  5. Test internal service URLs with specific endpoints (e.g., /clusters) to identify live services via 200 status codes.
  6. Use a wordlist of common internal service endpoints with Burp Intruder to enumerate services.

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.

The application had a feature that fetched a URL provided by the user. The attacker could supply a URL pointing to an internal server or their own server, and the application would make the request. This let the attacker see internal network details and potentially disrupt the service.

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 0xm0r4d

View all

1 more disclosed report, best first.

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.