How a Simple MFA Test Turned Into an Interesting Meta Authentication Research Case
The MFA verification flow allowed a large number of incorrect submissions without meaningful restrictions, and previously generated OTP codes remained valid for over 24 hours and multiple codes could be used simultaneously. An attacker could potentially brute-force or reuse old codes to bypass MFA, though the text does not confirm a full account takeover.
Published on medium.com
Like many security researchers, I occasionally spend time reviewing authentication flows on platforms that I personally use. Most of the time, nothing interesting happens.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely missing or weak rate limiting on the MFA verification endpoint and improper invalidation of old one-time codes, allowing multiple codes to remain valid simultaneously for an extended period.
Impact
An attacker could potentially brute-force the MFA code or reuse an old code to bypass the second factor, though the text does not confirm a full account takeover and notes the behaviour was not considered an immediate security issue.
What the attacker needed
Access to the MFA verification page; a valid username and password; victim's account or own account for testing
The fix
The underlying behaviour was fixed after responsible disclosure, though the text does not detail the specific fix.
How it was found
- Review the platform's MFA verification flow.
- Notice that the verification page tolerates many incorrect submissions without restrictions.
- Observe that previously generated codes remain valid for more than 24 hours.
- Notice that multiple previously generated codes remain valid simultaneously until one is successfully used.
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 write-up has not been written yet. The Original tab links to the source.
Multi-factor authentication (MFA) adds a second step to logging in, often a six-digit code sent to your phone. This report found that the system did not limit how many wrong guesses someone could make, and old codes stayed usable for a long time. That could let an attacker guess or reuse a code to get into an account.
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.