U.S. Dept Of Defense · Report #809212
No ACL on S3 Bucket in [https://www.██████████/]
Validstatus
mediumseverity
4upvotes
14 May 2020disclosed
How it was found
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:
- type this in ur terminal
aws s3 sync s3://files.█████████/ . --no-sign-request --region ██████ - u will see that all files and folders starts to download!
Now We will try to move a file into s3 bucket
- i created a file and called the file
yghonem14.html - 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!.