Skip to content
SSRF Write-up Intermediate

How I gained access to chef, docker, AWS, and MongoDB instances in a single request

An SSRF in Yahoo's small business platform let an attacker make the server screenshot internal domains, including the AWS metadata endpoint.

samcurry.net

Published on samcurry.net

The following article details the successful exploitation of a server sided request forgery vulnerability in Yahoo's small business platform. If you have any questions feel free to tweet me @samwcyo.

The author, on samcurry.net

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 service failed to validate or restrict the URLs it fetched, allowing requests to internal IP addresses and domains, and the site editor allowed HTML injection that could be used to trigger such requests.

Impact

An attacker could use the SSRF to access internal services, including the AWS metadata endpoint.

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.

This report describes a bug where a website's screenshot feature could be tricked into fetching internal resources, like a secret cloud metadata page.

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.