I Typed 000000 and the App Thought MFA Was Already On
The frontend trusted a modified API error response and displayed MFA as enabled, even though no authenticator app had been registered. An attacker could make a user believe their account had a second factor when it did not.
infosecwriteups.com
Published on infosecwriteups.com
I haven’t opened an authenticator app. I haven’t scanned anything.
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 the frontend treated the API response as proof that MFA setup succeeded, without any server-side confirmation that a real authenticator had been registered.
Impact
A user could believe their account has MFA protection when it does not, leaving it protected only by a password.
What the attacker needed
Ability to intercept and modify responses; victim uses the app's MFA setup flow
The fix
The backend should require a verified TOTP token exchange before returning any success state, and the client should only render confirmed server state.
How it was found
- Start MFA setup so the app generates a QR code.
- Submit an invalid OTP such as six zeros.
- Intercept the server's error response in a proxy.
- Replace the error body with a fake success message.
- Forward the modified response to the browser.
- Observe the UI showing MFA as enabled.
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, like a code from a phone app, to protect an account. Here, the app's screen showed MFA as turned on after the author changed a server error message in their proxy tool. In reality, no phone app had been linked, so the account still had only a password.
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.