Skip to content
Misconfiguration Disclosed report Beginner

HTTP PUT method enabled

The web server accepted HTTP PUT requests, allowing an attacker to upload arbitrary files. An attacker could place a file on the server and access it via a URL.

emitrani Follow

Originally disclosed on HackerOne

Critical View original
  • Triaged in under an hour
  • Fixed in 2 hours
  • Disclosed after 6 months

Hi security team,

Summary: It is possible to upload files to the server using the PUT method

Steps To Reproduce:

  1. I used the following request:
PUT /emitrani.txt HTTP/1.1
Host: ratelimited.me
Content-Length: 10
Connection: close

emitrani POC

Now a file exists at https://ratelimited.me/emitrani.txt with contents of the put request.

Impact

Anyone can upload files to the server.

Regards, Eray

The original report as published on HackerOne, by emitrani. 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

Impact

Anyone can upload files to the server.

What the attacker needed

None

How it was found

  1. Send a PUT request to the target server with a chosen filename and content.
  2. Access the uploaded file via its URL to confirm it exists.

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.

Web servers use different HTTP methods like GET to fetch pages and POST to submit forms. The PUT method is meant for uploading or replacing files, but if it is left enabled without authentication, anyone can write files to the server. This report shows that a simple PUT request created a new text file that could then be viewed online.

What is Misconfiguration?

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

More by emitrani

View all

6 more disclosed reports, 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.