Skip to content
DoS Write-up Beginner

Unlimited Image Uploads?! How I Found a Missing Rate Limit Vulner

The image upload endpoint had no rate limiting or upload quotas, so an authenticated user could automate hundreds of uploads that the server accepted. An attacker could fill storage, raise costs and potentially cause a denial of service.

Rahul Masal Follow

Published on medium.com

Sometimes bug bounty hunting feels like hacking. Sometimes it feels like science.

Rahul Masal, 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

Root cause

Likely the application did not enforce request rate limits, upload quotas or file upload frequency restrictions on the media upload endpoint.

Impact

An attacker could upload unlimited files automatically, fill server storage, increase infrastructure costs and potentially cause application downtime through automated denial of service.

What the attacker needed

An authenticated account; ability to send many requests

The fix

The upload endpoint should enforce rate limiting, upload quotas, file size restrictions and abuse detection.

How it was found

  1. Log in and go to the Add Media section.
  2. Upload one image and capture the upload request in Burp Suite.
  3. Send the request to Burp Intruder and set a numbered filename payload from 1 to 500.
  4. Start the attack and observe that every request returns 201 Created.

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 rate limit is a cap on how many times you can do something in a set time, like a bouncer counting people into a club. Here the upload feature had no cap, so a script could send hundreds of files and the server stored every one. That can fill up disk space and make the site slow or unavailable for everyone.

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.

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.