Skip to content
SSRF Write-up Advanced

Blind SSRF Isn’t Blind If You Build the Channel Back

An analytics report generator rendered attacker-supplied markup into a PDF, and the rendering machine made outbound requests chosen by the attacker, returning the results inside the generated report. The chain could reach internal files and AWS services holding temporary credentials.

rajnamdev Follow

Published on rajnamdev.medium.com

Every hunter knows the graveyard line: unable to verify impact. Your callback server saw the DNS hit, so you know the request fired.

Raj Namdev, on rajnamdev.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 PDF rendering pipeline fetched remote resources from unsanitised markup, and a template name was interpolated unsanitised into an error string that fed the same pipeline.

Impact

The attacker could make the server fetch internal files and AWS services holding temporary credentials, with the results returned inside the generated report.

What the attacker needed

Access to the analytics report generator

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. Here the report feature turned text into a PDF, and the tool doing that conversion fetched whatever the attacker put in the document, then showed the result back in the PDF. That visible result is what turns a 'blind' request into a provable 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.

More by rajnamdev

View all

4 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.