HTTP PUT method enabled
The server accepted a PUT request and allowed a file to be uploaded, which an attacker could use to place files on the web server.
- Disclosed after under an hour
Hi security team,
Summary: It is possible to upload files to the server using the PUT method
Steps To Reproduce: I used the following request: PUT /emitrani.txt HTTP/1.1 Host: ratelimited.me Content-Length: 10 Connection: close
Now a file exists at https://ratelimited.me/emitrani.txt with contents of the put request.
Impact
impact
Attachments


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
What the attacker needed
None
How it was found
- Send a PUT request to the server for a chosen filename.
- Include the desired file content in the request body.
- Access the uploaded file at its public URL.
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 PUT method is an HTTP command for uploading or replacing a file on a server. Here the server did not restrict it, so anyone could send a PUT request and create a new file on the website.
What is Misconfiguration?
Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.