2FA user enumeration via password reset
During password reset, users with 2FA enabled were prompted for a second factor, making the reset harder and potentially allowing an attacker to enumerate which accounts had 2FA. Existing rate-limiting partly mitigated the enumeration.
Originally disclosed on HackerOne
- Triaged in 5 hours
- Fixed in 2 days
- Paid in 2 days
- Disclosed after 32 days
Summary by the program
While going live with additional 2FA options, a security researcher discovered that during password reset, users that had enabled 2FA were prompted for a second factor. This made the password reset more difficult, and could have allowed enumeration of users that had enabled 2FA. To some degree, 2FA enumeration was mitigated by existing rate-limiting. This also resolves #249467, which had the same root cause.
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 learn which accounts had 2FA enabled, though rate-limiting reduced how much enumeration was possible.
What the attacker needed
None
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 proof of identity, such as a code from a phone. The password reset page behaved differently for accounts with 2FA, so someone could tell which accounts had it switched on. That difference is called user enumeration.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.