<?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 Omer Mohsen on Medium]]></title>
        <description><![CDATA[Stories by Omer Mohsen on Medium]]></description>
        <link>https://medium.com/@omerasraan?source=rss-66fcc31b18ed------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*yxoeTlwwRGFNJyIvrHAnsQ.jpeg</url>
            <title>Stories by Omer Mohsen on Medium</title>
            <link>https://medium.com/@omerasraan?source=rss-66fcc31b18ed------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 21:33:27 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@omerasraan/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[One parameter & Two IDORs]]></title>
            <link>https://medium.com/@omerasraan/one-parameter-two-idors-d26c76620e32?source=rss-66fcc31b18ed------2</link>
            <guid isPermaLink="false">https://medium.com/p/d26c76620e32</guid>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[idor]]></category>
            <category><![CDATA[bug-bounty-tips]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[vulnerability]]></category>
            <dc:creator><![CDATA[Omer Mohsen]]></dc:creator>
            <pubDate>Sat, 29 Aug 2026 14:45:29 GMT</pubDate>
            <atom:updated>2026-08-29T14:45:29.703Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kzdNtGKkfjt73hNgIn-njw.jpeg" /></figure><p>بسم الله الرحمن الرحيم, اللهم صلي وسلم وزد وبارك على سيدنا محمد وعلى آله وصحبه وسلم</p><p>Hi this <strong>Omar Mohsen</strong> and this is how one parameter broke the trust boundary twice.</p><p>The program is a public program on yes we hack.</p><p>In this program you can add your devices and connect to them remotly through the application.</p><p>You create a group and add the devices also add members to the group with different permissions.</p><p>And it’s required to add a member that he is already in your contact list (that means he accepted an invitation request from you).</p><p>I started testing the “<strong>add member</strong>” functionality and the request looks like this:</p><pre>PUT /api/manageddevices/v2/groups/{group-UUID} HTTP/2<br>Host: web.target.com<br>Content-Type: application/json<br>X-Csrf-Token: {CSRF-token};<br>    {<br>      &quot;displayName&quot;: {&quot;operation&quot;: &quot;Update&quot;, &quot;displayName&quot;: &quot;privesc test&quot;},<br>      &quot;managers&quot;: [<br>        {<br>          &quot;operation&quot;: &quot;Add&quot;,<br>          &quot;displayName&quot;: &quot;created victim&quot;,<br>          &quot;managerId&quot;: &quot;b54ce6b0-a015-4844-afad-4360e8fa1c2f&quot;,<br>          &quot;permissionSets&quot;: [&quot;EasyAccess&quot;],<br>          &quot;accountId&quot;: 332157636<br>        }<br>      ]<br>    }</pre><p>i noticed two IDs here the “<strong>managerId</strong>” and the “<strong>accountId</strong>”, first i tried to change the accountId but it didn’t work, so it’s safe.</p><p>so now i have to test the mangerId, i picked a “<strong>managerId</strong>” for a user just signed up and have no contacts, and for my suprise the response is <strong>200 OK, confirming injection succeeded.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/606/1*Ny27yMrtbf1_RmA4e8kcIw.png" /></figure><p>response:</p><pre>{<br>      &quot;permissionSets&quot;: [&quot;PolicyAdministration&quot;,&quot;GroupAdministration&quot;,&quot;EasyAccess&quot;,&quot;InheritDeviceAdministration&quot;,&quot;InheritDeviceDescription&quot;,&quot;InheritPolicyAdministration&quot;,&quot;CustomFieldsAdministration&quot;],<br>      &quot;displayName&quot;: &quot;created victim&quot;,<br>      &quot;isInvalidManager&quot;: false,<br>      &quot;managerId&quot;: &quot;b54ce6b0-a015-4844-afad-4360e8fa1c2f&quot;,<br>      &quot;managerType&quot;: &quot;Account&quot;,<br>      &quot;accountId&quot;: 331931452,<br>      &quot;userGroupId&quot;: 0,<br>      &quot;companyId&quot;: 0<br>}</pre><p>luckily the request only depends on the “<strong>managerId</strong>” so it’s the only parameter that is matters.</p><p>Now i can report this alone but it’s would considered as low because of the UUID, so i tried to find a way to obtain “managerId” of other users, and i find this request:</p><blockquote>GET /api/manageddevices/v2/groups/{groupId}</blockquote><p>and it returns all user’s “<strong>mangerId</strong>” in the response, and any body could access this data even if he is “view-only”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AYvAKJnLXrzPT_fsJIaJvA.png" /></figure><p>So that makes it higher in severity, i then reported the bug and they closed it as “informative”.</p><p>From their perspective they think that this doesn’t warrant a fix.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/548/1*dFmAB125aV3Y50wMHzjeOA.jpeg" /><figcaption>no fair</figcaption></figure><p>The second IDOR is in the same section.</p><p>I was creating a new group with this request:</p><pre>POST /api/manageddevices/v2/groups HTTP/2<br>Host: web.target.com<br>Content-Type: application/json<br>X-Csrf-Token: &lt;redacted&gt;<br><br><br>{<br>  &quot;displayName&quot;: {<br>    &quot;displayName&quot;: &quot;created by hacker&quot;,<br>    &quot;operation&quot;: &quot;Add&quot;<br>  },<br>  &quot;managers&quot;: [<br>    {<br>      &quot;accountId&quot;: &lt;victim_accountId&gt;,<br>      &quot;operation&quot;: &quot;Add&quot;,<br>      &quot;permissionSets&quot;: [&quot;ManagerAdministration&quot;, &quot;GroupAdministration&quot;]<br>    }<br>  ]<br>}</pre><p>Here i though about test IDOR in the “<strong>accountId</strong>” param and i added an ID of a user in my contact list and i noticed that it worked</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*O3M-vXFVTlKfOnGRAnLC-A.png" /></figure><p>this is an IDOR which allow attacker to create groups into the victim’s group list, But i tried to change the ID to someone that is not in my contact list and unfortunately it didn’t work as expected.</p><p>So for now it’s low severity because you have to add your victim in your contact list first, and what makes the severity lower is that i only create the group their but i can’t add myself or perform any actions.</p><p>So i though about using the “<strong>managerId</strong>” which was vulnerable in the other request.</p><p>and i quickly obtained a victim’s “<strong>managerId</strong>” that is not in my contact list and added it to the request:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cwuS3cmMHm2E0Vah7nfklA.png" /></figure><p>And it works.</p><p>now time to check the group creation:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wEFY_msqpK6oGPLuiUm35w.png" /><figcaption>it’s added successfully</figcaption></figure><p>So quickly reported this one and it was duplicate:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/563/1*0MBDm7b5L4ETeqiQp-yUJg.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d26c76620e32" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Unauthorized File Deletion via Broken Access Control]]></title>
            <link>https://medium.com/@omerasraan/unauthorized-file-deletion-via-broken-access-control-63c287abcd29?source=rss-66fcc31b18ed------2</link>
            <guid isPermaLink="false">https://medium.com/p/63c287abcd29</guid>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[privilege-escalation]]></category>
            <category><![CDATA[bug-bounty-tips]]></category>
            <category><![CDATA[broken-access-control]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Omer Mohsen]]></dc:creator>
            <pubDate>Wed, 21 Jan 2026 21:26:05 GMT</pubDate>
            <atom:updated>2026-01-21T21:31:19.416Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/512/1*S6RV48uiywgAI3W1a9VFyA@2x.jpeg" /></figure><h2>Summary</h2><p>A broken access control vulnerability was identified in a CRM application that allows a restricted user with view/download-only permissions to delete uploaded files by Org administrator.</p><p>Vulnerability Type</p><p>•	Broken Access Control</p><p>•	Privilege Escalation (RBAC Bypass)</p><p>Attack Scenario</p><p>1.	A privileged user uploads a file to a CRM record.</p><p>2.	observe that the Delete option in the restricted user’s UI is disabled</p><p>3. In the administrator’s tap click <strong>Delete </strong>and<strong> </strong>intercept the DELETE request .</p><p>4.	replace the administrator’s copy session cookies with restricted user and send.</p><p>5.	The server responds with 200 OK, and the file is deleted.</p><p><strong>NOTE</strong></p><p>This issue looks simple, but it only surfaced after testing ~50 different actions across multiple roles. Most checks worked correctly this was the one action that didn’t.</p><p>Broken access control testing is about persistence: test every action, even when nothing breaks.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=63c287abcd29" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Privilege Escalation via IDOR Allows Unauthorized User Injection]]></title>
            <link>https://medium.com/@omerasraan/privilege-escalation-via-idor-allows-unauthorized-user-injection-f822aa64b528?source=rss-66fcc31b18ed------2</link>
            <guid isPermaLink="false">https://medium.com/p/f822aa64b528</guid>
            <category><![CDATA[access-control]]></category>
            <category><![CDATA[privilege-escalation]]></category>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Omer Mohsen]]></dc:creator>
            <pubDate>Sun, 28 Sep 2025 18:27:36 GMT</pubDate>
            <atom:updated>2025-09-28T18:27:36.083Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*b6wPjoa-6TO4pfep5I5lhg.jpeg" /></figure><p><strong>بسم الله الرحمن الرحيم</strong></p><p><strong>اللهم صلي وسلم وزد وبارك على سيدنا محمد وعلى آله وصحبه وسلم , اللهم علمنا ما ينفعنا وانفعنا بما علمتنا</strong></p><p>Hi again, it’s Omar and today i want to share with you my first bounty on a public yeswehack program, and an interesting privilege escalation.</p><p><strong>A quick overview over the program:</strong></p><p>The program is simply make you manage devices remotely, by adding these devices to groups and you also can assign managers to these groups to manage the devices with different permissions.</p><p>First it took between 2 to 3 days of reviewing the program before start testing.</p><p>As said we can add contacts in this app so i created two accounts and connected them.</p><p>After, navigate to the devices tap where you can add managers from your contacts and assign them permissions.</p><p>After adding managers to my devices and assign him a role you can change his permission later.</p><p><strong>The request looks like this:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/986/1*rpl8lw1KoTcmMoiu3Gjrag.png" /></figure><p>As we can see there is a parameter called “contactId”.</p><p>Yes it’s what you though i will change the id to any arbitrary ID.</p><p>And it’s 200 OK✅!!!!!!!!!! Quickly navigating to the website to see what happened.</p><p>Actually it was kinda funny to see arbitrary user added to your group😂.</p><p>Note that this is not an IDOR because i was able to add users as an owner (which is normal), but the difference was that i was able to bypass my range of adding users which was my contacts.</p><p>That’s it reported and got the bounty.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1eqUBPg8LB0gjYfb6WYeWw.png" /></figure><p>At the end i want to say that i found this bug after nearly test every possible idea and function i could test, and it was the only one that worked after a while of testing, so be patient.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f822aa64b528" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[GraphQL Role Escalation and Data Exposure]]></title>
            <link>https://medium.com/@omerasraan/graphql-role-escalation-and-data-exposure-4cc340431289?source=rss-66fcc31b18ed------2</link>
            <guid isPermaLink="false">https://medium.com/p/4cc340431289</guid>
            <category><![CDATA[sensitive-data-exposure]]></category>
            <category><![CDATA[security-testing]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[graphql]]></category>
            <category><![CDATA[web-application-security]]></category>
            <dc:creator><![CDATA[Omer Mohsen]]></dc:creator>
            <pubDate>Mon, 09 Jun 2025 22:10:40 GMT</pubDate>
            <atom:updated>2025-06-09T22:10:40.341Z</atom:updated>
            <content:encoded><![CDATA[<p>.بسم الله الرحمن الرحيم, اللهم صلي وسلم وزد وبارك على سيدنا محمد وعلى آله وصحبه وسلم</p><p>Hey everyone, it’s Omar here! This is my first write-up, and I’m excited to share how I discovered two impactful bugs in a program using GraphQL Enumeration.</p><p>The program “example.com” helps teams work together by creating workspaces where people can collaborate on building websites and web apps without coding, using easy drag-and-drop tools.</p><p>First finding: <strong>Publisher Can Invite Admin Users Without Proper Permissions</strong></p><p>Let’s walk into the steps:</p><p>1️⃣ I started by using the program as a normal user to understand its logic.</p><p>2️⃣ I intercepted the requests using Burp Suite and noticed the program uses <strong>GraphQL </strong>to fetch data.</p><p>3️⃣ Using the <strong>InQL extension</strong> in Burp Suite, I gathered all <strong>GraphQL </strong>mutations.</p><p>➜ <strong>How to use InQL:</strong></p><ul><li>Add the URL of the GraphQL endpoint.</li><li>In the request template, select it and click “Analyze.”</li><li>You’ll see all the GraphQL mutations and queries.</li></ul><p>4️⃣ While analyzing, I found this mutation: <strong>createWorkspaceInvites</strong></p><p>it looked like this:</p><pre>mutation createWorkspaceInvites($input: CreateWorkspaceInvitesInput!) {<br>  createWorkspaceInvites(input: $input) {<br>    workspaceInvites {<br>      id<br>      email<br>      createdAt<br>      existingUser<br>      redeemed<br>      role<br>      workspaceName<br>    }<br>  }</pre><p>Only owners and admins should be able to send invites.</p><p>5️⃣ I sent a request as a <strong>Publisher</strong> (who shouldn’t have invite permissions) with this query:</p><pre>{&quot;input&quot;:{&quot;data&quot;:[{&quot;email&quot;:&quot;victim@gamil.com&quot;,&quot;role&quot;:&quot;GUEST&quot;,&quot;workspaceId&quot;:&quot;WorkspaceID&quot;,&quot;createdById&quot;:&quot;THE ID OF THE OWNER&quot;}]}}</pre><p>6️⃣ At first, I saw this error:</p><pre>&quot;message&quot;:&quot;Unknown operation named \&quot;InviteUsersCreateWorkspaceInvites\&quot;.&quot;</pre><p><strong>This means the server expected that operation name.</strong></p><p>7️⃣ I resent the correct query:</p><pre>mutation InviteUsersCreateWorkspaceInvites($input: CreateWorkspaceInvitesInput!) {<br>  createWorkspaceInvites(input: $input) {<br>    workspaceInvites {<br>      id<br>      email<br>      createdAt<br>      existingUser<br>      redeemed<br>      role<br>      workspaceName<br>    }<br>  }<br>}</pre><p>with the same Variables.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fiiXCpt994vE62828avL0A.png" /></figure><p>✅ The invite was created successfully — a <strong>Business Logic Access Control</strong> issue.<br> 💣 But it got even worse: I tried sending an invite with the role “ADMIN” — and it <strong>worked</strong>!🔥🔥🔥🔥<br> A normal user could escalate their privileges by inviting themselves as an admin.</p><p>I reported this bug to the program through Bugcrowd.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Tr3av7yWxyCaTwXFyqDsaw.png" /></figure><p><strong>Second Finding: Unauthorized Access to Billing and Plan Data</strong></p><p>While testing GraphQL endpoints, I found a critical issue exposing sensitive billing data. Even as an <strong>Editor</strong> (who shouldn’t have this access), I could retrieve full billing and subscription details.</p><p><strong>Steps to Reproduce:</strong></p><p>1️⃣ Log in as an <strong>Owner</strong> and navigate to the billing settings page.<br> 2️⃣ In Burp Suite, intercept the GraphQL request:<br> ➜ The request body includes the PlanSettingsBillingWorkspace operation.<br> 3️⃣ Copy the entire request body.<br> 4️⃣ Log out and switch to an <strong>Editor</strong> account in the same workspace.<br> 5️⃣ Resend the exact same request in Burp Suite using the Editor’s session cookies.</p><p>✅ The server still responded with full billing data (e.g., customer IDs, invoices, payment methods) — information that should only be accessible by <strong>Owners/Admins</strong>.</p><p><strong>Impact:</strong><br> Editors could access <strong>sensitive workspace billing data</strong> that should be restricted to higher-privileged users.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OT6YKVSUmiyCLRiaas-IVw.png" /></figure><p><strong>Clarification:</strong><br> Although my report was marked as “Informational” and a “duplicate,” this doesn’t mean the bug wasn’t real or impactful. It only means the team was already aware of it — not that it wasn’t a valid vulnerability.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4cc340431289" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>