When a Simple Google Dork Led to an S3 Misconfiguration and Sensitive Data Exposure
An S3 bucket used for file storage allowed unauthenticated directory listing, and the files it held could be downloaded through an API endpoint without any signed token. An attacker could enumerate and download Excel exports containing members' personal data such as names, phone numbers, emails and addresses.
This time I want to share another bug bounty story from March 2025.The issue was quite simple: an S3 misconfiguration that led to sensitive data exposure.Interestingly, this bug didn’t come from complex recon or advanced exploitation techniques. It started with something very simple: Google dorking.
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 configured to allow public listing and the application served stored files through an unauthenticated endpoint instead of generating short-lived signed URLs.
Impact
An unauthenticated attacker could list and download member export files containing full names, phone numbers, email addresses, gender, city, referral codes, addresses and dates of birth.
What the attacker needed
No account needed; internet access; knowledge of the bucket name
The fix
The bucket should be configured to block public listing and the application should serve stored files only through short-lived signed URLs with proper access control.
How it was found
- Search Google for indexed PDF files under the target domain and subdomains.
- Notice a result whose URL path suggests an S3 bucket name.
- Use the AWS CLI without credentials to list the bucket and confirm directory listing is enabled.
- Browse the listing and find an export directory containing Excel files.
- Try direct S3 downloads, which are blocked, then access the same files through the API endpoint.
- Download an Excel file and confirm it contains member personal data.
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 company stored files in cloud storage (an S3 bucket) and left it open so anyone could list what was inside. The files themselves were also served by the website without asking for a login or a temporary access link, so a stranger could download them. The files turned out to contain personal details of members.
What is Misconfiguration?
Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.