Skip to content
Business logic Write-up Beginner

How I Earned $300 from a Single Rate Limiting Vulnerability — Twice!

The login endpoint lacked rate limiting, allowing unlimited password attempts. After a fix added rate limiting, the author bypassed it by changing the email's letter case, which the backend treated as different users.

whitehat29 Follow

Published on medium.com

Recently, while exploring a new target in a bug bounty program, I uncovered a fascinating rate-limiting vulnerability—not once, but twice on the same endpoint! This little journey earned me $300, taught me a lot about persistence, and reminded me how creative thinking can lead to big wins.

Tanishx0h, 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

Impact

An attacker could perform unlimited password guessing against accounts, potentially leading to account takeover.

What the attacker needed

A login endpoint; valid email and password for testing

How it was found

  1. Capture a login request with an incorrect password.
  2. Send multiple requests rapidly and observe no 429 response.
  3. After the fix, send 7 to 10 login attempts and observe 429 responses.
  4. Try bypass techniques such as changing User-Agent, X-Forwarded-For, or HTTP method.
  5. Change the email's letter case (e.g., [redacted]) and enter the valid password.
  6. Observe successful login, bypassing the rate 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 login page should limit how many times someone can try a password, to stop guessing. Here, it did not, so an attacker could try many passwords quickly. Even after a limit was added, changing the capitalisation of the email address tricked the system into thinking each attempt was a new user, so the limit never applied.

What is Business logic?

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.

More by whitehat29

View all

2 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Business logic flaws

The lesson behind this report.

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.