Bypass 2FA/OTP
Bypassing two-factor authentication:-
- 2FA, just try to access the next endpoint directly.
- Maybe you can reuse an already used token inside the account to authenticate.
- Is the token leaked on a response from the web application?
- Using the same session start the flow using your account and the victims account.
- Check if a **mail **is sent with a **link **to reset the password and if you can reuse that **link **to reset the password as many times as you want.
- If you can generate a new OTP infinite times, the** OTP is simple enough** (4 numbers), and you can try up to 4 or 5 tokens per generated OTP, you can just try the same 4 or 5 tokens every time and generate OTPs until it matches the ones you are using.
Password-Reset == disable 2fa:-
- Create an Account and Turn On 2FA.
- Logout from that account.
- Now, Go to forget Password-Reset page.
- Change your password.
- Now try to log in.
- If you are not asked to enter a 2FA code, You can report.
Comments
Post a Comment