The One-Word Impact Statement That Won $25,000
A researcher found an SSRF in HackerOne's analytics PDF generator by injecting an iframe into a template element, allowing the renderer to fetch internal resources and read AWS credentials. The report was submitted with a one-word impact statement and received a $25,000 bounty after being fixed within 24 hours.
November 23, 2023, 3:34 in the morning. A researcher is testing HackerOne’s own platform and finds something he was told doesn’t exist — an SSRF through an injected iframe in the analytics PDF generator, on a vector two separate hackers had told him was impossible.
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 PDF renderer fetched external resources from user-controlled HTML without restricting access to internal networks.
Impact
An attacker could read internal files and AWS credentials, potentially leading to further compromise.
What the attacker needed
Access to the analytics PDF generation feature; ability to inject an iframe into a template element
The fix
The report was fixed in under 24 hours after a conversation with triage.
How it was found
- Inject an iframe tag into the template element while a PDF analytics report generates.
- The renderer fetches the iframe, allowing access to internal files including AWS credentials.
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.
An SSRF (Server-Side Request Forgery) is when an attacker makes a server send requests to places it shouldn't, like internal systems. Here, a PDF generator fetched a malicious iframe, letting the attacker read internal files and cloud credentials. The report was extremely short but still paid because the impact was obvious.
What is SSRF?
The server can be made to fetch an address the attacker chooses, reaching internal services, cloud metadata or other customers' data.