Playing With s3 Leaks
An S3 bucket belonging to the target was publicly listable, exposing private user pictures. An attacker could access and download these files without authentication.
Aswin Thambi Panikulangara Follow
Published on aswinthambi.blogspot.com
My name is Aswin Thambi Panikulangara (R0074G3N7). In this writeup, I will be sharing my technique of enumerating s3 buckets, finding misconfigurations, and recent bug I found in a public program(P1).
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
Impact
Private pictures of users could be accessed publicly, leading to a data breach.
What the attacker needed
S3 bucket with public list permissions; Knowledge of bucket name
The fix
The report was fixed after being triaged as critical.
How it was found
- Enumerate subdomains of the target domain.
- Fuzz for S3 buckets using the subdomains as wordlist.
- Identify an open bucket among the results.
- Confirm the bucket belongs to the target by checking historical URLs.
- List the bucket contents using AWS CLI.
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 S3 bucket is a cloud storage folder. If it is misconfigured to allow public listing, anyone can see and download its contents. Here, the bucket held private user photos that anyone could access.
What is Misconfiguration?
Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.