<?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 Georgezakary on Medium]]></title>
        <description><![CDATA[Stories by Georgezakary on Medium]]></description>
        <link>https://medium.com/@georgezakary60?source=rss-1bed3c29ba55------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*-5uUveaOVGzJ1VCh</url>
            <title>Stories by Georgezakary on Medium</title>
            <link>https://medium.com/@georgezakary60?source=rss-1bed3c29ba55------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 00:40:13 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@georgezakary60/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 a single JSON parameter allowed unauthorized manipulation(IDOR)]]></title>
            <link>https://medium.com/@georgezakary60/how-a-single-json-parameter-allowed-unauthorized-manipulation-idor-842c5ef30110?source=rss-1bed3c29ba55------2</link>
            <guid isPermaLink="false">https://medium.com/p/842c5ef30110</guid>
            <category><![CDATA[idor]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[vulnerability]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <dc:creator><![CDATA[Georgezakary]]></dc:creator>
            <pubDate>Tue, 24 Mar 2026 20:36:48 GMT</pubDate>
            <atom:updated>2026-03-24T20:36:48.639Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>It started with a single parameter I wasn’t supposed to control…</blockquote><p>In bug bounty hunting, it’s tempting to chase complex vulnerabilities — race conditions, chained exploits, or crypto flaws.<br> But some of the most impactful findings come from something much simpler:<strong>A system trusting user input just a little too much.</strong></p><p>This is the story of how a single JSON parameter exposed a critical access control flaw in an affiliate platform.</p><h3>Understanding the Target</h3><p>Whenever I approach a new program, I don’t start with payloads — I start with <strong>business logic</strong>.</p><p>This target was an affiliate platform. One component immediately stood out:</p><p><strong>Server-to-Server (S2S) Postbacks</strong></p><p>These are essentially webhooks used to track conversions — registrations, purchases, or other valuable actions.<br> They directly influence <strong>revenue attribution</strong>.</p><blockquote><em>If an attacker can control postbacks, they can manipulate tracking — and potentially money.</em></blockquote><h3>🔍 Intercepting the Request</h3><p>Using Burp Suite, I modified a postback URL in my account (Account A) and intercepted the request:</p><pre>PUT /api/affiliate/postback/13306 HTTP/2<br>Host: target.com<br>Content-Type: application/json</pre><pre>{<br>  &quot;affiliateId&quot;: 1397498,<br>  &quot;url&quot;: &quot;https://attacker.oastify.com&quot;,<br>  &quot;name&quot;: &quot;Test Postback&quot;<br>}</pre><p>One field immediately caught my attention:</p><pre>&quot;affiliateId&quot;: 1397498</pre><p>This raised a critical question:</p><blockquote><em>Why is the server accepting an affiliate ID from the client?</em></blockquote><p>In a properly secured system, the backend should derive the user’s identity from the session — not from user-controlled input.</p><h3>🧪 The Test: Breaking Assumptions</h3><p>To validate this, I performed a simple A/B test.</p><ul><li><strong>Account A</strong> → my attacker account</li><li><strong>Account B</strong> → a separate test account (victim)</li></ul><h3>Steps:</h3><ol><li>Logged in as Account A</li><li>Intercepted the postback update request</li><li>Replaced:</li></ol><ul><li>“affiliateId”: 1397498 with Account B’s ID</li></ul><p>4. Forwarded the request</p><p>The server responded:</p><pre>HTTP/2 200 Ok</pre><p>At this point, the response alone wasn’t enough.<br> So I switched to Account B and refreshed the page.</p><h3>💥 The Result</h3><p>The postback URL for Account B had been successfully modified.</p><p>No authorization check.<br> No validation.<br> No restriction.</p><p>Just blind trust in user input.</p><p>Ultimately, the Bugcrowd triage team validated the exploit, accepting it as a P3 vulnerability. While it was flagged as a duplicate this time around, having the finding confirmed is a testament to the importance of always checking those hidden JSON parameters.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VwuescsWlvHxxepmilhx0w.jpeg" /></figure><p>Happy hunting!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=842c5ef30110" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>