Skip to content
Business logic Write-up Intermediate

How I found an Account Lockout Vulnerability Without Any Tools

The main site allowed a user to set their username to an email address that belonged to another user, creating a duplicate username in the database. This caused the victim to be permanently locked out of the course subdomain, even after resetting their password.

medium.com

Published on medium.com

Hey folks, welcome back to my “finding bugs without tools” series. This time, I stumbled on a super simple (but impactful) that led to a complete account lockout for victims that came from nothing more than exploiting a simple inconsistency in how a system handled user identity.

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

A victim could be permanently locked out of their account on the course subdomain, even after resetting their password.

What the attacker needed

Attacker can sign up on main site; victim has an account on course subdomain; victim uses email as username

How it was found

  1. Sign up on the main site with a username that is the victim's email address and your own email address.
  2. The victim tries to log in to the course subdomain with their email as username and their password.
  3. The login fails or hangs.
  4. The victim resets their password via the forgot password link.
  5. The victim tries to log in again and still cannot access the account.

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 website let one person choose a username that was actually someone else's email address. Because the course site used email addresses as usernames, the victim could no longer log in, and resetting the password did not help.

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.