AWS S3 bucket writable for authenticated aws user
An S3 bucket named udemy-maven was found to be writable by an authenticated AWS user, allowing files to be uploaded and deleted. An attacker could delete existing files or upload malicious content that a team member might open unknowingly.
- Triaged in 39 hours
- Fixed in 9 days
- Disclosed after 9 months
Hey,
I found an open S3 Amazon bucket udemy-maven. While I can’t confirm if you own it or not, it appears that it is publicly writable using the aws cli.
When I write to udemy-maven, I get: move: ./test.txt to s3://udemy-maven/test.txt
And also when I remove file, I get: delete: s3://udemy-maven/test.txt
Assuming you own it, the security issue is that someone could delete files or write something malicious into the bucket and someone on your team unknowingly opening it.
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
Impact
An attacker could delete files or upload malicious content that a team member might open unknowingly.
What the attacker needed
AWS CLI installed
The fix
The bucket's write access should be restricted, though the report offers no specific fix.
How it was found
- Use the AWS CLI to write a test file to the bucket.
- Use the AWS CLI to delete the test file from the bucket.
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.
The researcher found the bucket appeared publicly writable, so an outsider could add or remove files.
What is Misconfiguration?
Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.