<?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 Abu Maryam Rahmat on Medium]]></title>
        <description><![CDATA[Stories by Abu Maryam Rahmat on Medium]]></description>
        <link>https://medium.com/@abumaryamrahmat?source=rss-109b9703dc0a------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*1Bhr5nfzm62a7D0-bQ21nA.jpeg</url>
            <title>Stories by Abu Maryam Rahmat on Medium</title>
            <link>https://medium.com/@abumaryamrahmat?source=rss-109b9703dc0a------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 00:55:42 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@abumaryamrahmat/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 Simply Bypassed a 400 Bad Request and Escalated My Access from Member to Owner]]></title>
            <link>https://abumaryamrahmat.medium.com/%D8%A8%D8%B3%D9%85-%D8%A7%D9%84%D9%84%D9%87-%D8%A7%D9%84%D8%B1%D8%AD%D9%85%D9%86-%D8%A7%D9%84%D8%B1%D8%AD%D9%8A%D9%85-7e837698fe4b?source=rss-109b9703dc0a------2</link>
            <guid isPermaLink="false">https://medium.com/p/7e837698fe4b</guid>
            <category><![CDATA[penetration-testing]]></category>
            <category><![CDATA[bug-bounty-writeup]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[bug-bounty-tips]]></category>
            <category><![CDATA[hackerone]]></category>
            <dc:creator><![CDATA[Abu Maryam Rahmat]]></dc:creator>
            <pubDate>Wed, 30 Apr 2025 16:44:53 GMT</pubDate>
            <atom:updated>2025-04-30T17:18:26.991Z</atom:updated>
            <content:encoded><![CDATA[<h4>A small <em>overlooked detail that led to high-impact privilege escalation.</em></h4><h4>بسم الله الرحمن الرحيم</h4><p>First of all, let me introduce myself. My name is Rahmat Hidayat, but I’m commonly known as “AMR” because my username on HackerOne is <a href="https://hackerone.com/amr_id"><strong>amr_id</strong>.</a></p><p>This is actually my first write-up, and insyaAllah i’ll be sharing more of my findings in the future — from the simple ones to the more interesting stuff, hoping that it can be useful for fellow hunters out there!</p><p>Please forgive me if there are any mistakes in the writing, technical explanations, or anything else. Because i’m only a human — nobody’s perfect, hahahahahaha.</p><h3>Introduction</h3><p>In this write-up, I’ll be sharing a finding on the <strong>redacted.com</strong> application, which runs a bug bounty program on HackerOne. The bug I’ll be discussing is a <strong>privilege escalation</strong>, which allows an attacker to escalate their access from <strong>member</strong> to <strong>owner</strong>.</p><p>This finding is quite unique, so I’m not too surprised that it hadn’t been discovered by other security researchers yet.</p><p>This write-up is a bit complex, but I’ll try to explain it as clearly and concisely as possible.</p><p>So sit back, grab a cup of coffee, and enjoy the read — hahaha!</p><h3>Target Overview</h3><p>On the <strong>Redacted.com</strong> application, there’s a <strong>User Management</strong> feature. This is where users within an organization can be managed — including adding members, assigning roles, managing groups, and other related actions.</p><p>There are three types of roles available in an organization:</p><ul><li>Owner</li><li>Admin</li><li>Member (this was the attacker’s role)</li></ul><p>It’s important to note that <strong>Owners</strong> have full access to the organization.</p><p>And an Owner can create groups and assign users within the organization to those groups. In this case, the attacker was part of one of those groups.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EAxxVSrOpVQ5CNptPcE_Pg.png" /></figure><p>it can be concluded that:</p><ul><li>The attacker’s role was <strong>Member</strong></li><li>The attackers are members of “<strong>AMR GROUP</strong>”</li></ul><p>On <strong>Redacted.com</strong>, an <strong>Owner</strong> can create a <strong>workspace</strong>. So, what is a workspace? A workspace serves as a place to add notes, sales data, design assets, and other work-related activities within the organization.</p><p>When a workspace is created, all users in the organization can join it, and they are granted permissions based on their default role. For example, if a user has the <strong>Member</strong> role, they will join the workspace as a <strong>Member</strong> as well. A Member only has <strong>view</strong> access in the workspace — they cannot edit or delete anything.</p><p>Users in the organization can also invite other users or groups into their workspace. For example, a <strong>Member</strong> can invite another <strong>Member </strong>or invite a group to join the workspace ( When you add a group, all users in that group will join the workspace )</p><p>Now we’ll be focusing on this <strong>“invite to workspace”</strong> feature. <em>Let’s jump right into the steps!</em></p><h3>Steps to reproduce:</h3><p><strong>Step 1:</strong> Log in to the attacker’s account, then go to the workspace.</p><p><strong>Step 2:</strong> Click <strong>“Add Member”</strong>, then select <strong>“AMR GROUP”</strong>.</p><p>At this point, you’ll notice that the attacker can only add the group to the workspace with <strong>Member</strong> permissions — they are not allowed to assign <strong>Owner</strong> access to the group.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Jq_HKO17FKfan20eFiAdlA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vDYhZYlUkvbTEmWerEO_Fw.png" /></figure><p>This is the request that’s sent when adding a group to a workspace</p><pre>POST /api/v1/updateWorkspaceMembers HTTP/2<br>Host: www.redacted.com<br><br>{&quot;organizationId&quot;:&quot;996136&quot;,&quot;newMembersOrGuestsToAdd&quot;:[{&quot;entity_type&quot;:&quot;group&quot;,&quot;type&quot;:&quot;member&quot;,&quot;group_id&quot;:&quot;051992&quot;}],&quot;isSettingDefaultTeam&quot;:false,&quot;addNewMembersToWorkspace&quot;:true}</pre><p>I immediately focused on the parameter <strong>“type”: “member”</strong>. I wondered, what would happen if I changed it to <strong>“type”: “owner”</strong>? Would that allow me to add the group to the workspace as an <strong>Owner</strong>?</p><p>If that worked, then my account would also gain full access to the workspace — since I’m part of that group.</p><p>Unfortunately, when I changed the value from “member” to “owner” I received a <strong>400 Bad Request</strong> response. This indicates that the server properly validated the request and was <strong>not vulnerable</strong> to privilege escalation through this parameter.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/879/1*P77EpVlQJgoxOJzqCw3qAw.png" /></figure><p>At this point, I usually don’t give up. I start checking every endpoint and clicking every possible button.</p><p>After trying everything from A - Z<strong> Alhamdulillah</strong>, I was finally able to bypass it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gkrW8ZoyqSEpVO-K_JarYQ.png" /></figure><blockquote><strong><em>How? When I removed myself from the “AMR GROUP”, the request to add the group to the workspace as an Owner was successfully sent. The request fails only when the attacker is a member of the group. But if the attacker is not part of the group, the exploitation works.</em></strong></blockquote><p>The group was successfully added to the workspace with <strong>Owner-level access</strong>, which means I now have <strong>full control</strong> over the entire workspace.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yOfFdMPJWxy3ovzySMA91Q.png" /></figure><p>You might be wondering: “If I removed myself from the group, wouldn’t that mean I can’t access it anymore?” Nice question — and here’s the answer:</p><p>The attacker can simply <strong>rejoin the group</strong> later, or they can have <strong>a second account</strong> that still remains in the group. This means the attacker can regain <strong>full Owner access</strong> to the workspace simply by rejoining the group or using another account that’s already part of the group.</p><h3>Impact</h3><p>A user with <strong>Member-level permissions</strong> in the organization is able to add a group to a workspace with <strong>Owner-level access</strong>.</p><p>Once the group is added as an <strong>Owner</strong>, <strong>all users within that group</strong> will have <strong>full access</strong> to the workspace.</p><h3>Reward</h3><p>The program accepted the report and rated it as High severity (7.1 CVSS) and rewarded it with a <strong>$2000 bounty</strong> — Alhamdulillah.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/598/1*ug95o5kuWRoRLwQNcJtEUQ.png" /></figure><h3>Tips or Learnings</h3><blockquote>At this point, I usually don’t give up. I start checking every endpoint and clicking every possible button.</blockquote><p>This mindset, biidznillah (with Allah’s permission) came from reading many write-ups, watching podcasts from professional bug hunters, trying countless times, and failing just as many — until Alhamdulillah,I was finally able to do it.</p><p>Bug bounty isn’t as easy as some people make it sound. To find a special bug, you really have to invest a lot of <strong>time</strong>, <strong>focus</strong>, and <strong>effort</strong>.</p><h4><strong><em>Good luck and InsyaAllah see you again in the next exciting write-up! :)</em></strong></h4><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7e837698fe4b" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>