Skip to content
DoS Write-up Beginner

Bypass no rate limit & get Application-Level DDoS Vulnerability

The OTP sending endpoint enforced a limit of 30 requests per user account but did not account for other request parameters, so changing the User-Agent header on each request bypassed the limit. An attacker could flood a victim's inbox with OTP emails and potentially overload the server, causing errors or a denial of service.

medium.com

Published on medium.com

Ever wondered how some apps fail to properly secure their OTP verification process? Well, I stumbled upon an interesting case on [redacted].com where the No Rate Limit protection was basically non-existent, allowing unlimited OTP requests just by tweaking the User-Agent header.

Frostynxth, 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 rate limit was keyed only on the user account and ignored other request attributes such as the User-Agent header, so varying that header produced a fresh allowance each time.

Impact

An attacker could flood a victim's inbox with OTP emails and could potentially overload the backend, causing delays or a denial of service; the text only claims a possible 500 error, not a confirmed outage.

What the attacker needed

A free account on the target site; ability to intercept and modify requests; a victim email address to target

The fix

Rate limiting should also be enforced per IP address and combined with device fingerprinting and server-side validation of headers, rather than relying on the user account alone.

How it was found

  1. Sign up on the site and request an OTP.
  2. Intercept the OTP request with Burp Suite.
  3. Change the User-Agent header on the request.
  4. Automate repeated requests with Burp Intruder or a script, varying the User-Agent.
  5. Observe that the server keeps sending OTPs despite the limit.

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 someone can do something, like request a login code, in a period. Here the cap was tied only to the user account, so the server did not notice when the same person kept asking again while pretending to be a different browser each time. That let an attacker send unlimited code emails to a victim and put extra load on the server.

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.