Bypass Two-Factor Authentication
Response manipulation
The response is
Try this to bypass
Status code manipulation
The response is
Try this to bypass
2FA Code in Response
Always check the response!
The response is
JS Files may contain info about the 2FA Code (Rare case)
Bruteforce the 2FA code
Missing 2FA Code integrity validation, code for any user account can be used
No CSRF protection on disabling 2FA, also there is no auth confirmation.
2FA gets disabled on password change/email change.
Clickjacking on 2FA disabling page, by iframing the 2FA Disabling page and lure the victim to disable the 2FA.
Enabling 2FA doesn't expire previously active sessions, if the session is already hijacked and there is a session timeout vuln.
2FA code reusability, same code can be reused.
Enter code 000000
Enter code "null"
References
Other writeup
Last updated