How i get my bounty $$ in YesWehack within 5mins?
An S3 bucket associated with the target domain allowed unauthenticated file uploads. An attacker could upload arbitrary files, potentially leading to data corruption or malware distribution.
I’m Jai, aka Hadoc. I’m back with another interesting story!.In this blog post, I’ll explain how I discovered a valid bug on YesWeHack using reconnaissance techniques.
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's permissions were misconfigured to allow public write access.
Impact
An attacker could upload malicious files to the bucket, potentially leading to data corruption, malware distribution, or ransomware attacks.
What the attacker needed
AWS CLI installed and configured; Knowledge of target domain
The fix
The bucket's permissions should be restricted to prevent public write access.
How it was found
- Used CloudEnum to search for S3 buckets related to the target domain.
- Visited the bucket in a browser and confirmed it was open.
- Configured AWS CLI with credentials.
- Attempted to upload a file to the bucket using AWS CLI.
- Upload succeeded, confirming write access.
- Changed the ACL to public-read to view the uploaded file publicly.
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 public folder in the cloud where files are stored. The researcher found that anyone could upload files to this folder without needing a password. This is dangerous because attackers could put harmful files there or mess with existing data.
What is Misconfiguration?
Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.