Skip to content
Business logic Write-up Intermediate

Blocking Users from Registration

The registration endpoint allowed account creation without a password and without verifying the OTP, leaving the account in an unverified state. An attacker could block a victim's email from registering by creating an account with that email, preventing the legitimate user from signing up.

patidarbhuwan44 Follow

Published on medium.com

I was hunting on a public program so just started with some basic recon and Info gathering stuff , at this point i mostly try to find the Origin-IP of target Because i don’t want to mess-up with Firewalls. for this

Bhuwan Patidar, 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 server did not validate that the OTP was correct and did not require a password before creating the account record.

Impact

An attacker could block a specific email address from registering, disrupting new user sign-ups and potentially targeting individual users.

What the attacker needed

No account needed; victim's email address known

How it was found

  1. Send a registration request with an email, an empty OTP, and no password field.
  2. Observe that the server returns 200 OK and creates the account.
  3. Try to log in and see that login fails because the email is not verified.
  4. Attempt to reset the password, which succeeds, but login still fails due to unverified email.

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 site usually checks that you own the email by sending a code. Here, the site let someone create an account with just an email and an empty code, skipping the password step. Because the email is now taken, the real owner can no longer register with it.

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.