Skip to content
DoS Write-up Beginner

Easiest way to Fulfill Server Storage with 1-TB or 1-PB— 1-Line

A WebDAV server allowed an attacker to create a file of arbitrary size by sending a single PUT request with a Content-Range header specifying a large offset, causing the server to allocate a huge file. An attacker could fill the server's storage, leading to a denial of service.

gregk4sec Follow

Published on medium.com

Eight months ago, in May 2025, I reported a DoS issue to vendor and CVE db. CVE No assigned in July, and today noticed that this CVE has been closed.

gregk4sec with k4security Lab, on medium.com

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

What the attacker needed

Access to a WebDAV server

How it was found

  1. Send a PUT request to a WebDAV server with a Content-Range header specifying a large offset and a single byte of data.
  2. The server creates a file of the size indicated by the offset, consuming disk space.

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.

A WebDAV server lets people upload and manage files over the internet. The server trusted a header that said 'start writing at a very large position', so it created a huge empty file even though only one byte was sent. This could fill up the disk and stop the service from working.

What is DoS?

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.

More by gregk4sec

View all

2 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Denial of service

The lesson behind this report.

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.