Skip to content
Business logic Write-up Beginner

From Low to Medium - How a simple email injection earned me some

The registration page blocked certain email formats, but the 'resend confirmation email' page accepted them, allowing users to bypass the email uniqueness restriction. An attacker could create accounts with email addresses that should have been rejected.

Umanhonlen Gabriel Follow

Published on infosecwriteups.com

This is a cool business logic flaw. While hunting on the xyz website, I discovered that users could bypass the email-uniqueness restriction during account creation by manipulating email formatting (for example, using dots or character addressing).

Umanhonlen Gabriel, on infosecwriteups.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 inconsistent validation or normalisation of email addresses across different endpoints.

Impact

Users could bypass the initial restriction on account creation by using the resend email page, potentially creating accounts with email addresses that should have been blocked.

What the attacker needed

Access to registration page; access to resend email page

How it was found

  1. Go to the registration page and try to register with an unwhitelisted email format; it is blocked.
  2. Register with a whitelisted email format; it is accepted.
  3. On the 'resend token/email not received' page, change the email to the unwhitelisted format.
  4. The system accepts the unwhitelisted email and sends a confirmation 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, a website may check that your email address is not already used. Here, one page did that check but another page that resends the confirmation email did not, so you could get around the rule. This is a business logic flaw: the rules are applied inconsistently.

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 Umanhonlen Gabriel

View all

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