Skip to content
SSRF Write-up Intermediate

They Said Our Health Matters. My Privacy Didn’t.

A UAT environment was vulnerable to server-side request forgery, which allowed access to an unhardened cloud metadata service and yielded credentials with broad permissions over storage and virtual machines. Those credentials exposed real patient data, including diagnostic reports and imaging scans.

medium.com

Published on medium.com

Have you ever hunted a target with no official Vulnerability Disclosure Program? No safe harbor, no promised reward, no guarantee that reporting everything ethically would leave you with anything but a “thank you,” if that.

Chirag Goel, 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 UAT server allowed SSRF and the cloud instance still had an older, unprotected metadata service enabled without a token or hop limit.

Impact

The credentials had broad permissions across cloud storage and virtual machines, and storage buckets held real patient data such as diagnostic reports and imaging scans.

What the attacker needed

No official vulnerability disclosure program; access to a UAT environment; cloud instance with unprotected metadata service

The fix

The text says the researcher helped close more than a dozen additional issues, but it does not state the specific fix for the SSRF or metadata exposure.

How it was found

  1. Find a UAT environment among the target's endpoints and subdomains.
  2. Identify an SSRF flaw on the UAT server.
  3. Use the SSRF to reach the cloud instance metadata service.
  4. Obtain temporary credentials from the metadata service.
  5. Use those credentials to access cloud storage and confirm patient data was exposed.

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) is when a server can be tricked into making requests to places it should not reach. Here, that let the attacker ask the cloud platform for temporary passwords, which then opened storage holding patient records.

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.