Skip to content
Business logic Write-up Beginner

How a Simple Rate Limit Issue Earned Me €500

The password reset endpoint enforced a rate limit that could be bypassed by appending an encoded slash to the API path, allowing unlimited reset link requests. The author used this to send 100 reset emails in four seconds and combined it with a list of company email addresses to argue for greater impact.

medium.com

Published on medium.com

My name is Aditya, aka Enterlectury. This is my second write-up, about a rate limit bypass that helped me earn my first bounty.

Enterlectury, 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 to the exact request path, so a path variant with an encoded trailing slash was treated as a different endpoint and escaped the counter.

Impact

An attacker could send unlimited password reset emails, which could be used to spam users or harass them at scale; the text does not claim account takeover.

What the attacker needed

Access to the reset password page; a proxy such as Burp Suite

How it was found

  1. Open the login page through a proxy and log in to explore the site.
  2. Log out and request a password reset link several times until a 429 rate limit response appears.
  3. Test whether the block is tied to the email, IP or session.
  4. Append an encoded slash to the reset API path and resend the request to bypass the limit.
  5. Send many reset requests in a short window to confirm the bypass.

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, such as request a password reset, in a short period. Here the cap could be dodged by slightly changing the address of the request, so the server treated each request as new. That let the author trigger far more reset emails than intended.

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.

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.