HexBrain

Bitwarden · Report #979820

Rate limits too low for email 2FA

Validstatus
mediumseverity
11upvotes
14 Oct 2020disclosed

How it was found

NO RATE LIMIT ON 2FA CAN LEAD TO ACCOUNT COMPROMISE!

  1. Create account on vault.bitwarden.com if you don't have. 2.Setup 2FA via email 3.Logout and log in again. This time along with password you have to fill the 2fa code which is sent to the email. 4.Type Any Random number, intercept request with burp then send to intruder, mark the code position and start bruteforcing

Results:

Invalid Code Response = 400 Valid Code Response = 200

Impact

2FA acts as extra security. Even if the attacker has user credentials 2FA always protects them from accessing the user data and compromise their whole account. If the 2FA can be bruteforced it can lead to account compromise assuming that attacker already knows email and password!

This report was disclosed publicly on HackerOne and belongs to its author and the program. See the original