Unauthorized Data Upload in Alibaba Cloud Object Storage Service
An Alibaba Cloud OSS bucket allowed unauthenticated PUT requests, so anyone could upload files. The author uploaded a JSON file and then retrieved it, showing unauthorised write access to the bucket.
medium.com
Published on medium.com
Welcome again! Today, I am sharing my latest finding, where I discovered that the PUT method was enabled, allowing unauthorized data uploads to cloud storage.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the bucket's access control list or policy allowed public write (PUT) operations instead of requiring authentication.
Impact
Unauthorised users could upload data, potentially overwriting sensitive files and leading to data breaches.
What the attacker needed
None
The fix
The bucket should be configured to require authentication for all write operations and restrict public access via proper ACLs.
How it was found
- Browse to the target website and see a 403 Forbidden response.
- Use Wappalyzer to identify that the site uses Alibaba Cloud OSS.
- Capture the request in Burp Suite and send it to Repeater.
- Change the request method to PUT and add a JSON body.
- Send the request and observe a 200 OK response.
- Access the uploaded file to confirm it can be retrieved.
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 write-up has not been written yet. The Original tab links to the source.
Cloud storage buckets are like online folders. Normally only the owner can add or change files. Here the bucket was set up so that anyone on the internet could add files without logging in, which is dangerous because attackers can store harmful content or overwrite existing files.
What is Misconfiguration?
Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.