Skip to content
Access control Disclosed report Beginner

No ACL on S3 Bucket in [https://www.██████████/]

An S3 bucket lacked ACLs, allowing anyone to download and move files without authentication. An attacker could delete, move, or access any file in the bucket.

0xsnowmn Follow

Originally disclosed on HackerOne

  • Triaged in 9 hours
  • Fixed in 10 days
  • Disclosed after 2 months

Summary: Hi team!,

  • i was able to move and download all file in s3 bucket that's under ████ control cuz it didn't has ACL

Step-by-step Reproduction Instructions

  • first we will try to access all files via browser by go to this s3.amazonaws.com/files.████████

Now We Will try to download all files on the s3 bucket via aws cli:

  1. type this in ur terminal aws s3 sync s3://files.█████████/ . --no-sign-request --region ██████
  2. u will see that all files and folders starts to download!

Now We will try to move a file into s3 bucket

  1. i created a file and called the file yghonem14.html
  2. now we will type this in terminal aws s3 mv yghonem14.html s3://files.██████/ --no-sign-request --region ███████

PoC

  • For more Proof i uploaded a file and u can access it by this url https://s3.amazonaws.com/files.███/yghonem14.html ████████

Impact

  • Attacker will be able to delete or move or access any file on the s3 bucket, Thanks!.

The original report as published on HackerOne, by 0xsnowmn. 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 was configured with public read and write permissions, and no ACL or bucket policy restricted access.

Impact

An attacker could delete, move, or access any file in the S3 bucket.

What the attacker needed

None

How it was found

  1. Access the bucket files via a browser using the S3 URL.
  2. Use the AWS CLI to sync all files from the bucket to the local machine without signing the request.
  3. Create a local file to test uploading.
  4. Use the AWS CLI to move the file into the bucket without signing the request.
  5. Access the uploaded file via its public S3 URL to confirm write 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 a cloud storage folder. It had no access rules, so anyone on the internet could open it, take files, or put new files in. The reporter showed this using simple commands that do not need a password.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More by 0xsnowmn

View all

3 more disclosed reports, best first.

More from U.S. Dept Of Defense

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.