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.
- 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:
- Add email address for monitoring
- it needs Email verification from the email owner
- 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
██████
- 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=emailand add the verification token intokenparameter - 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
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
- Add an email address for monitoring.
- Note that email verification from the address owner is required.
- Request the user breaches API endpoint to see verified and unverified emails, including leaked verification tokens.
- Use the leaked token on the email verification endpoint.
- 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.