Information Disclosure in AWS S3 Bucket
An AWS S3 bucket associated with Legal Robot was configured to allow public read access to its root directory listing. An attacker could read the contents of the bucket, and potentially access sensitive data if such data were uploaded in the future.
- Triaged in under an hour
- Fixed in 2 hours
- Paid in 2 hours
- Disclosed after 13 hours
Hi,
While this doesn't fall directly under the Program scope, I feel that the subject of this report is directly connected to the primary Legal Robot web properties and would like to inform your team in case this was a misconfiguration concern.
I noticed that legalrobot.amazonaws.com is configured to display a publicly readable root directory listing, and believe this AWS S3 bucket may be associated with Legal Robot systems.
It is possible to read data from this bucket; AWS GET requests (from the v2 API) can also be used to retrieve modified data views. Given that buckets with other name permutations are set to AccessDenied, this appears to be an ACL misconfiguration.
In terms of attack scenario, if Legal Robot engineers upload new sensitive material (e.g. proprietary data) to the bucket, believing that the ACL is correctly configured, there may be a risk to Legal Robot as a result, hence why all other buckets are restricted.
Unfortunately my personal AWS account is inactive, so I have been unable to confirm the ability of an unaffiliated user writing files into the legalrobot bucket.
Thanks!
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 an ACL misconfiguration that granted public read access to the bucket, as other buckets with similar names correctly return AccessDenied.
Impact
An attacker could read the bucket's contents, and if sensitive material is later uploaded, it could be exposed; the reporter could not confirm write access due to an inactive AWS account.
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 like a cloud folder for storing files. Here, the folder was set to allow anyone on the internet to see a list of its files and read them. This is a problem because if private files are later put there, anyone could read them too.
What is Misconfiguration?
Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.