Skip to content
Business logic Write-up Beginner

The Naked-Eye Bug Hunt: Finding Flaws Without a Single Tool

The login system requires a username but offers no way to recover a forgotten username, and the password reset email does not include the username. A user who forgets their username is permanently locked out of their account.

medium.com

Published on medium.com

Welcome to the next part of my series, Finding Bugs Without Any Tools! This time, I came across a login system with an interesting issue — one that could be frustrating for users and could leave users locked out of their accounts forever.

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

Root cause

Likely the system only supports username-based login and the password reset email does not remind the user of their username, so there is no recovery path for a forgotten username.

Impact

Users who forget their username are completely locked out of their accounts with no way to recover access.

What the attacker needed

User forgets username; no username recovery option

The fix

The password reset email should include the username, and the login system should offer a way to recover a forgotten username.

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 login usually needs a username and password. If you forget your password, you can reset it, but if you forget your username, there is no way to get it back. This means you can never log in again, even if you know your password.

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.