Skip to content
Business logic Write-up Beginner

One Email, Multiple Accounts: Account Duplication

The registration flow failed to normalise the email address before checking for duplicates, so an attacker could create multiple accounts using the same email by adding a plus sign prefix. This allowed unlimited account creation tied to one inbox.

scriptjacker Follow

Published on scriptjacker.medium.com

Hey Hackers, I am Parth Narula. A penetration tester, bug hunter, red teamer and overall a security researcher.

Parth Narula, on scriptjacker.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 compared the raw, unnormalised email string against existing records without trimming or canonicalising it first.

Impact

An attacker could create unlimited accounts tied to the same email inbox, potentially abusing free trials or other account-based limits.

What the attacker needed

A registered email address; ability to intercept and modify requests

The fix

The server should trim, sanitise, and normalise the email address before checking for duplicates.

How it was found

  1. Open the registration page and enter an already registered email.
  2. Observe the front-end error saying the email has already been taken.
  3. Intercept the registration request in a proxy tool.
  4. Modify the email parameter by adding a plus sign before the address.
  5. Forward the request and observe a redirect to the new site page with a logged-in cookie.

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 checks if your email is already used. Here, the check was done on the exact text you typed, so adding a plus sign at the start made it look like a new email even though it still goes to the same inbox. This let the attacker make many accounts with one email.

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 scriptjacker

View all

12 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.