Open Aws Amazon S3 Buckets
Two S3 buckets owned by Mapbox had public-read ACLs; one was intentionally public, but the other was not and was changed to private. An attacker could read the contents of the unintentionally public bucket.
Originally disclosed on HackerOne
- Triaged in 14 hours
- Fixed in 3 days
- Paid in 3 days
- Disclosed after 4 days
Summary by the program
Security researcher @saad_ahmed reported two Mapbox owned S3 buckets with public-read ACL. One of these, mapbox-js, was public-read by design, the other however was not and subsequently was switched to a private ACL. Thank you again @saad_ahmed, we appreciate you keeping Mapbox security in mind.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely a misconfigured S3 bucket ACL that granted public-read access to a bucket that was not intended to be public.
Impact
Anyone could read the contents of the unintentionally public bucket until its ACL was changed to private.
What the attacker needed
None
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 report has not been written yet. The Original tab links to the source.
An S3 bucket is cloud storage. Its ACL is a permission list. If it is set to public-read, anyone on the internet can download the files inside. Here, one bucket was meant to be public, but another was not, so its files were exposed until the setting was changed.
What is Misconfiguration?
Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.