2FA bypass
1.Response manipulation
1) Enter correct OTP
2) Intercept response
3) Enter wrong OTP
4) Intercept response and chaneg it with correct response2.Status Code Manipulation
If Status Code is 4xx
Try to change it to 200 OK and see if it bypass restrictions
3.Direct bypass
1) just try to access the next endpoint directly (you need to know the path of the next endpoint).
2) If this doesn't work, try to change the Referrer header as if you came from the 2FA page.
example :
site.com/login/otp_verification
site.com/login/new_password4.Referrer Check Bypass
Try to navigate to the page which comes after 2FA or any other authenticated page of the application.
If there is no success, change the refer header to the 2FA page URL.
This may fool application to pretend as if the request came after satisfying 2FA Condition5.Developer’s Check
https://shahjerry33.medium.com/otp-bypass-developers-check-5786885d55c6
6.X-Forwarded-For
7.Session permission
8.Reusing token
9.Sharing unused tokens
10.Reveal any kind of OTP codes in the response
11.OTP bypass by Brute force (no Rate Limit)
12.CSRF/Clickjacking
13.Bypass 2FA arbitrary input
13.Change request method
Last updated