Skip to content
Business logic Write-up Beginner

How I Found a Bug in Minutes — No Tools, Just **Mindful Approach to Testing**!

The system generates usernames from the local part of email addresses, so if a new user signs up via OAuth with an email whose local part matches an existing username, registration is blocked. An attacker could pre-register a username to prevent others from signing up with that email prefix.

strangerwhite Follow

Published on strangerwhite.medium.com

This is my first blog, and I’m starting a series on finding bugs without using any tools. I hope you like it!

StrangeRwhite, on strangerwhite.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 does not check for username conflicts when generating usernames from email addresses during OAuth sign-up, causing a collision that blocks registration.

Impact

Legitimate users may be blocked from creating accounts via OAuth, potentially leading to lost sign-ups.

What the attacker needed

Attacker registers a username; victim uses OAuth with matching email prefix

The fix

The system should append a random number or string to the username if a conflict is detected, or allow users to modify usernames.

How it was found

  1. User1 signs up with username Jinx9 and email [redacted]
  2. User2 tries to sign up via OAuth with email [redacted]
  3. The system attempts to create username jinx9, which is already taken, and blocks registration.

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 sign up, the website often makes your username from the part of your email before the @ symbol. If someone else already has that username, the site stops you from signing up, even though your email is different. This means someone could block you from joining by taking your username first.

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.

More by strangerwhite

View all

6 more disclosed reports, best first.

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.