Skip to content
Business logic Write-up Beginner

Account Lockout Abuse: How a Login Protection Mechanism Became a

The login page locked an account after about six failed password attempts, and the lockout could be triggered by anyone who knew a victim's email address. An attacker could therefore repeatedly lock targeted users out of their accounts, causing a denial of service.

Mazen Rady Follow

Published on mazenrady.medium.com

While testing the authentication functionality of example.com’s website, I was reviewing the login flow and looking at how the application responded to repeated failed login attempts.

Mazen Rady, on mazenrady.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 lockout is keyed only to the account identifier and can be triggered by unauthenticated requests, with no rate limiting or extra verification to slow an attacker down.

Impact

An attacker could lock multiple accounts and prevent targeted legitimate users from logging in, disrupting availability and increasing support requests.

What the attacker needed

Victim's email address known; no authentication needed

The fix

It should be fixed by adding rate limiting across IP address, account and device, and by requiring extra verification such as a CAPTCHA, email check or one-time code after repeated failures.

How it was found

  1. Test the login form with incorrect credentials for an existing account.
  2. Submit an incorrect password repeatedly.
  3. Observe that the account is locked after roughly six failed attempts.

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.

Many websites lock an account after several wrong passwords to stop people guessing. Here, anyone who knows your email address can deliberately enter wrong passwords to lock you out, so the protection itself becomes a way to block you from logging 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.