Skip to content
Misconfiguration Write-up Beginner

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.

hacdoc Follow

Published on medium.com

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.

ஜெய், on medium.com

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

  1. Used CloudEnum to search for S3 buckets related to the target domain.
  2. Visited the bucket in a browser and confirmed it was open.
  3. Configured AWS CLI with credentials.
  4. Attempted to upload a file to the bucket using AWS CLI.
  5. Upload succeeded, confirming write access.
  6. 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.

Similar reports

View all

Same bug class and techniques, clearest first.

Security misconfiguration

The lesson behind this report.

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.