<?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 Ahmed Salem on Medium]]></title>
        <description><![CDATA[Stories by Ahmed Salem on Medium]]></description>
        <link>https://medium.com/@0x_Salem?source=rss-6154b0386d8c------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*OIVU8cR9I9GQAp_mkL-qEg.jpeg</url>
            <title>Stories by Ahmed Salem on Medium</title>
            <link>https://medium.com/@0x_Salem?source=rss-6154b0386d8c------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 23:57:36 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@0x_Salem/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[You Say Premium Features? Well, Not Anymore]]></title>
            <link>https://medium.com/@0x_Salem/you-say-premium-features-well-not-anymore-e15d5afc14c9?source=rss-6154b0386d8c------2</link>
            <guid isPermaLink="false">https://medium.com/p/e15d5afc14c9</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[bug-bounty-tips]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[bug-bounty-writeup]]></category>
            <dc:creator><![CDATA[Ahmed Salem]]></dc:creator>
            <pubDate>Wed, 02 Apr 2025 01:23:22 GMT</pubDate>
            <atom:updated>2025-07-24T02:07:16.352Z</atom:updated>
            <content:encoded><![CDATA[<p><em>How I Exploited an IDOR Flaw to Unlock Target.com’s Paid Templates</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/546/1*TpgDgBS0kAGqx9Y78huAVQ.jpeg" /></figure><p>Hi, my name is Ahmed. I’m a noob bug bounty hunter, and I’d like to share with you my finding in a Hackerone’s public program</p><p>Before we begin, I offer my prayers for my brothers in Palestine and Sudan, asking Allah to grant them unwavering strength and ultimate victory</p><p>this is my first write-up so I will try to make it brief and jump straight to the main idea, without further delay let’s dive in</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/474/1*zuDpBnB0s_UYA3QmMzhULw.jpeg" /></figure><h3>Overview</h3><p><strong>target.com </strong>is a platform designed to help users create presentations using boards, instead of working from scratch you can add templates to your boards and work on them, some of them are only for paid plan users, if a free plan user tries to access them, he will be asked to upgrade to a paid plan, so he can only preview them and feel sad, well that’s for free users not free hackers😉</p><h3>The story</h3><p>after a few days of working on the app and not finding any BAC/IDOR, I asked myself what if I could find an IDOR when adding a template or removing it, when adding a free template, the app sent this request:</p><p><em>GET /api/template-metadata-service/application/space-templates/for-preview/[template-id]?locale=en_US</em></p><p>so I thought what if I change ‘<em>template-id’ </em>to a paid template id</p><p>I went to preview paid template function, to find the paid template ID, but when I swapped the free template ID with the paid one nothing happened, and the free template was added</p><p>upon further investigation I noticed that the app was sending a request to make the template followed by more requests that contain the free templateID in multiple places in the body, so I thought maybe the server checks one these requests as well, that’s when burp Match and replace come to play, adding this role to request header and request body</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/710/1*JJBUV1K6Z4mMaQjA4McLFA.png" /><figcaption>matched the free template id with the paid one (the metadata-id is what the paid template id was called in the program)</figcaption></figure><p>and boom 💥 I know can access any amount of any paid template</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/466/1*mDssDxBvL8TeP6Mvba1rxg.jpeg" /></figure><p>I quickly made a report and submitted the bug with high severity, just to be hit with an informative two days later, saying that they no longer accept this kind of bugs for some reason😅</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/355/1*Urlpwe6U6Ybp7MhPjskkMA.png" /></figure><h3>final thoughts</h3><p>the program had over 200 bugs and there was no signs of any BAC/IDOR bugs (for me at least), so when I found this bug, I was really amazed how such a thing wasn’t reported before, the testing itself was not that easy but I tried to make things simple and clear, during these few days I learned that you should test every function on the app and don’t assume that because some of them are protected that all of them are and always be patient, the more you understand the program the easier it is to hack and get ideas</p><p>I hope that you enjoyed this write-up and it was useful, let me know if you have any suggestions related to bug hunting or my writing skills :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e15d5afc14c9" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>