<?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 Hari Kishore on Medium]]></title>
        <description><![CDATA[Stories by Hari Kishore on Medium]]></description>
        <link>https://medium.com/@harikishorevp?source=rss-337e0021593e------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*TF5wPkms2hLX3JlnHAp2Yw.jpeg</url>
            <title>Stories by Hari Kishore on Medium</title>
            <link>https://medium.com/@harikishorevp?source=rss-337e0021593e------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 22 Nov 2026 20:45:05 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@harikishorevp/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How I Uncovered an IDOR That Exposed Other Employee’s Personal Data]]></title>
            <link>https://medium.com/@harikishorevp/idor-that-exposed-other-employees-personal-data-4ab9a85b9579?source=rss-337e0021593e------2</link>
            <guid isPermaLink="false">https://medium.com/p/4ab9a85b9579</guid>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[bug-bounty-tips]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[web-application-security]]></category>
            <category><![CDATA[bug-bounty-writeup]]></category>
            <dc:creator><![CDATA[Hari Kishore]]></dc:creator>
            <pubDate>Fri, 19 Sep 2025 09:25:03 GMT</pubDate>
            <atom:updated>2025-09-19T09:25:03.560Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7XFIFPuv2zAD_wuV5gdhpQ.jpeg" /></figure><p>Hello Everyone, Hari Kishore here, I’m a Security Researcher and an Ethical Hacker.</p><p>This write-up is about how I discovered a high severity vulnerability that led to the <strong>exposure of several co-workers PII data</strong> like name, phone number, email address, date of birth, country, preferred currency and more.</p><blockquote>⚠ <strong>Disclaimer: </strong>The vulnerability was identified and resolved within a very short timeframe, and I’m sharing this write-up several months later. This content is intended solely for educational purposes. To maintain confidentiality and privacy, no company names will be disclosed. Please do not use this information for any unlawful activities — I will not be held responsible for any misuse.</blockquote><p>One fine day I was pentesting a web application (can’t share its name for confidentiality). This web application is a <strong>Multi-tenant application — </strong>a single platform that server multiple groups(tenants) while keeping their data separate.</p><figure><img alt="Multiple tenants in a single web applications" src="https://cdn-images-1.medium.com/max/1024/1*OX-irzracTjWujZouFy3pg.png" /><figcaption>Multi tenant application</figcaption></figure><p>Think of it as an apartment building where everyone shares the same structure but each tenant’s apartment is locked. In technical terms, it’s one codebase and infrastructure securely serving <strong>different organizations and user roles </strong>without mixing their data.</p><p>Here’s how the structure looked:</p><ul><li>Each organization has one <strong>admin account</strong></li><li>Under that admin, there are multiple <strong>employee accounts</strong></li><li>Many such organizations coexists in the same application</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RyVO_vAyJann_YbsFOCK1w.jpeg" /><figcaption>Multi tenant application structure</figcaption></figure><h3>Roles and their privileges</h3><p><strong>Admin: C</strong>an view employee’s data, manage settings and add/remove employees.</p><p><strong>Employee</strong>: Can view <strong>only their own </strong>data, with no access to other profiles or organizations data.</p><p>For testing purposes I created <strong>my own organization</strong>, added an admin account and several employee accounts under it.</p><p>Now as usual I started to use the application like a normal user from both admin and employee accounts to understand the flows and functionality of the application.</p><p>From the employee account if I clicked on my profile icon, it is displaying all my personal data. OK great! works good! but the backend request to fetch this data looks like this:</p><figure><img alt="HTTP request to get the profile data of your account" src="https://cdn-images-1.medium.com/max/1015/1*5ORbM3Utb6XFe2neeCXtYw.jpeg" /><figcaption>HTTP request to fetch the profile information/data of your account.</figcaption></figure><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Ftenor.com%2Fembed%2F21708339&amp;display_name=Tenor&amp;url=https%3A%2F%2Ftenor.com%2Fview%2Fthe-rock-rock-gif-21708339&amp;image=https%3A%2F%2Fmedia.tenor.com%2FGBdIH5sL4XQAAAAN%2Fthe-rock-rock.png&amp;type=text%2Fhtml&amp;schema=tenor" width="600" height="400" frameborder="0" scrolling="no"><a href="https://medium.com/media/4878bd91bdf15745456f5d947357cae7/href">https://medium.com/media/4878bd91bdf15745456f5d947357cae7/href</a></iframe><p><strong>KINDA SUS!! </strong>if you know you know</p><p>Whenever there is a ID, number or any numerical data present in the request like the above request it may be vulnerable to <a href="https://portswigger.net/web-security/access-control/idor"><strong>IDORs</strong></a>. IDOR which stands for <strong>Insecure Direct Object Reference</strong> is a type of security vulnerability in web applications.</p><p>So, I intercepted the request and swapped my ID for another employee’s ID I’d created earlier.</p><figure><img alt="HTTP request with the user ID modified to other user’s ID" src="https://cdn-images-1.medium.com/max/547/1*0-pEG-sshU5eNUyeeyFZAg.jpeg" /><figcaption>HTTP request with the user ID modified to other user’s ID</figcaption></figure><p>The result?</p><p>The server returned the other employee’s full profile data without any errors, no authorization checks.</p><figure><img alt="HTTP response with other user’s data" src="https://cdn-images-1.medium.com/max/547/1*klFkkAtrnBsYOBRStH0eJA.jpeg" /></figure><figure><img alt="HTTP response with other user’s data" src="https://cdn-images-1.medium.com/max/547/1*NnWvpNfQp6WyjwT8VTwNfQ.jpeg" /><figcaption>HTTP response with other user’s data</figcaption></figure><p>Now you might wonder:</p><blockquote>“But you already knew the other employee’s ID. How would a real attacker or hacker will find it?”</blockquote><p>An attacker or hacker wouldn’t need insider knowledge. They could <strong>enumerate IDs</strong> by guessing or using automated tools like <strong>Burp Suite Intruder. </strong>For example:</p><p>If their user ID was <em>801335</em>, they could try <em>801336</em>, <em>801337</em> and so on.</p><ul><li>Burp Suite could automate this by making hundreds of requests until valid IDs return data using Intruder module.</li></ul><p>I set intruder to test IDs between <em>801336</em> and <em>801500</em>. Valid IDs responded with <strong>200 OK</strong>(data exposed), while invalid IDs returned <strong>404 Not Found</strong>.</p><figure><img alt="Enumerating other user IDs automatically" src="https://cdn-images-1.medium.com/max/558/1*blf02B0-of8UUB1vToMJeg.png" /><figcaption>Here all the 200 status code means these are valid usernames and we’ve got their data, but 404 means that user ID doesn’t exists and no data has been returned for that user ID.</figcaption></figure><p>These are the results of my enumeration, where I was able to access the data of three employees. I found only three records because I had created just three test employee accounts. In a real organization, however, this vulnerability could potentially expose the data of many employees.</p><p>This confirms the vulnerability: <strong>any employee could view other employee’s data within the same organization.</strong></p><p>But this vulnerability is only <strong>limited within a particular organization. </strong>A employee from a different organization cannot see other organization employee’ data.</p><h3>Why this vulnerability exists?</h3><p>The developer had implemented <strong>tenant-level restrictions</strong> correctly — employees from one organization couldn’t view data from another.<br> But <strong>role-level access control</strong> within the same organization was <strong>misconfigured</strong>. The app didn’t properly check whether an employee was authorized to view another employee’s profile.</p><h3>Mitigation</h3><p>This was a classic IDOR vulnerability, easy to miss but dangerous if exploited. It’s a reminder to:</p><ul><li>Always enforce authorization checks on the server side</li><li>Test horizontal privilege escalation(same level roles accessing each other’s data).</li><li>Use automated security testing tools along with manual penetration testing.</li></ul><p>Thank you for reading! I truly appreciate your interest and hope you found this write-up valuable. If you have any questions or needs something explained better? Leave a comment below — I’d be happy to help.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4ab9a85b9579" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>