Skip to content
SSRF Write-up Intermediate

SSRF Bug Leads To AWS Metadata Exposure

A webpage screenshot feature was vulnerable to server-side request forgery, allowing an attacker to make the server request internal resources. The author used this to bypass filters and access AWS metadata, potentially leaking credentials.

Raymond Lind Follow

Published on medium.com

How can you leverage an SSRF (“Server Side Request Forgery”) vulnerability to evade filters and leak internal AWS credentials on a web application? Today I will discuss how I managed to utilize a webpage screenshot feature to bypass certain filters and exfiltrate server side AWS Metadata.

Raymond Lind, 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 screenshot feature did not properly validate or restrict the URLs it was asked to fetch, allowing requests to internal addresses.

Impact

An attacker could access AWS metadata and potentially obtain credentials, though the text does not detail the extent of the leak.

What the attacker needed

Access to a screenshot feature

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 making requests to other servers on its behalf. Here, a feature that takes screenshots of web pages could be pointed at internal addresses, including a special cloud service that holds sensitive information. This could let an attacker steal cloud credentials.

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 Raymond Lind

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.