<?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 Laganparihar on Medium]]></title>
        <description><![CDATA[Stories by Laganparihar on Medium]]></description>
        <link>https://medium.com/@lagan_?source=rss-ae428598a134------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*5mvI5SUa1CezjpbN</url>
            <title>Stories by Laganparihar on Medium</title>
            <link>https://medium.com/@lagan_?source=rss-ae428598a134------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 00:36:11 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@lagan_/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[How I Bypassed Authentication And Earned a 300$ Bounty]]></title>
            <link>https://medium.com/@lagan_/how-i-bypassed-authentication-and-earned-a-300-bounty-e6c4b6554b8b?source=rss-ae428598a134------2</link>
            <guid isPermaLink="false">https://medium.com/p/e6c4b6554b8b</guid>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[bug-bounty-tips]]></category>
            <category><![CDATA[bug-bounty-writeup]]></category>
            <category><![CDATA[infosec]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Laganparihar]]></dc:creator>
            <pubDate>Mon, 20 Apr 2026 20:24:37 GMT</pubDate>
            <atom:updated>2026-04-20T20:27:11.668Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello everyone, in this article I will be sharing a detailed walkthrough of an authentication bypass vulnerability I identified during my testing of a public program on Bugcrowd.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0tzOOjCJHTZWdIn9nzuivA.png" /></figure><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FDXWoi9qCAbrq4vcqoC%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2Fv1.Y2lkPTc5MGI3NjExdnBlbGY5YXVsYzRjNGF6aHg5Y3dsZ28xZDZvMzY5a3FvZ2Q3NzB6ZyZlcD12MV9naWZzX3NlYXJjaCZjdD1n%2FDXWoi9qCAbrq4vcqoC%2Fgiphy.gif&amp;image=https%3A%2F%2Fmedia0.giphy.com%2Fmedia%2Fv1.Y2lkPTc5MGI3NjExbTVoeGkwb2NhenVqZjY0NGM2eG84bmcwNjFlZzdrc3hyNTJ5eG4zMSZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw%2FDXWoi9qCAbrq4vcqoC%2Fgiphy_s.gif&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="357" frameborder="0" scrolling="no"><a href="https://medium.com/media/8f60ef0bc992d89181c68092dff92992/href">https://medium.com/media/8f60ef0bc992d89181c68092dff92992/href</a></iframe><p>After collecting subdomains, I ran Eyewitness on all of them and then started manually testing each subdomain.</p><p>While i was looking through subdomains, i picked one which looked pretty interesting….</p><p>It had a SSO login dashboard with no registration , indicating that it was definitely made for authorized/internal users only.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cyUqKr5GnyCBHQxpgX5L1Q.png" /></figure><p>Something felt fishy about this dashboard……</p><p>Then i decided to analyze the JavaScript files loaded by the application in the browser.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZQdIQcqO38G4PdiitT8KiQ.png" /></figure><p>While going through the javascript, I noticed that the app was storing its authentication state in localStorage , meaning things like session data and user info were being kept directly in the browser.🤨</p><pre>persist:{<br>  key:&quot;auth-user&quot;,<br>  storage:localStorage,<br>  paths:[&quot;sessionKey&quot;,&quot;userInfo&quot;,&quot;userRoles&quot;]<br>}</pre><p>This is <strong>fully controllable by the user!</strong>😲</p><p>After analyzing the code, i started getting a feeling that the authentication logic was tied to localstorage or some client-side auth state.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FiSuffsM2olusE%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2Fv1.Y2lkPWVjZjA1ZTQ3NGhjaHQ4dGlwYWxrOGhlb2pmbmVqaDBpcjhrMnN1MzlkbjhhaTlhbyZlcD12MV9naWZzX3JlbGF0ZWQmY3Q9Zw%2FiSuffsM2olusE%2Fgiphy.gif&amp;image=https%3A%2F%2Fmedia4.giphy.com%2Fmedia%2Fv1.Y2lkPTc5MGI3NjExZTZzNnAycnE4aTVuMDBnbGc5b3lwNTY5Y2c3OHpwdXlsYXV5cWtsciZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw%2FiSuffsM2olusE%2Fgiphy_s.gif&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="326" frameborder="0" scrolling="no"><a href="https://medium.com/media/0c51a5b403ba43677f38b04870ce203f/href">https://medium.com/media/0c51a5b403ba43677f38b04870ce203f/href</a></iframe><p>Then i tried manually creating that object, I set a fake sessionkey, along with some basic userinfo and userroles, to see if the app would treat me as logged in.</p><p>I opened the browser’s developer tools and navigated to the console tab, where I used the localStorage.setItem() function to manually insert a crafted authentication object to simulate a valid session:</p><pre>localStorage.setItem(&quot;auth-user&quot;, JSON.stringify({<br>  sessionKey: &quot;anything&quot;,<br>  userInfo: { id: &quot;admin&quot; },<br>  userRoles: [{ name: &quot;Group Admin&quot; }]<br>}))</pre><p>Example:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_D6vSU2VzR6pycQsQR2P3A.png" /></figure><p>Then i refreshed the page.</p><p>Annnnddd guess what…..It worked! I logged in without any authentication!</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2F5VKbvrjxpVJCM%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2Fv1.Y2lkPTc5MGI3NjExb3p1dzQyenlrZmF4MnRhczlqOG4wNWhiYWM4Mzk3Y3E1NXV5N2QzdSZlcD12MV9naWZzX3NlYXJjaCZjdD1n%2F5VKbvrjxpVJCM%2Fgiphy.gif&amp;image=https%3A%2F%2Fmedia0.giphy.com%2Fmedia%2Fv1.Y2lkPTc5MGI3NjExaXJraDFka3lzNnltdmV6N2YybGo0d2ZhZmFzNWZhcTRpajJyaTBxYSZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw%2F5VKbvrjxpVJCM%2Fgiphy_s.gif&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="348" frameborder="0" scrolling="no"><a href="https://medium.com/media/ab93c9d562dd162314e5af2bbf53eef9/href">https://medium.com/media/ab93c9d562dd162314e5af2bbf53eef9/href</a></iframe><p>I bypassed the SSO Login and got access , i was able to :</p><ul><li>View users</li><li>Edit users</li><li>Delete users</li><li>Create groups</li><li>Manage groups</li><li>Edit groups</li><li>Delete groups</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rHRmsTOd6Tmk2vTPn7GPjw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ji6PdwTvUPAwe1a6zQutwg.png" /></figure><p>Then i started documenting each and every endpoint, made a report and submitted.</p><p>Got awarded 300$ for this report. slightly lower than expected, but still a win!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xgGCAyzJclGm-lmB-NoT8Q.png" /></figure><p>Happy Hacking!</p><p>If you found this article useful, please consider giving it a like 👍</p><p>Feel Free to connect with me on LinkedIn: <a href="https://www.linkedin.com/in/laganparihar">https://www.linkedin.com/in/laganparihar</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e6c4b6554b8b" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>