Data Breach Dilemma: I Found 1000+ Leaked IDs, But a Robot Wouldn
A publicly accessible Google Cloud Storage bucket exposed over a thousand scanned Indonesian national identity cards. An attacker could download these files without authentication, revealing personal data such as names, addresses, and ID numbers.
Published on infosecwriteups.com
It was one of those calm evenings where the rain tapped gently against the window, setting the perfect backdrop for deep focus. I had some work to finish, so I let one of my background scripts run quietly on the side — a custom setup using gsutil to check for publicly accessible Google Cloud Storage buckets.
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 bucket's access control list was misconfigured to allow all users to read its contents.
What the attacker needed
None
How it was found
- Run a script to list publicly accessible Google Cloud Storage buckets.
- Identify a bucket with public read access.
- List the contents of the bucket's folders.
- Download a sample file from the visitors folder.
- Observe that the file is a scanned national identity card.
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 is like an online folder. If it is set to allow anyone to read it, then anyone who finds the folder's address can download everything inside. Here, the folder contained scanned identity cards, so personal information was exposed to anyone who looked.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.