{███} It is posible download all information and files via S3 Bucket Misconfiguration
- Triaged in 23 hours
- Fixed in 29 days
- Disclosed after 49 days
Summary:
Hi team! I´ve found a misconfiguration S3 Bucket: Name Bucket = ██████████
I found this vulnerability after digging deep into the js files:
████████
Description:
Apparently wanting to enter the docs folder is impossible, since it is protected or disabled so that anyone can access the information.
███████
As you can see, the information is hosted on a S3 Bucket server:
█████
But if it is possible to access and download all the information contained in the Bucket through AWS Cli:
█████████
Step-by-step Reproduction Instructions
In summary, I was able to perform the following actions:
- It is possible to completely download the S3 Bucket:
aws s3 sync s3://███████ .
████
- It is possible to list and view all files:
aws s3 ls s3://████/
████
- It is possible to Check bucket disk size:
aws s3 ls s3://████ --recursive | grep -v -E "(Bucket: |Prefix: |LastWriteTime|^$|--)" | awk 'BEGIN {total=0}{total+=$3}END{print total/1024/1024" MB"}'
████████
These actions could be carried out due to a misconfiguration of the Bucket.
Product, Version, and Configuration (If applicable)
N/A
Suggested Mitigation/Remediation Actions
Check and change your Bucket´s Policy.
Impact
Improper Access Control via S3 Bucket misconfiguration, allow obtain and download all data of the Bucket.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
What is known
A medium-severity misconfiguration bug in U.S. Dept Of Defense. HackerOne made it public on 23 November 2020.
About Misconfiguration
Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
What is Misconfiguration?
Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.