Skip to content
Business logic Write-up Beginner

How to Bypass Company Email Feature While Creating an Account

The signup flow enforced a company-email-only rule only on the initial form, then trusted an email address supplied in the URL on the next page. An attacker could change that parameter to a personal email and complete account creation, receiving the verification email.

josuofficial327 Follow

Published on medium.com

In this writeup I am gonna help you to find an easy bug. Its really a beginner friendly bug.

Josekutty Kunnelthazhe Binu, 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 trusted the email value passed in the URL on the second signup step instead of re-checking the company-email restriction or binding it to the first step.

Impact

An attacker could create an account with a personal email address despite the company-email-only restriction, though some programmes treat this as low severity or informational.

What the attacker needed

Access to the signup page; a personal email address

The fix

The server should re-validate the company-email restriction on the second step and not trust an email address supplied in the URL.

How it was found

  1. Open the signup page and try a personal email address.
  2. Observe the error requiring a company email.
  3. Enter a company email address and proceed to the next page.
  4. Note the email parameter in the URL of the next page.
  5. Replace that parameter with a personal email address and refresh.
  6. Complete the remaining details and receive the verification 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.

A website wanted only work email addresses to sign up, but it checked that rule on the first page only. The next page took the email address straight from the web address (the URL), so anyone could edit it to a personal address and finish signing up.

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 josuofficial327

View all

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