Skip to content
Info disclosure Disclosed report Beginner

Bypass Email verification for monitoring at `monitor.mozilla.org`

The API endpoint that lists a user's monitored email addresses also returned the email verification tokens for unverified addresses. An attacker could use a leaked token to verify an email address they do not own and start monitoring it without the owner's permission.

0d_amrr Follow with last0ne

Originally disclosed on HackerOne

Medium 5.3 View original
  • Triaged in 20 hours
  • Fixed in 2 months
  • Paid in 12 days
  • Disclosed after 4 months

Summary:

I've found that I can Bypass Email verification from the leaked verfication token at /api/v1/user/breaches At monitor.mozilla.org

Steps To Reproduce:

  1. Add email address for monitoring
  2. it needs Email verification from the email owner
  3. Go to /api/v1/user/breaches , you'll find the whole data for the verified emails and also the unverified emails with the leaked of its verification token

██████

  1. Go to the verification endpoint /api/v1/user/verify-email?token=<verification token>&utm_campaign=verified-subscribers&utm_content=account-verification-email&utm_source=fx-monitor&utm_medium=email and add the verification token in token parameter
  2. BOOM, you can now monitoring that email without any permissions from the owner of that email

POC:

████

Impact

Summary:

The attacker can monitor all the email of his vectims without permissions from the owner of that email to verify that

The original report as published on HackerOne, by 0d_amrr. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Impact

An attacker could monitor any email address they added, without the owner's permission, by using the leaked verification token.

What the attacker needed

Attacker adds victim's email address

How it was found

  1. Add an email address for monitoring.
  2. Note that email verification from the address owner is required.
  3. Request the user breaches API endpoint to see verified and unverified emails, including leaked verification tokens.
  4. Use the leaked token on the email verification endpoint.
  5. The email is now monitored without the owner's permission.

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 report has not been written yet. The Original tab links to the source.

When you add an email address to a monitoring service, the service sends a verification link to prove you own that address. This report found that the service's own API was handing out the secret code from that link to anyone who asked, so an attacker could skip the email step and verify someone else's address.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More from Mozilla

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.