Skip to content
Race condition Disclosed report Intermediate

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.

Akash Hamal Follow

Originally disclosed on HackerOne

Medium 4.8 View original
  • 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.

The original report as published on HackerOne, by akashhamal0x01. 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

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.

More by Akash Hamal

View all

10 more disclosed reports, best first.

More from HackerOne

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Race conditions

The lesson behind this report.

Parallel requests reach a state the code assumed could not happen: a coupon used twice, a limit overrun, a check skipped.