Bypassing HackerOne 2FA due to race condition
A race condition in HackerOne's 2FA reset process allowed an attacker to send multiple parallel reset requests. Cancelling one request left the others active, which could lead to unauthorised 2FA removal after 24 hours.
Originally disclosed on HackerOne
- Triaged in 13 days
- Fixed in 4 months
- Paid in 21 days
- Disclosed after 4 months
Summary by the program
A race condition vulnerability was identified in HackerOne's 2FA reset process. The issue allowed an attacker to initiate multiple parallel 2FA reset requests, resulting in multiple reset notification emails. When a user canceled one reset request, the remaining requests would stay active, potentially leading to unauthorized 2FA removal after 24 hours.
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 reset process did not treat multiple parallel requests as a single operation, so cancelling one did not invalidate the others.
Impact
An attacker could potentially remove a victim's 2FA after 24 hours, but the text does not confirm this was achieved.
What the attacker needed
Ability to trigger 2FA reset; multiple parallel 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.
Two-factor authentication (2FA) is a second check, like a code on your phone, when you log in. A race condition happens when a system handles several requests at the same moment and gets confused. Here, sending many reset requests at once meant cancelling one did not cancel the others, so the account could lose its extra protection.
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.