<?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 Abhishek  (Bug Hunter) on Medium]]></title>
        <description><![CDATA[Stories by Abhishek  (Bug Hunter) on Medium]]></description>
        <link>https://medium.com/@bughunt789?source=rss-8c32e279cdf------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*ye_ibIbGRp_6QGDI4wuY7A.jpeg</url>
            <title>Stories by Abhishek  (Bug Hunter) on Medium</title>
            <link>https://medium.com/@bughunt789?source=rss-8c32e279cdf------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 16:13:49 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@bughunt789/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[Authentication Bypass lead to Account Takeover via IDOR]]></title>
            <link>https://medium.com/@bughunt789/authentication-bypass-lead-to-account-takeover-via-idor-55ed21b54e0b?source=rss-8c32e279cdf------2</link>
            <guid isPermaLink="false">https://medium.com/p/55ed21b54e0b</guid>
            <category><![CDATA[insecure-direct-object]]></category>
            <category><![CDATA[authentication-bypass]]></category>
            <category><![CDATA[idor]]></category>
            <category><![CDATA[privilege-escalation]]></category>
            <category><![CDATA[account-takeover-attacks]]></category>
            <dc:creator><![CDATA[Abhishek  (Bug Hunter)]]></dc:creator>
            <pubDate>Sun, 13 Sep 2026 20:40:47 GMT</pubDate>
            <atom:updated>2026-09-13T20:40:47.722Z</atom:updated>
            <content:encoded><![CDATA[<p>One Mistake Made Me Rich 💸</p><h3>Introduction</h3><p>Hello everyone! My name is <strong>Abhishek</strong>, and I am a Cyber Security Researcher and a bug bounty hunter at Bugcrowd with over five years of experience. Today, I want to share my favorite vulnerability: Account Takeover through the password reset functionality. I’ve written a blog detailing various methods to identify Account Takeover vulnerabilities, and today, I will introduce a new method that can lead to such vulnerabilities.</p><p><strong>1: The hunt begins</strong></p><p>Hiii everyone! 👋 I found a web app with a totally normal signup flow — fill in your details, hit submit, and you’re dropped straight into the app. Nothing screamed “vulnerable” at first glance. So naturally, I threw the usual suspects at it: XSS, CSRF, SSRF, and a pile of other small pokes. All quiet.</p><p>So I slowed down. Instead of chasing flashy payloads, I went methodical — scrolling through the entire Burp Suite history, endpoint by endpoint, specifically hunting for weak spots in the <strong>API authentication and authorization layer</strong>. That’s where the real gold usually hides. 💎</p><p><strong>2: The moment it clicked</strong></p><p>Buried in a <strong>profile-update request</strong>, I spotted something juicy: sensitive account information sitting right there in the request and response bodies. And tucked inside it — a plain, boring, sequential <strong>database ID</strong>.</p><p>Here’s the thing every bug hunter knows: the second you spot a raw numeric ID… you get ideas. 😏</p><p><strong>3 : Testing the theory</strong></p><p>Being a bug bounty hunter, when you see a numeric value, there’s really only one move: <strong>make it someone else’s.</strong> So I spun up a second throwaway account, hit the same profile endpoint, and grabbed its database ID too.</p><p>Simple. Just a 5-digit number, one digit off from the first account. No hashing, no obfuscation, no randomness — just 84213 next to 84212. So I had to ask: what happens if I just... swap them?</p><p><strong>4 : Aaaand… it worked</strong></p><p>I took Account A’s profile-update request, replaced its database ID with Account B’s, and fired it off.</p><p>Burp Suite — Repeater (illustrative, IDs redacted)</p><pre>POST /api/v2/profile/update HTTP/1.1<br>Authorization: Bearer &lt;account-A-token&gt;<br>Content-Type: application/json</pre><pre>{<br>  &quot;accountId&quot;: 84213,   // account A (mine)<br>  &quot;accountId&quot;: 84212,   // account B (victim) ← swapped<br>  &quot;email&quot;: &quot;attacker@example.com&quot;,<br>  &quot;name&quot;: &quot;Abhishek&quot;<br>}</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/650/1*m7SY78X58J-ad7J7-jtP7w.png" /></figure><p>One single click. Account B’s name, email, and profile data got overwritten — including the email address, meaning I now controlled password resets too. That’s not a bug. That’s a skeleton key. 🔑💥</p><p><strong>💥 ACCOUNT TAKEOVER🚨 ZERO CLICKS FROM VICTIM🔑 EMAIL HIJACKED</strong></p><p><strong>5 : Why this actually happens</strong></p><p>This is a textbook <strong>Insecure Direct Object Reference (IDOR)</strong>, also known as <strong>Broken Object Level Authorization (BOLA)</strong> in the API world. The server checked that <em>a</em> valid, logged-in user made the request — but never checked whether <em>that specific user</em> actually owned the account ID they sent. Authentication passed. Authorization never got asked.</p><p><strong>6 : Fix it before I find it</strong></p><p>If you’re building the backend for these endpoints, here’s your homework:</p><p>🛡️ DEVELOPER CHECKLIST</p><p><strong>Never expose raw, sequential numeric database IDs</strong> in requests or responses. Swap them for UUIDs or opaque, non-guessable tokens.</p><p><strong>Enforce object-level authorization on every request</strong> — server-side, every time. Confirm the logged-in user actually owns the resource ID they’re sending, not just that they’re logged in.</p><p><strong>Never trust client-supplied identifiers.</strong> Derive “who am I updating?” from the authenticated session, not from a field the client can edit.</p><p><strong>Log and alert on cross-account access patterns</strong> — one account touching another account’s ID is a five-alarm signal, not a footnote.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/498/1*Y_gG6IyxQK1qaDdZuOYIDw.png" /><figcaption>Thanks for $$$$</figcaption></figure><p>Bounty : Can’t Disclosed.</p><p>Thanks for reading. Do not forget to give your review.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=55ed21b54e0b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Hidden Flaw: Exploiting Password Resets for Account Takeover]]></title>
            <link>https://medium.com/@bughunt789/the-hidden-flaw-exploiting-password-resets-for-account-takeover-39508956982b?source=rss-8c32e279cdf------2</link>
            <guid isPermaLink="false">https://medium.com/p/39508956982b</guid>
            <category><![CDATA[password-reset]]></category>
            <category><![CDATA[account-takeover-attacks]]></category>
            <category><![CDATA[password-reset-poisoning]]></category>
            <category><![CDATA[idor-vulnerability]]></category>
            <category><![CDATA[account-takeover]]></category>
            <dc:creator><![CDATA[Abhishek  (Bug Hunter)]]></dc:creator>
            <pubDate>Fri, 11 Jul 2025 22:00:28 GMT</pubDate>
            <atom:updated>2025-07-12T09:29:29.010Z</atom:updated>
            <content:encoded><![CDATA[<h3>Introduction</h3><p>Hello everyone! My name is <strong>Abhishek</strong>, and I am a Cyber Security Researcher and a bug bounty hunter at Bugcrowd with over five years of experience. Today, I want to share my favorite vulnerability: Account Takeover through the password reset functionality. I’ve written a blog detailing various methods to identify Account Takeover vulnerabilities, and today, I will introduce a new method that can lead to such vulnerabilities.</p><p><strong>Identifying the Vulnerability</strong></p><p>I recently encountered a web application with a signup module that allows users to create an account. After filling in the required details, the application redirects me without any verification. While analyzing the application, I navigated to the “Forgot Password” page and entered my email address. The application then sent me an OTP (One-Time Password) to authenticate my access to the new password page.</p><p>After entering the correct OTP, I was redirected to the New Password page. I changed my password for the first time to analyze the request and response. Here’s what I discovered:</p><ul><li>After entering the correct OTP, I was redirected to the URL: <a href="https://redacted.com/NewPassword.">https://redacted.com/NewPassword.</a></li><li>I copied this link and opened it in incognito mode, where I found that the page loaded successfully.</li><li>However, when I attempted to enter a new password and confirm it, I received an error message.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/545/1*E0aNDXp5kQGZiJliCzmRnw.png" /></figure><p>Exploiting the Vulnerability</p><p>After clicking the submit button again, I captured the request and observed the JSON body. It contained parameters like:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/268/1*nnhcrrJZchwKqs8bjEsv-w.png" /></figure><p>I replaced “NULL” with the email address of an existing user and forwarded the request. Here’s the critical part:</p><ul><li>In the user interface, I received an error indicating a missing email address. This sparked an idea: if the application was not validating the email field properly on the server side, I could potentially exploit this flaw.</li><li>However, when using Burp Suite, I was able to change the password for another user without any issues.</li></ul><p>This demonstrates a significant security flaw where an attacker can change another user’s password simply by manipulating the request.</p><p>Conclusion</p><p>I have documented this vulnerability in my blog, and I encourage everyone to be aware of such security risks. Understanding how these vulnerabilities work is crucial for both developers and security researchers. Thank you for your attention, and I look forward to discussing this further!</p><p>Follow :</p><p><a href="https://www.linkedin.com/in/abhishek-pal-9024b71ab/">https://www.linkedin.com/in/abhishek-pal-9024b71ab/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=39508956982b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Easy IDOR lead to dislosed PII data leakage{Name, Username, Password}]]></title>
            <link>https://medium.com/@bughunt789/easy-idor-lead-to-dislosed-pii-data-leakage-name-username-password-053c2783f8a6?source=rss-8c32e279cdf------2</link>
            <guid isPermaLink="false">https://medium.com/p/053c2783f8a6</guid>
            <category><![CDATA[abc]]></category>
            <category><![CDATA[dataleakage]]></category>
            <category><![CDATA[idor]]></category>
            <category><![CDATA[data]]></category>
            <category><![CDATA[broken-accesss-control]]></category>
            <dc:creator><![CDATA[Abhishek  (Bug Hunter)]]></dc:creator>
            <pubDate>Mon, 09 Jun 2025 20:45:02 GMT</pubDate>
            <atom:updated>2025-06-09T20:45:02.325Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello everyone!</p><p>I hope this message finds you well. After a long hiatus, I’m excited to share my latest blog post with you. Many of you have responded positively to my previous articles on account takeover vulnerabilities, and I truly appreciate your support. Today, I want to discuss a fundamental vulnerability known as Insecure Direct Object Reference (IDOR), which can lead to significant data leaks, including Personally Identifiable Information (PII).</p><h3>The Discovery</h3><p>Recently, I received a private invitation to participate in a redacted.com program, where I was assigned roles for Tenant 1 and Tenant 2. Eager to make the most of this opportunity, I quickly set up my account and began testing. After several attempts, I managed to submit a few reports related to Business Account Compromise (BAC) before the program closed.</p><p>A few days later, the program reopened, and I resumed my testing. While exploring the application, I noticed a download functionality that allowed admins to retrieve files related to users. I discovered that there was an option to download a list of users by clicking a download button.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UiXsfO-rVSHpJM6BRDfrXg.png" /><figcaption>Users Download Functionilty</figcaption></figure><h3>The Vulnerability</h3><p>During my testing, I observed that a numeric ID was being transmitted in the requests, which piqued my interest. Initially, I attempted to change this ID manually but encountered no success. To further investigate, I sent the request to Burp Suite’s Intruder tool and began testing various numeric values, specifically targeting IDs up to 44. I initially believed that I could only download the user list for Tenant 2.</p><p>However, after running the attack, I noticed three unique instances of length in the code. By inputting values manually, I was able to download a file that contained sensitive information. To my shock, the data revealed user details from Tenant 2, including usernames, passwords, email addresses, and phone numbers — all of which were PII.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*n74Qx12lSp0MxsUqIMHNPg.png" /><figcaption>Full PII data leakage</figcaption></figure><h3>Reporting the Issue</h3><p>I quickly reported the vulnerability to the program, understanding its seriousness. To my surprise, the team classified IDOR as a critical issue and marked my submission as Priority 1 (P1). This showed me how a small mistake can lead to big security problems.</p><h3>Conclusion</h3><p>In my bug bounty journey, this was one of the easiest yet most significant vulnerabilities I’ve found. It reminds us all of the need for careful testing and the risks associated with IDOR vulnerabilities.</p><p>Thank you for reading my blog! I hope you found it helpful. Stay tuned for more insights on web security!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=053c2783f8a6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Easy File Upload Functionality Remote Code Execution]]></title>
            <link>https://medium.com/@bughunt789/easy-file-upload-functionality-remote-code-execution-6e41292f8c78?source=rss-8c32e279cdf------2</link>
            <guid isPermaLink="false">https://medium.com/p/6e41292f8c78</guid>
            <category><![CDATA[rce]]></category>
            <category><![CDATA[rce-vulnerability]]></category>
            <category><![CDATA[file-upload-vulnerability]]></category>
            <dc:creator><![CDATA[Abhishek  (Bug Hunter)]]></dc:creator>
            <pubDate>Wed, 22 Jan 2025 15:14:57 GMT</pubDate>
            <atom:updated>2025-01-22T15:14:57.103Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello everyone! I’m Abhishek Pal, and today I want to share a critical vulnerability I discovered during my recent bug hunting.</p><p><strong>What is the Vulnerability?</strong></p><p>File upload vulnerabilities occur when web applications allow users to upload files without proper validation. This oversight can enable attackers to upload malicious files, leading to Remote Code Execution (RCE), where attackers gain control over the server. This type of vulnerability can have severe consequences, including data breaches and unauthorized access to sensitive information.</p><p><strong>Consequences of RCE:</strong></p><ul><li><strong>Full System Control</strong>: Attackers can manipulate data, install malware, or create backdoors for future access.</li><li><strong>Data Breaches</strong>: Sensitive information can be accessed and exfiltrated, leading to significant data loss.</li><li><strong>Network Compromise:</strong> The compromised server can serve as a launchpad for further attacks on the internal network.</li></ul><h3>Steps to Reproduce the Vulnerability:</h3><ol><li>Navigate to the Application:</li></ol><p>Start by visiting the target application at <a href="https://redacted.com./">https://redacted.com.</a> Look for the file upload feature, which is often found in user profile settings or document submission sections.</p><p>2. Upload a Simple Image:</p><p>Initially, upload a harmless image file (e.g., a JPEG) to test the upload functionality. This step helps confirm that the upload feature is working as intended.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/185/1*tIRxWUSHHbD5iUbF2tZCtg.png" /></figure><p>3. Intercept the Request:</p><p>Use a tool like Burp Suite to intercept the HTTP request made when you upload the image. This allows you to analyze and modify the request before it reaches the server.</p><p>4. Modify the Content Type:</p><p>In the intercepted request, change the Content-Type header from image/jpeg (or whatever the original type is) to application/php. This step is crucial as it tricks the server into treating the uploaded file as a PHP script.</p><p>5. Upload a Malicious PHP File:</p><p>Instead of a simple image, prepare a PHP file containing a reverse shell payload. You can find various reverse shell scripts on GitHub I have used PonnyShell Reverse Shell code. Copy the code and save it as RCE.PHP.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/873/1*mujFNmP9kdRRumuNWeftwg.png" /><figcaption>PonnyShell Reverse Shell Code</figcaption></figure><p>6. Send the Modified Request:</p><p>Replace the original image content in the intercepted request with your malicious shell.php code. Forward the modified request to the server.</p><p>7. Access the Uploaded File:</p><p>After successfully uploading the file, the application may disclose the URL of the uploaded file in the response. Copy this URL</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/471/1*Bbo_31yR0OLdOA89NKAu1A.png" /><figcaption>URL disclosed in the Response</figcaption></figure><p>8. Execute the Reverse Shell:</p><p>Paste the copied URL into your browser. If the server executes the PHP code, you will receive a reverse shell connection back to your machine.</p><p>Result: You now have a reverse shell, granting you control over the server. This access can be used to explore the system, escalate privileges, or exfiltrate sensitive data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/985/1*waq_f9ueLyEQiADSmFO1Hw.png" /><figcaption>RCE Code Successfully Executed</figcaption></figure><h3>Conclusion</h3><p>This vulnerability highlights the critical importance of implementing proper file validation and security measures in web applications. Developers should ensure that only safe file types are allowed, and any uploaded files should be stored in a non-executable directory. Regular security audits and penetration testing can help identify and mitigate such vulnerabilities before they can be exploited.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6e41292f8c78" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Forget password OTP flaw lead to Account Takeover.]]></title>
            <link>https://medium.com/@bughunt789/forget-password-otp-flaw-lead-to-account-takeover-b3f2b847952b?source=rss-8c32e279cdf------2</link>
            <guid isPermaLink="false">https://medium.com/p/b3f2b847952b</guid>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[bug-bounty-writeup]]></category>
            <category><![CDATA[response-manipulation]]></category>
            <category><![CDATA[account-takeover]]></category>
            <category><![CDATA[account-takeover-attacks]]></category>
            <dc:creator><![CDATA[Abhishek  (Bug Hunter)]]></dc:creator>
            <pubDate>Tue, 22 Oct 2024 03:31:01 GMT</pubDate>
            <atom:updated>2024-10-22T03:31:01.931Z</atom:updated>
            <content:encoded><![CDATA[<p>Hope you all are doing great!</p><p>I am <strong><em>Abhishek pal </em></strong>here with my new blog ,In this blog I am going to give details about an easy P1 bug I encountered while hunting.</p><p>On July 8 2022, I found an Account Takeover vulnerability through response manipulation in a private bug bounty program. The company resolved the issue and reopened the program after two years. Last month, the program updated at 10:00 ITC, opening the same domain. I decided to revisit it, thinking maybe something new could be found. After some time, I reported a few IDOR and low-hanging vulnerabilities, but I thought, why not try bypassing the account takeover again? Maybe there’s still a glitch.</p><p>I created two accounts and started testing the application carefully. After two long hours of no success, I was almost ready to give up. But then — something caught my attention. I noticed that a token in the response was the same for all requests. That’s when my instincts kicked in.</p><p>I kept trying to manipulate the response, but the server kept rejecting my attempts. It was frustrating, but I didn’t want to quit just yet. In a moment of trial and error, I decided to send an OTP to both accounts and entered the correct OTP. Suddenly, things started making sense.</p><p>I realized there was a vulnerability that had been missed. With this breakthrough, I dug deeper and uncovered a major flaw in the system.</p><h3>Steps to Reproduce:</h3><p><strong>Attacker:</strong></p><ol><li>Go to the application and click on the reset password link. Enter the email address.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/527/1*nQ_xFnu3k6itY3kWWjmJnw.png" /></figure><p>2. The application sends an OTP to the email. Copy the OTP, paste it into the input field, intercept the request in Burp Suite, and save the response. This response contains a token that is the same for all OTP validation requests.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oBl-QSKX9p1dGxZGwcWRRw.png" /><figcaption>Token which is same for all OTP validation</figcaption></figure><p>3.Drop the request from the “New Password” page.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/835/1*WaBs-s4yv0N-oopNwUmh_A.png" /></figure><p><strong>Victim:</strong></p><ol><li>Enter the victim’s email in the “Forgot Password” field. An OTP is sent to their email.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/568/1*im1yrYojk4FjaPZVKpKAVQ.png" /><figcaption>Victim Email address</figcaption></figure><ol><li>Enter a random OTP and intercept the request. Paste the saved response here and forward the request. Even with a wrong OTP, you successfully bypass the OTP page, and the “New Password” page opens.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/860/1*3FSpHZ0KnVqj6dgzntuRCA.png" /><figcaption>Paste the OTP response</figcaption></figure><p>2. Change the password, and now you’ve taken over the account.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/678/1*QAOX94a6PVwXisq11tEQWA.png" /><figcaption>Wont believed that I find Account takeover again</figcaption></figure><p>I reported the issue again, and it was accepted. For confirmation, the customer even shared their email and asked me to try taking over their account. Following the same steps, I logged in within 2 minutes.</p><p>This journey took 3–4 hours of analysis and learning, and when I reported the issue, it felt like a “Wow!” moment.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/859/1*QFBApebR6bK3P4dtsv2uCw.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b3f2b847952b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Sensitive Information Disclosure (Critical Finding)]]></title>
            <link>https://medium.com/@bughunt789/sensitive-information-disclosure-critical-finding-8fcbd7fe1704?source=rss-8c32e279cdf------2</link>
            <guid isPermaLink="false">https://medium.com/p/8fcbd7fe1704</guid>
            <category><![CDATA[bắc]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[sensitive-information]]></category>
            <category><![CDATA[idor]]></category>
            <dc:creator><![CDATA[Abhishek  (Bug Hunter)]]></dc:creator>
            <pubDate>Tue, 15 Oct 2024 10:36:32 GMT</pubDate>
            <atom:updated>2024-10-16T06:46:22.027Z</atom:updated>
            <content:encoded><![CDATA[<p>Hi Connection,</p><p>Welcome Back!</p><p>I’m Abhishek Pal, a Bug hunter, and I’m excited to share my latest discovery with you. In this post, I’ll walk you through my experience of finding a straightforward bug in an application that features a shopping functionality. I’ve had my fair share of adventures, and this particular experience was quite interesting.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JfdDQSPx2yTyrC2bTPKlzA.png" /><figcaption>Application Overview</figcaption></figure><p>After initially discovering some low and medium-level vulnerabilities, I decided to elevate my search to high-level vulnerabilities. Unfortunately, my initial efforts didn’t yield the desired results. I invested a significant amount of time, around 2–3 hours, to thoroughly check the application, but I couldn’t find any critical or high vulnerabilities present. This led me to shift my focus to automation, utilizing various tools such as Fuff, Dirseach, Dirb, Nuclie, and more.</p><p>While using the Dirseach tool, I identified a directory that returned a status code of 200 OK. Upon exploring this endpoint, I found a page where users could enter their email addresses to receive notifications. I was curious to see how this feature worked, so I entered an email address and captured the request.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/380/1*Wio6EJ4RipoHQ6XORtSoqw.png" /></figure><p>What I observed next was quite interesting — the application was disclosing sensitive information, including email addresses, usernames, locations, and mobile numbers — all of which are personally identifiable information (PII).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mo2GPy0xTOS7Hn_SwD3lRQ.png" /></figure><p>I decided to take it a step further and tested the endpoint with another email address. To my surprise, the application continued to leak PII data simply by entering an email address. This was a critical vulnerability that needed to be reported immediately. I promptly reported this issue, and I’m glad I could help the application owners fix this vulnerability and protect their users’ sensitive information.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BQSYz2ngL2I_apMHCTYZyg.png" /><figcaption>PII Information Disclosed</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/827/1*trSzHD4JfVXfrTzrGGUeAg.png" /></figure><p>Reported Data: 10–09–2024</p><p>Traige : 11–09–2024</p><p>Bounty : Undisclosed</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8fcbd7fe1704" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Authentication Bypass through SQL Injection]]></title>
            <link>https://medium.com/@bughunt789/authentication-bypass-through-sql-injection-3160140b4874?source=rss-8c32e279cdf------2</link>
            <guid isPermaLink="false">https://medium.com/p/3160140b4874</guid>
            <category><![CDATA[authentication-bypass]]></category>
            <category><![CDATA[sql-injection-attack]]></category>
            <dc:creator><![CDATA[Abhishek  (Bug Hunter)]]></dc:creator>
            <pubDate>Sun, 29 Sep 2024 09:17:46 GMT</pubDate>
            <atom:updated>2024-09-29T09:17:46.020Z</atom:updated>
            <content:encoded><![CDATA[<p>I’m Abhishek Pal, and I’m thrilled to share a fascinating bug I discovered in Redacted.com, a private program that offers a range of features, including group creation and user management.</p><h4><strong>Uncovering Multiple SQL Injection Vulnerabilities</strong></h4><p>During my bug hunting adventure, I stumbled upon multiple SQL injection vulnerabilities within the application. What caught my attention was that these vulnerabilities would randomly log me out of the application, leading me to suspect that they might be connected to the authentication mechanism.</p><h4><strong>Initial Attempts at Bypassing Authentication</strong></h4><p>I attempted to exploit these vulnerabilities by injecting various SQL payloads into the login page, hoping to bypass the authentication process. However, my initial attempts were unsuccessful, and I was unable to gain unauthorized access to the application.</p><h4><strong>The Breakthrough: Using Basic SQL Queries</strong></h4><p>Undeterred, I decided to try a different approach. I injected basic SQL queries into the application, and to my surprise, I was redirected into the application, successfully bypassing the login page. This breakthrough allowed me to gain access to the application’s internal directories.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*g7g23dKbjJHHEnC5pmpJig.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jSHdXruVowkFtW6XDKJCpA.png" /><figcaption>Basic SQL payload</figcaption></figure><h4><strong>Navigating to the Authentication Page</strong></h4><p>With access to the application’s internal directories, I was able to navigate to the authentication page, effectively bypassing the login page altogether. This vulnerability had significant implications, as it allowed an attacker to gain unauthorized access to the application.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QCZX35ybJhF7ZiuzWIKgvw.png" /><figcaption>Internal Directory Access</figcaption></figure><h3>Thanks for reading my blog! Please share your reviews.</h3><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3160140b4874" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Authentication bypass leads to Account Takeover]]></title>
            <link>https://medium.com/@bughunt789/authentication-bypass-leads-to-account-takeover-9dbd45ce4f94?source=rss-8c32e279cdf------2</link>
            <guid isPermaLink="false">https://medium.com/p/9dbd45ce4f94</guid>
            <dc:creator><![CDATA[Abhishek  (Bug Hunter)]]></dc:creator>
            <pubDate>Tue, 02 Jan 2024 08:15:02 GMT</pubDate>
            <atom:updated>2024-01-02T09:30:33.919Z</atom:updated>
            <content:encoded><![CDATA[<p>Hey everyone, Abhishek Pal here with my new blog! In this post, I want to share the details of a pretty straightforward bug I stumbled upon during my hunting adventures.</p><p>So, the target was Redacted.com, a private program with various features like group creation and user management. After finding some low and medium-level vulnerabilities, I decided to up the game and look for high-level ones.</p><p>After checking for vulnerabilities, my attention turned towards the Reset Password and Invite features. These areas are often gold mines for critical issues. I initially tried host header injection, but no luck. Then, I thought, why not try the same payload in the invite feature? The roles of these two functions seemed somewhat similar.</p><p>I focused on the invite feature, attempting to inject a malicious payload into the headers. Unfortunately, I got no response. But suddenly, one parameter caught my eye.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cckMP-xufdFVOHIh-m7fsQ.png" /><figcaption>Base URL parameter</figcaption></figure><p>I inserted my Burp Collaborator link into this parameter and forwarded the request. Initially, it seemed like nothing happened, and I thought this method failed too. However, a unique thing occurred when I tried to reset a user’s password.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/424/1*JHZEVQng11yDm1up1rudtw.png" /><figcaption>OOOooooooooooooooooooooooooOOO</figcaption></figure><p>Upon clicking the reset password function and entering the victim’s email, some hits appeared on my Burp Collaborator with the user UUID (a unique identifier) on which the reset token was based. Although the UUID changed each time, I realized that I could reset the password if I knew anyone&#39;s UUID.</p><p>For the account takeover, I needed the reset token. So, I generated my reset link, replaced the UUID with the user’s UUID, and voila! The reset page opened, allowing me to reset the password for that user.</p><p><strong>Authentication bypass led to an account takeover.</strong></p><p>Thanks for reading my blog! Please share your reviews.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9dbd45ce4f94" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Host Header Injection Leads to Account Takeover]]></title>
            <link>https://medium.com/@bughunt789/host-header-injection-leads-to-account-takeover-a63c72cae7f0?source=rss-8c32e279cdf------2</link>
            <guid isPermaLink="false">https://medium.com/p/a63c72cae7f0</guid>
            <dc:creator><![CDATA[Abhishek  (Bug Hunter)]]></dc:creator>
            <pubDate>Wed, 04 Oct 2023 07:16:02 GMT</pubDate>
            <atom:updated>2023-10-04T07:16:02.273Z</atom:updated>
            <content:encoded><![CDATA[<p>Greetings everyone,</p><p>I’m excited to present a new blog post where I’ll delve into the details of a critical P1 vulnerability I recently discovered during my bug-hunting endeavours.</p><p>Allow me to share the backstory behind this noteworthy find. I was actively testing a private program on bugcrowd.com, which we’ll refer to as “redacted.com” to protect its identity. This website features an impressive array of functionalities and security measures.</p><p>Throughout my testing, I made determined efforts to exploit various vulnerabilities, including Insecure Direct Object References (IDOR) and Cross-Site Request Forgery (CSRF). However, my attempts were consistently thwarted, thanks to the website’s robust validation mechanisms. Each endpoint was meticulously protected by both authentication and CSRF tokens, effectively rendering my attempts futile. After investing several hours into this domain, I decided to explore the “Reset Password” page.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/549/1*Ztv_2nghf677bfcJ0uqAkA.png" /><figcaption>Reset Password Functionality</figcaption></figure><p>It was during this phase that I turned my attention to Host Header Injection. Initially, I inserted the benign “evil.com” into the Host header, which resulted in a 400 error. Undeterred, I took a more strategic approach by including the “X-Forwarded-Host” header in my request and then clicked the “Go” button. To my surprise, I received the password reset link, but this time it contained the domain “evil.com.”</p><p>However, the challenge remained to escalate this vulnerability, which would only be possible if I could direct the user’s password reset link to my own server.</p><p>I proceeded by launching Burp Suite and accessing the Burp Collaboration tab. I copied the token and pasted it into the request with the following format: “X-Forwarded Host: collaboratorlink.com as shown below:-</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fSI1ETOnaFyYZmM_NaJ7Ug.png" /><figcaption>X-Forwarded-Host: Collaborator Link</figcaption></figure><p>After clicking the “Go” button, it became evident that the victim received the reset password page with the URL “<a href="https://collaboratorlink.com/user/key=token">https://collaboratorlink.com/auth/realms/plusx/login-action/action-token</a>=value&quot;</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/993/1*ITYX--zvOBkysZyT4o4i4A.png" /><figcaption>Demo</figcaption></figure><p>Upon interaction with the link, it was observed that the token was successfully pinged back to the Burp Collaborator, as demonstrated below. This means that an attacker could exploit this vulnerability to reset the user’s password, potentially leading to an account takeover.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*foKdOlKg6TBY8hKLnpPKvQ.png" /></figure><p>This discovery highlights the critical importance of robust security measures, as even seemingly minor vulnerabilities can have severe consequences. Stay vigilant, and remember that proactive testing and reporting are essential in safeguarding online platforms.</p><p>Thank you for reading, and stay tuned for more exciting insights into the world of cybersecurity.</p><p>Follow me for more Security issues on:</p><ul><li><a href="https://www.linkedin.com/in/abhishek-pal-9024b71ab/">https://www.linkedin.com/in/abhishek-pal-9024b71ab/</a></li><li><a href="https://whatsapp.com/channel/0029Va571Q91NCrdx5FxcY09">https://whatsapp.com/channel/0029Va571Q91NCrdx5FxcY09</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a63c72cae7f0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Weak encryption in Password functionality leads to Account takeover]]></title>
            <link>https://medium.com/@bughunt789/weak-encryption-in-password-functionality-leads-to-account-takeover-c61685db5490?source=rss-8c32e279cdf------2</link>
            <guid isPermaLink="false">https://medium.com/p/c61685db5490</guid>
            <dc:creator><![CDATA[Abhishek  (Bug Hunter)]]></dc:creator>
            <pubDate>Tue, 19 Sep 2023 15:06:27 GMT</pubDate>
            <atom:updated>2023-09-19T15:06:27.827Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello everyone, Abhishek Pal here with my fourth blog. In this blog, I’m going to share details about a critical security issue I encountered during my VAPT journey.</p><p>Let’s dive into the exploitation part now, with our target being Redacted.com. Please note that this is a <strong>private </strong>program, with a variety of features, including group creation and user management. I always love testing websites with group creation features because they often reveal significant vulnerabilities.</p><p>After <strong>thoroughly </strong>testing for vulnerabilities, I decided to focus on the Reset Password functionality, which is a prime area for finding critical P1 vulnerabilities. Any flaw in this process could potentially allow an attacker to change a victim’s password.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/707/1*JVM2spCdgXSDpam9zJAbRQ.png" /><figcaption>Reset functionality look like</figcaption></figure><p>During my analysis and multiple attempts, I noticed the Reset token, which looked something like this: <a href="https://redacted.com/O948DJDSH8E3DUHWS==">https://redacted.com/resetpassword/O948DJDSH8E3DUHWS</a>. It was clear to me that this token was encoded in base64.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/626/1*pzgXc3DrYQ7rqYZoLFWc9w.png" /><figcaption>Try to decode with all method</figcaption></figure><p>I decided to decode the token and found that it was surprisingly easy to do so. Within the token, there was a 6-digit value along with the email address.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/399/1*inHgRVKGxPy9M0VYlYFVQw.png" /><figcaption>After decode value</figcaption></figure><p>All I <strong>had </strong>to do was replace the value with the victim’s email and provide a unique but easily guessable value. I then encoded this modified value using the same base64 method and pasted the token in the URL.</p><p>Enter the new password and BOOOOMMMMMMMMMMMMMMMMM.</p><p>After that, I simply entered a new password, and the result was an unauthorized entry into the victim’s account.</p><p>Reported — 7 Sep</p><p>Accepted — 9 Sep</p><p>Join Whatsapp New tips:- <a href="https://whatsapp.com/channel/0029Va571Q91NCrdx5FxcY09">https://whatsapp.com/channel/0029Va571Q91NCrdx5FxcY09</a></p><p>Tip: Always Understand The workflow of website, Make it very Simple</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c61685db5490" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>