2FA Bypass on Bugzilla.mozilla.org using IP rorate techniques similar to bruteforce.
The Bugzilla two-factor authentication endpoint rate-limited repeated attempts from one IP address, but the same request succeeded when sent from a different IP address. An attacker could therefore brute-force the six-digit code by rotating source IP addresses.
- Fixed in 6 days
- Paid in 20 days
- Disclosed after 6 days
Hello There !
The Bugzilla 2FA endpoint/portal suffers from 2FA bypass using Ip Rotate technique.
At First When i tried to bruteforce the 6 digit code, I got Rate Limited. But when i sent the same request From Different Ip Address. The request got succeded. There are some awesome writeups regarding ip rotate techniques. This technique has been previously used on facebook, Instagram and Many more Programs on Hackerone too.
These are the Required resources to understand this issue.
https://hackerone.com/reports/819930
https://threatpost.com/researcher-bypasses-instagram-2fa/146466/
https://portswigger.net/bappstore/2eb2b1cb1cf34cc79cda36f0f9019874
The POC video of Bypassing 2FA has been attached along the report.
PS. Do Read those writeups to better understand this issue.
Thank You.
Best Regards.
Mozill Security Team
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 rate limit on the 2FA verification endpoint was applied per source IP address rather than per account or session, so rotating IPs avoided the limit.
Impact
An attacker with valid credentials could bypass the second factor by rotating IP addresses and guessing the six-digit code, leading to account takeover.
What the attacker needed
Valid username and password; ability to send requests from many IPs
How it was found
- Attempt to brute-force the six-digit 2FA code and observe that the request is rate limited.
- Send the same request from a different IP address and observe that it succeeds.
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 asks for a short code from your phone in addition to your password. The site tried to stop guessing by blocking too many tries from one address, but it only counted per address. By switching addresses, an attacker could keep guessing the code.
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.