Skip to content
Misconfiguration Write-up Beginner

Playing With s3 — Leaks

An S3 bucket belonging to the target was left publicly listable, exposing large amounts of private user pictures to anyone. An attacker could list and download those files without authentication.

Aswin Thambi Panikulangara Follow

Published on systemweakness.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).

Aswin Thambi Panikulangara, on systemweakness.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 access control policy or ACL allowed public listing and reading instead of restricting access to authorised users.

Impact

Anyone could list and access the bucket, exposing large volumes of private user pictures; the author could not write to it, so the exposure was read-only.

What the attacker needed

In-scope domain with S3 buckets; bucket left publicly listable; no authentication needed

The fix

The bucket's permissions should be restricted so that public listing and reading are disabled; the report states it was fixed.

How it was found

  1. Enumerate subdomains of the in-scope domain.
  2. Fuzz subdomains against the S3 hostname pattern to find buckets.
  3. Check archived URLs to confirm a bucket belongs to the target.
  4. List the bucket with the AWS CLI to see whether it is public.

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.

Amazon S3 is cloud storage where files (called objects) live in containers called buckets. If a bucket's permissions are set wrongly, anyone on the internet can list its contents and download the files inside. Here the bucket held private user photos and was open to the public.

What is Misconfiguration?

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

More by Aswin Thambi Panikulangara

View all

2 more disclosed reports, best first.

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.