Skip to content
Business logic Write-up Beginner

Chaining rate limiting for account lockout

The forgot-password feature on an Android app reset the account password directly from the request instead of sending a reset email, and the endpoint had no rate limiting. An attacker could repeatedly submit the request to change the password every second, locking the legitimate user out of their account.

Sandip Oli Follow

Published on web.archive.org

#### Sandip Oli

Sandip Oli, on web.archive.org

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 password-reset endpoint performed the reset directly from the request without a confirmation step and without rate limiting.

Impact

An attacker could repeatedly reset a victim's password, preventing the legitimate user from signing in at all.

What the attacker needed

Android app of a public bug bounty program; Attacker knows the victim's email

How it was found

  1. Request a password reset for a target email address.
  2. Notice the password is reset immediately rather than an email being sent.
  3. Intercept the request and send it to the intruder tool.
  4. Repeat the request rapidly to change the password every second.

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.

When you forget a password, a site usually emails you a link to set a new one. Here the app skipped that step and changed the password straight away from the request itself. Because nothing slowed down repeated requests, someone could keep changing the password over and over so the real owner could never log in.

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.