Skip to content
Misconfiguration Disclosed report Beginner

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.

hach3ro Follow

Originally disclosed on HackerOne

Critical View original
  • 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

Fixed.png
Fixed.png From the original on HackerOne
oo.PNG
oo.PNG

The original report as published on HackerOne, by hach3ro. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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

  1. Send a PUT request to the server for a chosen filename.
  2. Include the desired file content in the request body.
  3. 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.

More by hach3ro

View all

1 more disclosed report, best first.

More from RATELIMITED

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Security misconfiguration

The lesson behind this report.

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.