![]() |
|
OTP Bypass Techniques - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Hacks, Exploits, and Various Discussions (https://hackforums.net/forumdisplay.php?fid=45) +--- Forum: Grayhat • Purple Team • Hybrid Security (https://hackforums.net/forumdisplay.php?fid=449) +---- Forum: Beginner Hacking (https://hackforums.net/forumdisplay.php?fid=4) +----- Forum: Hacking Tutorials (https://hackforums.net/forumdisplay.php?fid=47) +----- Thread: OTP Bypass Techniques (/showthread.php?tid=6278202) Pages: Pages
1
2
|
OTP Bypass Techniques - #AfterDark - Aug 20, 2024 Sure feels good to be back on HF! Here's my contribution for being back to this amazing community. This will demonstrates several methods to bypass OTP (One-Time Password) verification during account registration or login processes using BurpSuite. These techniques can potentially lead to unauthorized access to user accounts, resulting in account takeover. This guide is intended for educational purposes to help you understand common vulnerabilities and improve your skills in penetration testing. Method 1: Response Manipulation During Registration
In BurpSuite, go to the "Proxy" tab and intercept the response to the OTP verification request. The response will look like: Code {"verificationStatus":false,"mobile":"9072346577","profileId":"84673832"}Change the response to: Code {"verificationStatus":true,"mobile":"9072346577","profileId":"84673832"}In BurpSuite, edit the intercepted response directly in the "HTTP history" tab. Forward the Response: Forward the modified response by clicking on the "Forward" button. Outcome: You will be logged into the account. Method 2: Response Manipulation During Login
Forward the Response: Forward the modified response by clicking on the "Forward" button. Outcome: You will be logged into the account. Method 3: Intercept and Modify Response Status
Forward the Response: Forward the modified response by clicking on the "Forward" button. Outcome: If you are logged in, you have successfully bypassed authentication. Method 4: Bypass OTP in Registration Forms Using Repeater
If you receive an OTP on your phone, use that OTP to register the non-existent number. Method 5: No Rate Limiting
Outcome: If you receive a 200 OK or 302 Found status code, you have bypassed the OTP. Additional Test Cases for Bypassing OTP
RE: OTP Bypass Techniques - Ecca - Aug 20, 2024 Hm, interesting, how common would you say is it for this to be exploitable? RE: OTP Bypass Techniques - D707 - Aug 20, 2024 Sorry for nob question, What do you mean by 'capture'? Taking screenshot or else? RE: OTP Bypass Techniques - Oxyd - Aug 21, 2024 (Aug 20, 2024 11:37 PM)DZ07 Wrote: Sorry for nob question, He means intercepting requests. You should read Burp Suite documentation, it might give you some valuable information. https://portswigger.net/burp/documentation/desktop/getting-started/intercepting-http-traffic RE: OTP Bypass Techniques - Pplllast - Aug 21, 2024 What are some sites this works successfully with? RE: OTP Bypass Techniques - D707 - Aug 21, 2024 (Aug 21, 2024 09:51 AM)Oxyd Wrote: He means intercepting requests. Thanks, friend. RE: OTP Bypass Techniques - #AfterDark - Aug 21, 2024 (Aug 20, 2024 11:19 PM)Ecca Wrote: Hm, interesting, how common would you say is it for this to be exploitable? Quite common actually! The trick is identifying the correct endpoint. I have come across quite a few that do the OTP logic on the client side. Using burp you can easily manipulate it. Now with the big boys such as Okta, OAuth and others its a little trickier, but then again depends on how it is configured. At the end of the day. nothing is 100% secure ;) #hacktheplanet (Aug 21, 2024 09:51 AM)Oxyd Wrote: He means intercepting requests. Correct! And thank you Oxyd. Portswigger got some really good Labs on Bug bounties as well that I would highly recommend. RE: OTP Bypass Techniques - tongken665 - Aug 24, 2024 VERY INTERESTING and will look up more this software RE: OTP Bypass Techniques - Money- - Aug 24, 2024 Good methods but very common ones. Is mostly used in bug bounties and pentesting but yea pretty much all the public checklist and articles have these. RE: OTP Bypass Techniques - 01Hidden10 - Aug 25, 2024 Very intersting , should try RE: OTP Bypass Techniques - Kaleb - Aug 25, 2024 Actual cool high quality thread. Wonder how many of these work on bigger websites. I was reading a recent paper about Russian Twitter bots powered by LLMs and during the registration they had some sort of bypass for verification of the accounts. RE: OTP Bypass Techniques - DramaKing - Aug 26, 2024 How does one even capture an SMS OTP request in BurpSuite?? 🤔 And how are SMS OTPs done client-side? #2 sounds like one is supposed to capture a response to the incorrect OTP, and repeat it back to the server after changing the false response to true. 😕 RE: OTP Bypass Techniques - Money- - Aug 26, 2024 (Aug 26, 2024 07:02 AM)DramaKing Wrote: How does one even capture an SMS OTP request in BurpSuite?? 🤔 And how are SMS OTPs done client-side? You can , Websites or mobile application just turn on burp suite when you register an account after entering the mobile field. It will capture the OTP being sent. #2 Capture the response of the false OTP and modify the response to a correct one. Usually this is done by first checking what does the correct response looks like and then you navigate back to the false one to try it out to prove the vulnerability. Right click on the request and click intercept response then from there you can modify the response and forward it to the server via Burp Suite. These are all bug bounty checklist or pentest checklist for OTP test cases , well just the common ones. I done these before in my bug hunt journey as well as my pentest engagements. ============= Btw man , your signature you found those public wifis and submit it on that site wigi.net etc? RE: OTP Bypass Techniques - DramaKing - Aug 26, 2024 (Aug 26, 2024 07:10 AM)Money- Wrote: Btw man , your signature you found those public wifis and submit it on that site wigi.net etc? Okay then. Have to do my own testing then. Yes, I've been on wigle, since before I started my pentest journey. RE: OTP Bypass Techniques - Money- - Aug 26, 2024 (Aug 26, 2024 07:16 AM)DramaKing Wrote: Okay then. Have to do my own testing then. Yes, I've been on wigle, since before I started my pentest journey. I sent you a convo previously btw , you read or you just dint bother replying lol? |