Bypass two-factor authentication
The password reset page did not limit the number of incorrect two-factor authentication codes that could be entered, allowing an attacker who controls the victim's email to brute-force the 2FA code and take over the account. The reporter manually entered 20 wrong codes and was still able to reset the password.
- Triaged in 6 days
- Fixed in 15 days
- Paid in 15 days
- Disclosed after 20 months
If a user set 2FA, a user has to enter verification code when a user tries to reset password.
Under the "Password Reset" page, a user can enter wrong two-factor authentication code many times. I said "many times" because your bug bounty policy stated...
Exclusions
Issues found through automated testing
So, I may not be allowed to brute force in order to check how many times a user can enter wrong 2FA codes. I didn't use any automated tools and didn't brute force for my testing.
I tested that I could still reset my password after I entered wrong 2FA codes 20 times manually. It seems that a user can brute force 2FA codes.
-----step to reproduce-----
-
A user sends a password reset message to user's registered email.
-
Go to "Password Reset" page from #1's message.
-
Set a new password and Brute force two-factor auth code
After a user reset password, a user will go to slack's home page. From that page a user can do anything.
Two factor authentication is another layer of protection. Even if a user leaked email address and password, a user will be protected by additional security(2FA).
If an attacker hacked victim's email, an attacker will be able to take over slack's 2FA enabled account by brute forcing 2FA code on password reset page.
Recommendation: If a user entered wrong 2FA codes many times, a user will be blocked temporary.
Attachments

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 password reset flow did not rate-limit or lock out repeated incorrect 2FA code submissions.
Impact
An attacker who has compromised the victim's email could take over a 2FA-enabled account by brute-forcing the code on the password reset page.
What the attacker needed
Attacker controls victim's email; victim has 2FA enabled; manual guessing of 2FA codes
The fix
The service should temporarily block a user after too many wrong 2FA codes.
How it was found
- Send a password reset message to the registered email.
- Open the password reset page from that message.
- Set a new password and repeatedly submit wrong two-factor authentication codes.
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 step at login, usually a short code from an app or SMS. If a website lets someone guess that code over and over without slowing them down, the second step becomes useless. Here, someone who already had the victim's email could keep guessing the code on the password reset page until they got in.
What is Account takeover?
Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.