Skip to content
Misconfiguration Write-up Beginner

Folder of Fortune: My Accidental Journey into Misconfigured Clou

An S3 bucket on a dev subdomain had public listing enabled, exposing an environment file with a production GraphQL API key. Using that key, the author queried a GraphQL endpoint and retrieved real user data including emails, password hashes and SSNs.

iski Follow

Published on medium.com

Free link 🎈

Iski, 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 was misconfigured to allow public listing, and a sensitive environment file containing a production API key was stored there.

Impact

The author could access full customer PII, including emails, hashed passwords and SSNs.

What the attacker needed

Public S3 bucket listing; sensitive file in bucket; GraphQL endpoint accepts leaked key

How it was found

  1. Enumerate subdomains and filter for live hosts, finding a dev subdomain with S3 bucket listing enabled.
  2. List the bucket contents without authentication using AWS CLI.
  3. Download the environment file containing the GraphQL API URL and key.
  4. Use the leaked key to query the GraphQL endpoint and retrieve user 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 cloud storage bucket (like an S3 bucket) is a folder in the cloud. If it is set to allow anyone to list its files, anyone can see what is inside. Here, a file with a secret key was visible, and that key let the author read private user information from another system.

What is Misconfiguration?

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

More by iski

View all

186 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.