Ignoring a Firebase Public Configuration?
A Firebase storage bucket was misconfigured to allow public listing of files, exposing over 75,000 shipping labels containing customer names, phone numbers, addresses, and order IDs. An attacker could access this sensitive data without authentication.
medium.com
Published on medium.com
Hey everyone 👋, I’m m0n3m, and today I want to take you through a story that still stings — a vulnerability that could’ve earned me $10,000, but instead turned into one of the most valuable lessons of my bug hunting journey.
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 Firebase storage security rules allowed public read/list access, and the client SDK could list files without authentication.
Impact
An attacker could access over 75,000 shipping labels containing real customer names, phone numbers, addresses, and order IDs, but the report was rejected because the Firebase project belonged to a third-party vendor and was out of scope.
What the attacker needed
Knowledge of the subdomain; access to the Firebase config; no authentication needed
How it was found
- Found a subdomain named outlet.target.com during recon.
- Used urlscan.io to see loaded JavaScript files.
- Pulled historical URLs with waybackurls and filtered for .js files.
- Scanned JavaScript files with Mantra and found a Firebase configuration in fire-base.js.
- Wrote a script using the Firebase SDK to list stored files and explored the prefix parameter.
- Accessed the ShippingLabels/ folder and found over 75,000 shipping labels with customer 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 Firebase storage bucket is like a cloud folder for an app's files. If it is not locked down, anyone can list and download its contents. Here, the bucket allowed public listing, so private shipping labels with customer details were exposed.
What is Misconfiguration?
Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.