Skip to content
Account takeover Disclosed report Beginner

S3 ACL misconfiguration

The S3 bucket for legalrobot.com had an ACL that allowed any AWS user to list and copy all files. An attacker could download all media files stored in the bucket.

baseballislife Follow

Originally disclosed on HackerOne

  • Disclosed after 9 months

Summary:

Legal Robot's s3 bucket [legalrobot.com] is misconfigured. The ACL allows me to access and copy all files. This means that I could go through and copy all the media files on the s3 bucket. I did not attempt to delete any files as I did not want to go too far and affect your operations.

Steps to Reproduce:

  1. Generate a random AWS key from the AWS Console
  2. Perform the following proof-of-concept:
$ aws s3 ls s3://legalrobot
                      PRE email/
                      PRE video/
2015-12-28 21:39:20    536901 Dan-sq-gray.jpg
2015-12-28 21:39:21     546125 Dan-sq.jpg
2015-10-06 21:35:54     363060 Gizmo-Foldable.pdf
2016-02-26 12:37:45      22945 Megan.jpg
2015-12-08 01:58:52     420926 logo_huge.png
2015-12-08 01:59:04      14714 logo_text_huge.png

copy: aws s3 cp s3://legalrobot/video/meeting-room/MP4/Meeting-Room.mp4

I've noticed that this particular video file is being played in the background of your homepage.

Remediation:

Update your ACL to the proper configuration, preventing other users' from potentially modifying or accessing your s3 bucket.

The original report as published on HackerOne, by baseballislife. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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 the S3 bucket ACL granted public read and list permissions to all AWS users.

Impact

An attacker could access and copy all files in the S3 bucket, including media files.

What the attacker needed

An AWS account

How it was found

  1. Generate a random AWS key from the AWS Console
  2. Use the AWS CLI to list the contents of the S3 bucket
  3. Copy a file from the bucket to verify access

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 permissions (ACL) decide who can read or write files. Here, the permissions were too open, so the reporter could list and download the files.

What is Account takeover?

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.

More from Legal Robot

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Account takeover

The lesson behind this report.

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.