Skip to content
SSRF Write-up Intermediate

The $8,000 Kubernetes SSRF Bug Bounty: How One Hidden HTTP Header Revealed an Entire Internal…

An SSRF vulnerability allowed the backend to make requests to internal destinations, but standard cloud metadata endpoints were unreachable. A response header exposed Kubernetes pod and service details, enabling the researcher to identify internal services and argue for higher severity.

asadmohsin760 Follow

Published on medium.com

What if an SSRF vulnerability that initially appeared ordinary could actually expose an organization’s internal Kubernetes infrastructure?

Asad Mohsin, 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 failed to validate user-supplied URLs before making backend requests, and an HTTP response header leaked internal Kubernetes infrastructure details.

Impact

The SSRF could expose internal Kubernetes services and potentially allow disruption of a workload, though the text does not confirm actual unauthorised access or execution.

What the attacker needed

SSRF-vulnerable feature; ability to view HTTP response headers

How it was found

  1. Confirm the application can make outbound requests via SSRF.
  2. Try common cloud metadata endpoints and localhost, which return nothing useful.
  3. Inspect full HTTP responses and notice a header with Kubernetes pod IP, workload identifier, and service name.
  4. Use that information to identify internal service endpoints and administrative components.
  5. Document the exposed internal endpoint and its potential to stop a service component without executing it.

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) is when a website can be tricked into fetching a URL chosen by an attacker, potentially reaching internal systems. Here, the usual cloud metadata addresses did not work, but a response header leaked Kubernetes pod and service names, helping the researcher map the internal network.

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 asadmohsin760

View all

3 more disclosed reports, 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.