Skip to content
Business logic Write-up Intermediate

From an Out-of-Scope Bug to Unlocking Lifetime Premium Accounts i

The secondary email confirmation code endpoint lacked rate limiting, allowing brute-force of a 6-digit code within its extended validity window. By adding a secondary email ending in @mozilla.com and making it primary, the attacker gained premium features in Firefox Relay.

AMR Follow

Published on 0d-amr.medium.com

Hi, I’m Amr Kadry, a penetration tester and bug hunter recognized by over 45 companies, including Mozilla, CrowdStrike, Canva, and Vimeo. Today, I’m excited to share an intriguing discovery: a business logic vulnerability that, despite being out-of-scope, unexpectedly led me to gain unlimited lifetime premium access…

Amr, on 0d-amr.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

Impact

An attacker could bypass secondary email verification and, by using a @mozilla.com email, obtain unlimited lifetime premium Firefox Relay accounts.

What the attacker needed

A free Mozilla account; ability to send many requests; an email ending in @mozilla.com

How it was found

  1. Add a secondary email address to the account.
  2. Brute-force the 6-digit confirmation code using multiple parallel ffuf sessions.
  3. Once confirmed, change the secondary email to the primary email.
  4. Use an email ending in @mozilla.com to gain premium features in Firefox Relay.

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 confirmation code is a short number sent to prove you own an email address. Here, the server did not limit how many guesses someone could make, so an attacker could try many codes quickly and confirm an email they do not own. They then used a special email address to get premium features for free.

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.