<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Jayesh Sharma on Medium]]></title>
        <description><![CDATA[Stories by Jayesh Sharma on Medium]]></description>
        <link>https://medium.com/@jayeshsharma1999?source=rss-2f1a610de50------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*iSyMYQ414Dk7gJSwkZieXA@2x.jpeg</url>
            <title>Stories by Jayesh Sharma on Medium</title>
            <link>https://medium.com/@jayeshsharma1999?source=rss-2f1a610de50------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 11:48:23 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@jayeshsharma1999/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[OTP Bypass Leads to Account Takeover!]]></title>
            <link>https://jayeshsharma1999.medium.com/otp-bypass-leads-to-account-takeover-f1f5a0addc3d?source=rss-2f1a610de50------2</link>
            <guid isPermaLink="false">https://medium.com/p/f1f5a0addc3d</guid>
            <category><![CDATA[bug-bounty-tips]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[bug-bounty-writeup]]></category>
            <category><![CDATA[recon]]></category>
            <dc:creator><![CDATA[Jayesh Sharma]]></dc:creator>
            <pubDate>Tue, 15 Dec 2020 07:32:59 GMT</pubDate>
            <atom:updated>2020-12-15T08:05:23.601Z</atom:updated>
            <content:encoded><![CDATA[<p>Hey Guys,</p><p>It’s <a href="https://twitter.com/blaa1999"><strong>Jayesh Sharma</strong></a> here. I am new to Bug Bounties and it’s my first write-up so forgive my mistakes, if any. :P</p><p>So while hunting i got a website which have “User account takeover! ” Security compromised. Yes you read right, This was an grave vulnerability which i have found recently during my bug bounty hunting in India’s Financial Platform.</p><p>An “<strong>OTP</strong>” is more secure then a static password, especially a user-created password, which is typically weak. In this particular website, login method was via OTP only but in LOGIN/SIGNUP their was no static password functionality, there was only OTP. This was quite strange to see!</p><p>What is someone could brute force it and bypass OTP authentication? That what makes it vulnerable and targeting the same, I carried out this critical piece of hunt. Let’s Start!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/393/1*yiUaGHbLkQfHVcjqcn490w.png" /><figcaption>Login Page</figcaption></figure><p>While browsing through the website for some other vulnerabilities, i went to “Login page” where it asked me to enter mobile number and as i entered the number, it send me an OTP and after filing the right OTP in the form, it redirected me to “Welcome home! (Dashboard page)”</p><p>I firstly jumped into the most common and basic attack to bypass OTP-brute forcing attack to see if there is any rate limit or captcha being implemented but as i phrased it “most common and basic”, so it was not consecutive wrong attempts.</p><p>Let’s dive into this more. When i entered the wrong OTP, i got the following as the response</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/512/1*9pCdo8OO0aZrzkRWyPYozw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/333/1*BBtY9edkreaszci7zGFCkA.png" /><figcaption>Wrong OTP HTTP Response</figcaption></figure><p><strong>So i decide to watch the response that i get if i enter correct OTP</strong></p><ul><li>I enter the correct OTP and make a request</li><li>Then i do intercept the response request</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*TBZ8LG6wPQZ9Y_TgsHXv_w.png" /></figure><p><strong>And got the correct response given Below~</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/384/1*1RjjVohEKktAg6puovKT4Q.png" /><figcaption>Correct OTP Response</figcaption></figure><h4>So i just copied the correct OTP response!</h4><ul><li>Enter my Friend number with wrong OTP and make a request after make request and do intercept the request. (i just replace my friend number in the place of my number in response).</li><li>And manipulate the response with Invalid OTP to correct OTP response and forwarded.</li></ul><p><strong>**BOOM** </strong>I<strong> </strong>redirected to the “create company profile.”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/852/1*hL1qwHJ4eQiOOvdnV2aD2w.png" /></figure><p><strong>I was able to get into any user profile and able to create new company. This is how i could bypass OTP authentication which also leads to account take over for the user and able to completely compromise his detail with just mobile number.</strong></p><p><em>Report details -</em></p><p>27-Jul-2020 — Bug Reported to the concerned company.</p><p>30-Jul-2020 — Bug was marked fixed.</p><p>30- Jul-2020— Re-tested and confirmed the fix.</p><p>01-Aug-2020 — Rewarded by the company .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qjTqh9G0FXWvWGdFFFwBEA.png" /><figcaption>YAYYYYYYYYY!!!!!!!!</figcaption></figure><p>This was all about this interesting finding. ☺</p><p>Thank you reading :)</p><p><a href="https://medium.com/u/8744fcb81b57"><strong>Nimish Jain</strong></a><strong>,</strong> Thanks for helping me out!:)</p><p><strong>My Twitter</strong> :- <a href="https://twitter.com/blaa1999">https://twitter.com/blaa1999</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f1f5a0addc3d" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>