Email Verification Bypass using Race Condtion
The email verification process could be bypassed, allowing an attacker to enable two-factor authentication without verifying their email. The issue was initially a race condition requiring multiple rapid requests, but later worked with a single request.
Originally disclosed on Bugcrowd
- Accepted in 7 days
- Fixed in 13 days
- Disclosed after 13 days
Summary by arthbajpai277
We found Out a vulnerability in their email verification process and was able to bypass it and turn on 2fa(Step After Email verification), this vulnerability started as Race condition where user had to send a bugged request to server multiple times in a short amount of time to make this work, but Later We found that it works by sending Just Single time as well
Thanks to Wilson sir and Pinterest team
Regards Arth Bajpai
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
Root cause
Likely the server did not properly enforce that email verification had completed before allowing the next step, and a race condition let requests slip through.
Impact
An attacker could bypass email verification and enable two-factor authentication, potentially locking out or interfering with the legitimate account owner.
What the attacker needed
A user account; ability to send crafted requests
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.
Email verification is a step where a site checks you own the email address you signed up with. Here, the check could be skipped, so someone could move on to the next step, turning on two-factor authentication, without proving they owned the email. Two-factor authentication is an extra login code, usually from a phone app.
What is Race condition?
Parallel requests reach a state the code assumed could not happen: a coupon used twice, a limit overrun, a check skipped.