<?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 qabs on Medium]]></title>
        <description><![CDATA[Stories by qabs on Medium]]></description>
        <link>https://medium.com/@gabriel_74244?source=rss-e9cb40ccdbf0------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*kOK-RlufdbdtaSc2_aBNmg.jpeg</url>
            <title>Stories by qabs on Medium</title>
            <link>https://medium.com/@gabriel_74244?source=rss-e9cb40ccdbf0------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 21:09:35 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@gabriel_74244/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[ My First Valid Bug: How I Gained Shadow Admin Powers After Demotion]]></title>
            <link>https://medium.com/@gabriel_74244/my-first-valid-bug-how-i-gained-shadow-admin-powers-after-demotion-51554bd3ff10?source=rss-e9cb40ccdbf0------2</link>
            <guid isPermaLink="false">https://medium.com/p/51554bd3ff10</guid>
            <dc:creator><![CDATA[qabs]]></dc:creator>
            <pubDate>Tue, 17 Jun 2025 17:03:17 GMT</pubDate>
            <atom:updated>2025-06-17T17:03:17.696Z</atom:updated>
            <content:encoded><![CDATA[<h3>🚀 Introduction</h3><p>This is the story of how I found my <strong>first valid bug</strong> as a bug bounty hunter — and how I learned that even when a bug is marked as a duplicate, the journey is <strong>still a win</strong>.</p><p>While the platform eventually told me the issue had been submitted earlier, what I discovered taught me more than any tutorial ever could. It gave me real-world confidence, and now I’m sharing it to help other new hunters level up faster.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Rwd_-6Qh7aQpOq8X5gsS6A.png" /></figure><h3>🧭 The Target and My Approach</h3><p>The target was a well-known CRM platform where users can collaborate on managing contacts, deals, tickets, marketing data, and more. I was focused on <strong>Broken Access Control</strong>, particularly what happens when an admin user is <strong>demoted</strong> to a lower privilege role.</p><p>My hypothesis: <strong>What if role changes in the UI don’t fully take effect in the backend?</strong></p><p>To test, I spun up two accounts: <strong>User A (Admin) &amp; User B (Standard User)</strong></p><p>User A promoted User B to Admin, gave them privileges, assigned some resources, and then <strong>revoked those admin rights later.</strong> From there, I started hunting.</p><h3>🔍 The Vulnerability</h3><p>What I found was both simple and devastating:</p><blockquote><em>After being demoted from admin to a normal user, </em><strong><em>User B could still perform critical admin actions</em></strong><em> — just not through the UI.</em></blockquote><p>Using <strong>captured requests in Burp Suite</strong>, I was able to:</p><p><strong>Create</strong> sensitive CRM records like tickets, contacts, deals, calls, notes, marketing events, and carts.</p><p><strong>Assign</strong> these objects to <strong>any user</strong>, including Admins.</p><p><strong>Delete</strong> records — including ones created by admins — even though the UI completely blocked this.</p><p>In other words, a demoted user became a <strong>shadow admin</strong>.</p><p>The worst part? <strong>These actions persisted even after logout and reauthentication</strong>.</p><h3>⚔️ Real-World Scenario</h3><p>Imagine this:</p><p>A disgruntled employee is demoted from Admin to standard user. Before leaving the company, they still have access to Burp logs from their Admin days. They use those old requests to:</p><p>Create fake tickets or deals,</p><p>Reassign tasks to confuse teammates,</p><p>Delete key contacts or records from the system entirely.</p><p>The business might <strong>lose valuable customer data</strong>, miss deadlines, or completely lose visibility into sales pipelines — all from a user who, <strong>on paper, shouldn’t have any admin access</strong>.</p><h3>🧪 Steps to Reproduce</h3><p><strong>Create 2 accounts</strong>: A (admin), B (standard user).</p><p><strong>Promote B to admin</strong>.</p><p>B performs some admin tasks (e.g. create and assign a contact).</p><p><strong>Demote B back to standard user</strong>.</p><p>Replay a previously captured API request from B — such as a DELETE or POST.</p><p>✅ Request goes through. Action is completed, despite B no longer being admin.</p><p>In one case, I deleted a contact created by the Admin using B’s stale request — the contact disappeared from <strong>both accounts</strong>.</p><h3>❌ The Platform’s Response</h3><p>Eventually, I received a response from the program:</p><blockquote>“Unfortunately, this was submitted previously by another researcher… For transparency, I am including an excerpt: ‘Removed or Demoted Users Can Modify Company Settings via Replayed Requests (Even After Logout)’ — marked as Informative.”</blockquote><p>I was bummed — but also proud.</p><p>Why? Because I wasn’t wrong. I’d found a real issue. In fact, I believe my variant showed <strong>more severe business impact</strong> than the original.</p><h3>💡 What I Learned</h3><p><strong>Test post-demotion behavior</strong> — access doesn’t always get fully revoked.</p><p><strong>The UI lies. The API tells the truth.</strong> Always inspect backend behavior.</p><p><strong>Replay old requests</strong> — even after role or session changes.</p><p><strong>Not all duplicates are equal</strong> — yours may have more depth.</p><p><strong>Report everything anyway</strong> — validation builds confidence.</p><h3>🛠️ Tips for New Bug Bounty Hunters</h3><p>Use two accounts to simulate permission dynamics.</p><p>Focus on business logic flaws — they often go deeper than IDORs.</p><p>Log your findings and rejected reports — they’re gold for future testing.</p><p>Stay calm when you get a duplicate — you’re still learning and winning.</p><h3>🏁 Final Thoughts</h3><p>This was my <strong>first valid bug</strong> — and even if it didn’t result in a bounty, it proved I’m on the right track. It showed me how access control issues work in the real world, how to think like an attacker, and how to write strong reports. I’m just getting started.</p><p>✌️ <strong>Thanks for reading!</strong><br> If you’re a new hunter like me, I hope this gave you insight and encouragement. Follow me for more real-world bug bounty breakdowns.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=51554bd3ff10" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>