Skip to content
Business logic Write-up Intermediate

No Risk? Think Again — The DoS Twist That Led to $$$

The platform allowed an attacker to register an account with a victim's email, then remove all email addresses from that account, leaving the email associated with an inaccessible account. This prevented the victim from registering a new account or resetting their password, causing a denial of service.

medium.com

Published on medium.com

For those who want a quick summary before diving into the full write-up: During my bug bounty hunting journey, I encountered a severe logical flaw in the email management system of a platform. This vulnerability allowed an attacker to completely prevent a user from registering an account using their own email, leading…

0xNayel, 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 system allowed removal of all emails from an account without preventing the last email from being deleted, and registration checks still saw the email as taken even though it was no longer linked to an accessible account.

What the attacker needed

Attacker can register with victim's email; no email verification required

The fix

The platform should prevent deletion of the last remaining email, require confirmation before removing an email, and enforce email verification before new account registration.

How it was found

  1. Attacker registers an account using the victim's email address.
  2. Attacker modifies account settings to remove the primary email flag.
  3. Attacker deletes all email addresses from the account using an API request.
  4. Victim tries to register with their email but fails.
  5. Victim tries to reset password but fails.
  6. Attacker can still log in with the pre-set password.

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.

An attacker could sign up using someone else's email address, then delete all emails from that account. Because the system still remembered the email was used, the real owner could no longer sign up or reset their password, effectively locking them out of using their own email on the platform.

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.