<?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 Sankalpa Baral on Medium]]></title>
        <description><![CDATA[Stories by Sankalpa Baral on Medium]]></description>
        <link>https://medium.com/@sankalpabaral?source=rss-d1007b7f6a10------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*qN1JL2khGFhVzjaC5tq4Cw.gif</url>
            <title>Stories by Sankalpa Baral on Medium</title>
            <link>https://medium.com/@sankalpabaral?source=rss-d1007b7f6a10------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 22:22:33 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@sankalpabaral/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[Bypassing 2FA: My Unforgettable Experience]]></title>
            <link>https://sankalpabaral.medium.com/bypassing-2fa-my-unforgettable-experience-6e4b98615485?source=rss-d1007b7f6a10------2</link>
            <guid isPermaLink="false">https://medium.com/p/6e4b98615485</guid>
            <dc:creator><![CDATA[Sankalpa Baral]]></dc:creator>
            <pubDate>Mon, 19 Feb 2024 13:16:54 GMT</pubDate>
            <atom:updated>2024-02-19T13:16:54.221Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello everyone, I hope you all are doing well. It’s been so long I had not published any bug bounty write up. so after a long time I decided to publish one hope you will like it.</p><h3>Background:</h3><p>So one day I was casually using my laptop and decided to hunt for some vulnerabilities so I thought of hunting on some self managed programs rather than hunting on H1, Bugcrowd or some other platforms. I used some google dorks to find a self managed program and after searching for a while, I found a good target to hunt.</p><h4>About the target:</h4><p>I am not allowed to disclose the name of the target, it’s a popular Indian website which allows us to create mobile applications without coding.</p><h4>Hunting:</h4><p>I focused on the main application rather than doing reconnaissance. So I created an account on that website and started to look for bugs like XSS, IDORs and SSRF but sadly I couldn’t find any.</p><h3>Actual issue:</h3><p>As I was unable to find any bugs and was about to give up then I saw an option to enable 2FA so in my mind I was like “Let’s check for issues related to 2FA” so I enabled 2FA in my account using Google Authenticator and logged out from account. I went to the login page and entered my login credentials and the website asked for the OTP code, I entered random 6 digit code and captured the HTTP request with burp. the HTTP request looked like this, which was little bit unusual because the OTP value was sent through JWT data normally websites don’t do this.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*h1QUEnk-lDPQoKW-WZ8XUQ.jpeg" /><figcaption>2FA Verification Request</figcaption></figure><p>So I simply went to jwt.io and decoded the JWT value and got this</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*x41EQJK72M3pIG6oJpl6RA.png" /></figure><p>I saw that the payload data was empty and a lot of parameters with values in the header and I decided to change the OTP value from ‘111111’ to null so I remove the “111111” and entered null there I could also leave it blank. after I changed that the website (jwt.io) automatically changed the jwt token and I copied that and then I went to the login page, entered my credentials and entered random OTP and capture the request with burp and this time I simply replaced the JWT data with the one that I copied and BOOM it bypassed the 2FA.</p><h4>How did it happen?</h4><p>So when I entered that JWT data in jwt.io the site showed something like this which possibly means that the JWT signature was not verified properly and because of that the data tampering was possible. I don’t know much about JWT tokens please let me know if I am wrong.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/591/1*UXHqqmg2_EVSQfVKNWs3Lw.png" /></figure><h4>Steps to reproduce:</h4><p>1 Go to <a href="https://accounts.appypie.com/login">https://accounts.test.com/login</a></p><p>2 Enter a valid email and password (make sure you have 2FA enabled in your account)</p><p>3 Upon login, the system will prompt for 2FA verification.</p><p>4 Enter a random OTP code and capture the HTTP request with burp suite</p><p>5 In the payload parameter you will see a JWT ‘eyJ1c2VybmFtZSI6InRlc3RAdGVzdC5jb20iLCJvdHAiOiIxMTExMTEiLCJ1c2VyX2NvdW50cnkiOiJOUCIsImlwIjoiNjkuNjQuMTYzLjY5IiwiYnJvd3NlciI6ImNocm9tZSIsIm9zX25hbWUiOiJMaW51eCIsImxhbmciOiJlcyIsImZpbGVfbmFtZSI6ImE0ZDBmMjYyYTgyN2ZhNDAxMmI0YmQ4NGRlYTUxNTE0IiwidXNlcmNoZWNrIjoiNzM4NDEyMDAzZTBiODE4NTZiZTMzMWUyYTRlZWZkMDAiLCJsb2dpbl9ieSI6ImVtYWlsIiwibG9naW5fdHlwZSI6ImVtYWlsIiwiYWxnIjoiSFMyNTYifQ.e30.ofl8BM5Fnb5XQP6epymYlkNtfQXjS5ZPo7tyOGS53fA’</p><p>6 Go to <a href="http://jwt.io/">jwt.io</a> and changed the OTP to null and replace the JWT in the HTTP request</p><p>7 You will be able to bypass the 2FA</p><h4>Low payout:</h4><p>I reported the issue to the company and got reply after <strong>2</strong> months</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7uwD5PJaBf3ipWAV4cifyw.png" /></figure><p>Wait I was not expecting only $50 dollars for a issue like 2FA bypass sadly I couldn’t do anything rather than taking that $50 also they had mentioned I found “Full Account Takeover” there LOL.</p><p>Thank you so much for reading, I hope you enjoyed reading this write-up.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6e4b98615485" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A critical vulnerability in SajiloCV which allowed me to download 100K + users resume]]></title>
            <link>https://sankalpabaral.medium.com/a-critical-vulnerability-in-sajilocv-which-allowed-me-to-download-100k-users-resume-84a58e18dc7a?source=rss-d1007b7f6a10------2</link>
            <guid isPermaLink="false">https://medium.com/p/84a58e18dc7a</guid>
            <category><![CDATA[idor]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <dc:creator><![CDATA[Sankalpa Baral]]></dc:creator>
            <pubDate>Wed, 14 Jun 2023 08:00:44 GMT</pubDate>
            <atom:updated>2023-06-14T08:00:44.881Z</atom:updated>
            <content:encoded><![CDATA[<h3>Introduction:</h3><p>Greetings, everyone! I hope you’re all doing well. I am Sankalpa Baral from Nepal, and it has been quite a while since I last published a write-up. Today, I have decided to share a vulnerability that I discovered a few months ago, which allowed me to download anyone’s resume. Let’s dive into the details.</p><h4>Background:</h4><p>One day, while casually scrolling through Reddit and I came across this <a href="https://www.reddit.com/r/Nepal/comments/phnm49/nepals_toprated_1_and_2_chess_players_are_playing/">post</a>, so the post was about a friendly chess game between Nepal’s #1 and #2 highest rated players. I opened the YouTube video and saw it was sponsored by SajiloCV at that time I had no idea about the platform so I conducted some research. I found numerous Nepali YouTubers who had made videos on SajiloCV as part of paid promotions.</p><h4>Exploring:</h4><p>Curious about SajiloCV, I visited their website and noticed the absence of a registration page. Instead, they provided the option to log in using OAuth. Thus, I proceeded to log in using OAuth. The site was all about creating our resume and downloading it. I noticed there was an option to change our personal information so I simply changed my info and captured the HTTP request with burp.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FnBOJ91-4SDnfKJob-6s5A.png" /><figcaption>Request</figcaption></figure><p>Like you, I thought of trying to manipulate the request by changing the “id” parameter. I replaced the existing value of 91432 with a random number and forwarded the request. Unfortunately, my attempt was met with a disappointing 403 Forbidden error, indicating that the system did not allow unauthorized access to user information.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Q1jTYpCL7pN11zMO-EAWCA.png" /><figcaption>Response</figcaption></figure><p>Another thing I did was editing my resume, I changed something in my resume and captured the HTTP request and tried changing the id parameter but again I got 403 forbidden error.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hOtMlSqrREQ67wOOtl28OQ.png" /></figure><p>At that time I thought the site was fully secured and wasn’t vulnerable to IDOR but ….. There was an option to download our resume (Now you know what’s going to happen) I clicked on the download button and captured the HTTP request</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sFQfENgcui4VPqiyKX0Bag.png" /></figure><p>I replaced <strong>91432 </strong>with a random number and forwarded the request and I was expecting 403 forbidden but I got 200 OK response, indicating that I was able to download other users’ resumes., Damn how did it happen?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EeIDpwAwZ-4-cQFutXUhRw.png" /><figcaption>Unexpected 200 OK</figcaption></figure><blockquote>Steps to reproduce:</blockquote><blockquote>1 Go to <a href="https://app.sajilocv.com/user-profile/resume">https://app.sajilocv.com/user-profile/resume</a></blockquote><blockquote>2 Click on “Download resume” and capture the request with burp</blockquote><blockquote>3 Modify the number in the request and forward it</blockquote><blockquote>4 You will be able to download other’s resume</blockquote><h4>Reporting:</h4><p>Now it’s time to report the issue. since they didn’t have a bug bounty program(they still don’t have). I sent an E-mail to them saying this</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MTctrYGZaf-LtuqKU_o85A.png" /></figure><p>If you find a security issue in any website which doesn’t have a bounty program and you want to report the issue then I suggest you to do this instead of directly sharing the vulnerability with them.</p><p>After sometime I got an Email from then saying “We are interested in knowing about the issue” so after that I reported the vulnerability to them. They patched the vulnerability within 2 weeks and rewarded me for my discovery. (The feeling after getting a reward from a Nepali company)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ylZHkdKMgwaXOEBSGzBiDQ.png" /><figcaption>🤑🤑</figcaption></figure><h4>Tip:</h4><p>Whenever you add, update, or remove data, always remember to check for IDOR vulnerabilities.</p><blockquote>I have also uploaded a proof-of-concept video on my YouTube channel. Feel free to check it out <a href="https://youtu.be/4VJ4aT1AjNY">link</a></blockquote><h4>Bye:</h4><p>Thank you for reading &lt;3 I hope you found this write-up informative and gained some valuable insights.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=84a58e18dc7a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Easy to find vulnerabilities that might get paid [part-2]]]></title>
            <link>https://sankalpabaral.medium.com/easy-to-find-vulnerabilities-that-might-get-paid-part-2-e7ff7a0c20ce?source=rss-d1007b7f6a10------2</link>
            <guid isPermaLink="false">https://medium.com/p/e7ff7a0c20ce</guid>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[bugs]]></category>
            <dc:creator><![CDATA[Sankalpa Baral]]></dc:creator>
            <pubDate>Thu, 14 Jul 2022 15:56:03 GMT</pubDate>
            <atom:updated>2023-06-25T14:09:05.092Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello hackers I am back with another short write-up so this is the second part of easy-to-find vulnerabilities that might get paid so let’s begin.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FxUNd9Ly0juVTrRiUiA%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2FxUNd9Ly0juVTrRiUiA%2Fgiphy.gif&amp;image=https%3A%2F%2Fi.giphy.com%2Fmedia%2FxUNd9Ly0juVTrRiUiA%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="326" frameborder="0" scrolling="no"><a href="https://medium.com/media/ad5730436ad407fdf71ed93a9f2fe599/href">https://medium.com/media/ad5730436ad407fdf71ed93a9f2fe599/href</a></iframe><p><strong>Bug Title: Able to enable 2FA without completing the email verification process</strong></p><p><strong>Here’s the attack scenario</strong><br>1 Attacker sign-ups using the victim’s email address (email verification will be sent to the victim’s mail)<br>2 The attacker setups 2FA in the account using his phone number or email<br>3 Now if the victim’s tries to login he can’t because the 2FA is enabled (can’t access the account even by using the forgot password)<br>4 Now the victim can never register with that email address on that site</p><p>I hope you learnt something new from this n00b hacker. Again it’s easy to find bug so don’t cry if you get a duplicate :</p><p>Only this much for today will see you in another write-up keep learning keep hacking :)</p><p>BYE:</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e7ff7a0c20ce" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Easy to find vulnerabilities that might get paid [part-1]]]></title>
            <link>https://sankalpabaral.medium.com/easy-to-find-vulnerabilities-that-might-get-paid-part-1-ca67a9669925?source=rss-d1007b7f6a10------2</link>
            <guid isPermaLink="false">https://medium.com/p/ca67a9669925</guid>
            <category><![CDATA[info-sec-writeups]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <dc:creator><![CDATA[Sankalpa Baral]]></dc:creator>
            <pubDate>Sat, 14 May 2022 16:00:03 GMT</pubDate>
            <atom:updated>2022-05-14T16:00:03.544Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello everyone It’s me Sankalpa Baral a noob hacker from Nepal hope you all are doing great stuff I am back after a long time so today I decided to start a series where I will share some easy to find bugs that might get paid but remember that they are easy to find so there will be high chances of getting duplicate.</p><p><strong>So let’s get started</strong></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Ftenor.com%2Fembed%2F4767352&amp;display_name=Tenor&amp;url=https%3A%2F%2Ftenor.com%2Fview%2Fdespicable-me-minions-lets-get-started-happy-excited-gif-4767352&amp;image=https%3A%2F%2Fc.tenor.com%2Fr3XdvPsAV3kAAAAC%2Fdespicable-me-minions.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=tenor" width="600" height="400" frameborder="0" scrolling="no"><a href="https://medium.com/media/33e43a40d8b9192690fbe45f098256d0/href">https://medium.com/media/33e43a40d8b9192690fbe45f098256d0/href</a></iframe><p><strong>Title: Old unused password reset token doesn’t expire after generating a new one</strong><br>It’s a very simple bug that is found on many websites Here what we will do is:<br>1 Generate two password reset tokens <br>2 Now we have one (old token) and (new token) <br>3 First we will change the password using the (new token)<br>4 Now this time we will use the old token to change the password <br> If the password is successfully changed using the old token then you can report it but remember that some companies don’t accept it so here what more you can do is check if the password reset token expires at a certain time or not if not then you can show more impact to the company and get paid 🤑</p><p>Please forgive me If I have made any mistakes only this much for today will see you in another write-up Thanks for reading.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Ftenor.com%2Fembed%2F15739082&amp;display_name=Tenor&amp;url=https%3A%2F%2Ftenor.com%2Fview%2Fhooray-its-weekend-ok-bye-ciao-slide-gif-15739082&amp;image=https%3A%2F%2Fc.tenor.com%2FI6bSd_xNoc0AAAAC%2Fhooray-its-weekend.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=tenor" width="600" height="400" frameborder="0" scrolling="no"><a href="https://medium.com/media/c1d971980695e67f9784f239d59e28c2/href">https://medium.com/media/c1d971980695e67f9784f239d59e28c2/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ca67a9669925" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>