Possible Blind Writing to S3 Bucket
The reporter found an S3 bucket that appeared to belong to the target and was able to upload a file to it using the AWS CLI, though they could not list the bucket contents to confirm ownership. If the bucket is owned by the target, an attacker could write arbitrary files that internal systems might trust, potentially leading to malware installation on internal machines.
- Fixed in 14 hours
- Paid in 13 hours
- Disclosed after 19 months
Hi All, I noticed that you are using S3 and I believe I may have found one of your buckets and am able to write to it. However, I can not list the files in the bucket and such can not be 100% sure you own it. If you don't, I'd really appreciate being able to close this report myself or have you close it as informative to avoid the negative reputation/signal loss but respect your decision either way.
##Description
I noticed you are using the bucket reverb-files-staging. As such, I found reverb-ssh. Using the AWS CLI as an authenticated user, I am able to write to the bucket with the comment aws s3 cp teespring_buckets s3://reverb-ssh --- please excuse the file name, I uploaded the wrong test file.
After running the command I get upload: ./teespring_buckets to s3://reverb-ssh/teespring-buckets instead of an access denied message.
##Vulnerability I'm reporting as I believe you likely own the bucket and if so, an attacker can write arbitrary files to the bucket which your team may trust seeing as the bucket appears to be for internal use. As a result, it could be possible to install malware on internal reverb machines to escalate an attack.
Please let me know if you have any questions. Pete
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's permissions allowed write access to an authenticated AWS user who should not have had it, and the bucket may not have been properly restricted to the owning account.
Impact
If the bucket is owned by the target, an attacker could write arbitrary files that internal systems might trust, potentially allowing malware installation on internal machines, though the reporter could not confirm ownership or list the bucket.
What the attacker needed
An authenticated AWS user; knowledge of the bucket name; bucket owned by the target (unconfirmed)
How it was found
- Notice the target uses S3 and identify a bucket name.
- Use the AWS CLI as an authenticated user to copy a file to the bucket.
- Observe that the upload succeeds instead of returning an access denied message.
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 reporter found a cloud storage folder (an S3 bucket) that they think belongs to the company. They were able to upload a file into it, even though they could not see what else was inside. If the company uses that folder for internal files, someone could put harmful files there that the company's computers might trust.
What is Misconfiguration?
Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.