How I found My first P1 Bug which ended up ….$?
An AWS S3 bucket belonging to a company was publicly readable, allowing anyone to list and download its contents, including directories with cash receipts and profile photos. The author found it via a tool and reported it, but it was marked as a duplicate and later fixed after escalation.
Published on medium.com
https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FDRRbmfkh1uTySKberW%2Ftwitter%2Fiframe&displayname=Giphy&url=https%3A%2F%2Fgiphy.com%2Fgifs%2Fcomplex-will-smith-sneaker-shopping-martin-lawrence-DRRbmfkh1uTySKberW&image=https%3A%2F%2Fmedia3.giphy.com%2Fmedia%2Fv1.Y2lkPTc5MGI3NjExbGd1ZDFta…
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 S3 bucket was misconfigured to allow public read access, either through bucket policies or ACLs.
Impact
The exposed data included cash receipts and profile photos of potentially millions of users, which could lead to a data breach and leak of personally identifiable information.
What the attacker needed
Knowledge of the bucket name; no authentication required
The fix
The company fixed the bucket misconfiguration after the author escalated to the CTO.
How it was found
- Find the company's S3 bucket name.
- Use a tool like Lazys3 to check if the bucket is publicly accessible.
- Run an AWS CLI command to list and download the bucket contents without authentication.
- Observe directories such as cashreceipts/ and profilePhotos/ exposed.
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 like a cloud folder for storing files. If it is set to allow public reading, anyone on the internet can list and download its contents. Here, the bucket contained sensitive files like receipts and profile photos, which should have been private.
What is Misconfiguration?
Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.