Auth
MFA Bypass
Multi-factor authentication fails when the second factor is not enforced consistently, can be guessed or reused, or can be skipped by changing state, endpoints or client-side values. Most real bypasses are logic flaws around the verification step (the code check itself is usually sound): the session is already usable before the code is checked, the verification endpoint is not rate limited, or a recovery or alternate login path skips the factor entirely.
- 156 payloads
- 1 file
- README on GitHub
Payloads are read from main at 35c1f2b (committed 22 Nov 2026). Project version 1.0.2.
These payloads are for authorized testing only: systems you own, authorized bug bounty programs, or controlled lab environments. Unauthorized testing is illegal.
Payload files
Use the arrow keys to move between payloads. Press Enter or C to copy the focused payload.
mfa-bypass-payloads.txt
156 payloads · 7.7 KBLoading payloads for MFA Bypass…
Common Attack Vectors#
- Direct navigation to post-login pages or API endpoints with a half-authenticated (password-only) session
- Response manipulation: the client trusts a
success,mfa_requiredor status value - Missing or weak rate limiting on the code verification and resend endpoints
- Predictable, reusable, long-lived or non-session-bound codes; the code is returned in the response
- Alternate paths that skip the factor: OAuth/SSO login, API keys, legacy or mobile endpoints, password reset, account recovery and "remember this device"
- Race conditions on verification and on enrolment
- Backup and recovery codes without limits; factor enrolment or removal without re-authentication
- Downgrade between factors (WebAuthn to SMS, TOTP to email)
Testing Approach#
Use two accounts you own. Log in with the password only and record which endpoints already work before the second factor is accepted. Then test the verification endpoint: wrong, empty, repeated, previously used and expired codes; array and object values; and whether failures are counted per account, per session and per IP. Compare the web, mobile and API entry points, and any SSO or reset flow, for the same account. Do not brute-force codes against accounts you do not own, and stop as soon as a bypass is proven.
References#
Responsible Use
All content in this reference is for authorized security testing only. Use only on systems you own or have explicit written permission to test.
- Systems and applications you own
- Authorized penetration testing engagements
- Bug bounty programs with defined scope
- Educational lab environments (DVWA, WebGoat, HackTheBox)