Non Org Admin/Group Manager can create groups in an organization
A low-privileged user could use a GraphQL mutation to add themselves to default admin groups created with a new program, gaining elevated permissions such as modifying reports and awarding bounties. If the organisation admin later changed those groups' permissions, the attacker could re-add themselves and inherit the new rights.
Originally disclosed on HackerOne
- Triaged in 37 days
- Fixed in 41 days
- Paid in 41 days
- Disclosed after 5 months
Summary by the program
This report describes a privilege escalation vulnerability that allows a user with only "Program Admin" permissions, to escalate their privileges to higher levels like "Report Manager" or even full administrator privileges under certain circumstances.
The vulnerability exists due to a mutation in the GraphQL API that lets a low privileged attacker assign themselves to the default admin groups created when a new program is set up. By assigning themselves to these groups, the attacker gains elevated permissions like the ability to modify reports, award bounties, manage users and groups, etc.
The issue is amplified if the organization admin later modifies the permissions for the default admin groups, as the attacker can then re-assign those groups to themselves and inherit the new elevated permissions.
In summary, this allows an unauthorized privilege escalation from a low privileged state to potentially full administrative control over a program. The reporter provided clear reproduction steps and worked closely with the HackerOne team to validate the issue. After confirming it was a valid high severity vulnerability, a fix was implemented and the report was resolved.
Context
HackerOne is a bug bounty platform. Within it, an organisation can contain one or more programs, and each program has its own set of users, roles and groups. When a new program is set up, the platform creates a set of default admin groups. Membership of those groups is what grants elevated permissions on the program: the ability to modify reports, award bounties, and manage users and groups.
The feature at the centre of this report is the GraphQL API mutation that lets a user assign themselves to a group. The report shows that a user holding only "Program Admin" permissions could use that mutation to place themselves into the default admin groups. The report shows that a user holding only "Program Admin" permissions could use that mutation to place themselves into the default admin groups, and thereby escalate to higher levels such as "Report Manager" or, under certain circumstances, full administrator privileges.
Setup
The precondition is a low privileged account on a program: a user with only "Program Admin" permissions. The attack surface is the GraphQL API of hackerone.com, specifically the group membership mutation. No special tooling, version or configuration is described beyond the ability to send GraphQL requests to that API as the low privileged user.
Finding it
Because every new program is provisioned with default admin groups, those groups are predictable targets: they exist on every program and they carry elevated permissions by design. A user with only "Program Admin" permissions joining one of them is a privilege boundary crossing, which is why it looked wrong.
Exploitation
Step 1: Identify the default admin groups
When a program is created, the platform creates default admin groups. These are the groups the attacker aims to join, since membership grants elevated permissions such as modifying reports, awarding bounties, and managing users and groups.
Step 2: Assign yourself to the group through the GraphQL mutation
Using the GraphQL API as the low privileged "Program Admin" user, the attacker invokes the group membership mutation to add themselves to a default admin group. The mutation accepts the assignment even though the caller does not hold the privileges that group is meant to require.
Step 3: Inherit the elevated permissions
Once the attacker is a member of the default admin group, they inherit the permissions attached to it. The report describes these as the ability to modify reports, award bounties, and manage users and groups, and states that the escalation can reach "Report Manager" level or even full administrator privileges under certain circumstances.
Step 4: Persist through later permission changes
If the organisation admin later modifies the permissions of the default admin groups, the attacker can re-assign those groups to themselves and inherit the newly elevated permissions. The escalation therefore does not depend on the permissions the groups had at the time of the original assignment.
Root cause
The vulnerability exists in a GraphQL API mutation that lets a low privileged user assign themselves to the default admin groups created when a new program is set up. The issue is amplified if the organisation admin later modifies the permissions for the default admin groups, as the attacker can then re-assign those groups to themselves and inherit the new elevated permissions. The report does not describe the specific check that was missing or bypassed, so the exact defect in the code is not stated; the described behaviour is consistent with the mutation failing to verify that the caller is entitled to join the target group.
Impact
An attacker holding only "Program Admin" permissions can escalate to higher privilege levels, including "Report Manager" and, under certain circumstances, full administrator privileges over a program. With those permissions the attacker can modify reports, award bounties, and manage users and groups. The issue is amplified when an organisation admin later changes the permissions of the default admin groups, because the attacker can re-assign those groups and inherit the new permissions. The program classified the issue as a high severity privilege escalation.
Fix
The report states that a fix was implemented and the report was resolved, but it does not describe what was changed. The change should ensure that the group membership mutation verifies the caller's entitlement to the target group before performing the assignment, so that a user with only "Program Admin" permissions cannot join the default admin groups.
Variants to test
- Other group membership mutations. Look for mutations that add a user to a group, change a user's role, or copy group membership, and try them as a low privileged user against the default admin groups. A positive result is a successful response that leaves you a member of a group whose permissions you did not hold before.
- Other default objects created at provisioning time. Default groups exist because they are created automatically with each new program; look for other automatically created objects (roles, teams, service accounts) that a low privileged user can attach themselves to. A positive result is inheriting permissions attached to the default object.
- Re-assignment after permission changes. After an administrator changes the permissions of a group you can join, try joining it again. A positive result is inheriting the new, higher permissions.
- Cross-program and cross-organisation assignment. Try assigning yourself to groups belonging to programs or organisations where you hold only low privileges. A positive result is membership in a group outside your authorised scope.
Hunting notes
The signals during recon are predictable default objects: groups, roles or teams that are created automatically for every new tenant and that carry elevated permissions. If you can enumerate those objects as a low privileged user, test whether you can add yourself to them. The report describes the escalation from "Program Admin" to the permissions of the default admin groups, including modifying reports, awarding bounties, and managing users and groups. That combination of a clear privilege boundary crossing and concrete administrative capabilities is what made the report actionable.
What happened, in plain words
HackerOne is a website where companies run bug bounty programmes: they invite independent security researchers to look for flaws in their systems and pay for the ones that are found. On HackerOne itself, a company (an organisation) can run one or more programmes, and each programme has its own users, roles and groups.
When a new programme is created, the platform automatically creates a set of default admin groups. Being a member of one of those groups is what gives someone the powerful permissions on that programme: the ability to change reports, pay out bounties, and manage users and groups.
The report describes a flaw in a GraphQL API mutation that lets a user assign themselves to a group. A user who only had "Program Admin" permissions, a fairly low level, could use that feature to add themselves to the default admin groups. That took them from a modest role to a much more powerful one, such as "Report Manager" or, in some circumstances, full administrator of the programme.
The problem got worse if an organisation admin later changed what the default admin groups were allowed to do: the attacker could simply add themselves to those groups again and pick up the new, higher permissions.
Some background before we start
A few ideas come up again and again below, so here they are from zero.
API. An API (Application Programming Interface) is the set of doors a website offers to software rather than to people. When you click a button in a browser, the page usually sends a request to the server behind the scenes and shows you the answer. An API is the same idea, but designed for programs to talk to each other directly. Think of a restaurant: the menu and the waiter are the API, the kitchen is the server. You do not walk into the kitchen yourself; you ask the waiter, and the waiter carries your order.
GraphQL. GraphQL is a particular style of API. Instead of many separate addresses for many separate actions, it has a single address, and the request itself describes exactly what you want to read or change. A request that changes something is called a mutation. If the API were a restaurant, GraphQL would be a waiter who takes a very precise written order ("bring me exactly these fields of exactly this dish") instead of you choosing from numbered menu items.
Role and permission. A role is a label attached to a user account, such as "Program Admin" or "Report Manager". A permission is a specific thing a role is allowed to do, such as "change a report" or "pay a bounty". Roles are a convenient way of handing out bundles of permissions without listing each one for each person.
Group. A group is a collection of users that carries permissions as a bundle. Instead of granting each permission to each person, you put people into a group and give the permissions to the group. Membership is what matters: join the group, inherit what the group can do.
Privilege escalation. Privilege escalation means getting more power on a system than you are supposed to have. It can be vertical (a low-level user reaching administrator level) or horizontal (one ordinary user reaching another ordinary user's data). The bug in this report is vertical: from "Program Admin" upwards.
Authorisation. Authentication is proving who you are (logging in). Authorisation is what you are then allowed to do. Many serious bugs are not about stealing a password but about a server failing to check whether the person asking is allowed to ask. That is the shape of this report.
Default objects. When software sets up a new account, a new programme or a new workspace, it often creates some things automatically so the place is usable straight away: a default group, a default role, a default team. These are predictable, because they exist everywhere and have the same names and purpose. Predictable objects that carry power are attractive targets.
Context
HackerOne is a bug bounty platform. Within it, an organisation can contain one or more programmes, and each programme has its own set of users, roles and groups. When a new programme is set up, the platform creates a set of default admin groups. Membership of those groups is what grants elevated permissions on the programme: the ability to modify reports, award bounties, and manage users and groups.
The feature at the centre of this report is the GraphQL API mutation that lets a user assign themselves to a group. The intended behaviour is that only users who already hold sufficient privileges on the programme should be able to add themselves to a group, and in particular should not be able to join the default admin groups. The report shows that a user holding only "Program Admin" permissions could use that mutation to place themselves into the default admin groups, and thereby escalate to higher levels such as "Report Manager" or, under certain circumstances, full administrator privileges.
It was not locked properly, and the groups it let people into were the most powerful ones on every programme.
Setup
The precondition is a low privileged account on a programme: a user with only "Program Admin" permissions. The attack surface is the GraphQL API of hackerone.com, specifically the group membership mutation. No special tooling, version or configuration is described beyond the ability to send GraphQL requests to that API as the low privileged user.
What this means for a beginner: you do not need to break any encryption or guess any password. You need an ordinary account with a modest role, and a way to send requests to the API. The report does not name a specific tool for sending them, so any client that can talk to a GraphQL API would do; the important part is that the requests are made while logged in as the low privileged user, because the server decides what to allow based on who is asking.
Finding it
Because every new programme is provisioned with default admin groups, those groups are predictable targets: they exist on every programme and they carry elevated permissions by design. A user with only "Program Admin" permissions joining one of them is a privilege boundary crossing, which is why it looked wrong.
The first is reading what the API offers: a mutation that lets you change your own group membership is a sensitive operation by nature, because group membership is how permissions are handed out. The second is thinking about what exists automatically. If every new programme comes with the same powerful groups, then an attacker does not need to discover anything secret; they only need to find out whether the door to those groups is really locked.
A privilege boundary crossing simply means that an action moves a user from one level of trust to another. Here, the user was at "Program Admin" level and ended up inside a group meant for administrators. Nothing about the request looked exotic; that is exactly why it was worth reporting.
Exploitation
Step 1: Identify the default admin groups
When a programme is created, the platform creates default admin groups. These are the groups the attacker aims to join, since membership grants elevated permissions such as modifying reports, awarding bounties, and managing users and groups.
Why this step comes first: you cannot test whether you can join a group until you know which group you are aiming at. Because these groups are created automatically for every programme, the attacker does not have to guess a secret name; they only have to look at what a fresh programme contains. The report does not list the names of these groups.
Step 2: Assign yourself to the group through the GraphQL mutation
Using the GraphQL API as the low privileged "Program Admin" user, the attacker invokes the group membership mutation to add themselves to a default admin group. The mutation accepts the assignment even though the caller does not hold the privileges that group is meant to require.
Why this step matters: this is the moment the boundary is crossed. In restaurant terms, an ordinary customer asks the waiter to add them to the staff list, and the waiter writes them in.
The report does not include the exact request body that was sent, so there is no payload to reproduce here.
Step 3: Inherit the elevated permissions
Once the attacker is a member of the default admin group, they inherit the permissions attached to it. The report describes these as the ability to modify reports, award bounties, and manage users and groups, and states that the escalation can reach "Report Manager" level or even full administrator privileges under certain circumstances.
Why this step matters: the group is only interesting because of what it carries. Joining it is not the goal in itself; the goal is the bundle of permissions that comes with membership. This is the payoff of the previous step, and it is what turns a small authorisation mistake into a serious one.
Step 4: Persist through later permission changes
If the organisation admin later modifies the permissions of the default admin groups, the attacker can re-assign those groups to themselves and inherit the newly elevated permissions. The escalation therefore does not depend on the permissions the groups had at the time of the original assignment.
Why this step matters: it shows the bug is not a one-off snapshot. Suppose an administrator notices the groups are too weak and gives them more power, or reorganises what they can do. The attacker's route back in is still open, so whatever the groups gain, the attacker gains too. The report does not say whether the attacker would need to leave and rejoin, only that they can re-assign the groups to themselves.
Root cause
The vulnerability exists in a GraphQL API mutation that lets a low privileged user assign themselves to the default admin groups created when a new program is set up. The issue is amplified if the organisation admin later modifies the permissions for the default admin groups, as the attacker can then re-assign those groups to themselves and inherit the new elevated permissions.
A correct check asks "is this particular person allowed to join this particular group?". A check that only asks "is this person logged in?" or "does this person hold some role?" lets the wrong people through. The report does not tell us which of these mistakes was made, only that the result was the wrong person getting in.
Impact
An attacker holding only "Program Admin" permissions can escalate to higher privilege levels, including "Report Manager" and, under certain circumstances, full administrator privileges over a programme. With those permissions the attacker can modify reports, award bounties, and manage users and groups. The issue is amplified when an organisation admin later changes the permissions of the default admin groups, because the attacker can re-assign those groups and inherit the new permissions. The programme classified the issue as a high severity privilege escalation.
Why this is serious rather than cosmetic: reports and bounties are the core of a bug bounty platform. Someone who can modify reports can change what a company sees about a vulnerability, and someone who can award bounties can move money. Someone who can manage users and groups can change who else has access. All of that normally sits behind administrator-level trust.
Fix
The change should ensure that the group membership mutation verifies the caller's entitlement to the target group before performing the assignment, so that a user with only "Program Admin" permissions cannot join the default admin groups.
In plain words, the door should check the specific question: may this user join this group? Not merely whether the user is logged in, and not merely whether the user holds some role somewhere.
Variants to test
These are directions for someone learning to hunt for similar bugs. Each one keeps the same idea, a low privileged user trying to attach themselves to something powerful, and changes one detail.
- Other group membership mutations. Look for mutations that add a user to a group, change a user's role, or copy group membership, and try them as a low privileged user against the default admin groups. A positive result is a successful response that leaves you a member of a group whose permissions you did not hold before.
- Other default objects created at provisioning time. Default groups exist because they are created automatically with each new programme; look for other automatically created objects (roles, teams, service accounts) that a low privileged user can attach themselves to. A positive result is inheriting permissions attached to the default object.
- Re-assignment after permission changes. After an administrator changes the permissions of a group you can join, try joining it again. A positive result is inheriting the new, higher permissions.
- Cross-programme and cross-organisation assignment. Try assigning yourself to groups belonging to programmes or organisations where you hold only low privileges. A positive result is membership in a group outside your authorised scope.
Hunting notes
The signals during recon are predictable default objects: groups, roles or teams that are created automatically for every new tenant and that carry elevated permissions. If you can enumerate those objects as a low privileged user, test whether you can add yourself to them. The report describes the escalation from "Program Admin" to the permissions of the default admin groups, including modifying reports, awarding bounties, and managing users and groups. That combination of a clear privilege boundary crossing and concrete administrative capabilities is what made the report actionable.
For a beginner, the practical lesson is to pay attention to anything the system creates for you automatically, and to anything that lets you change your own standing. Those two together are where this class of bug lives.
Glossary
- API: the set of doors a website offers to software, so programs can send requests and receive answers without a human clicking.
- Authentication: proving who you are, usually by logging in.
- Authorisation: deciding what a logged-in user is allowed to do.
- Bug bounty platform: a website where companies offer rewards to researchers who find and report flaws in their systems.
- Bounty: the reward a company pays for a valid reported vulnerability.
- Default admin group: a group created automatically when a new programme is set up, carrying elevated permissions.
- Default object: anything a system creates automatically for a new account, programme or workspace, such as a group, role or team.
- GraphQL: a style of API with a single address where the request itself describes exactly what to read or change.
- Group: a collection of users that carries a bundle of permissions; joining it means inheriting those permissions.
- Mutation: in GraphQL, a request that changes something rather than only reading it.
- Organisation: on HackerOne, the company-level container that can hold one or more programmes.
- Permission: a specific thing an account is allowed to do, such as modify a report or award a bounty.
- Privilege escalation: gaining more power on a system than you are supposed to have.
- Program Admin: the low privileged role held by the attacker in this report.
- Programme: a single bug bounty offering run by an organisation, with its own users, roles and groups.
- Provisioning: the automatic setup a system performs when something new is created.
- Recon: the exploratory phase of security testing, where you map out what exists before trying anything.
- Report Manager: a higher privileged role mentioned in the report, reachable through the escalation.
- Role: a label attached to an account that bundles permissions, such as "Program Admin".
- Root cause: the underlying reason a vulnerability exists, as opposed to its visible symptoms.
- Severity: a rating of how serious a vulnerability is; this one was rated high.
- Tenant: one customer's separate space inside a shared platform; here, roughly an organisation and its programmes.
- Vulnerability: a flaw in software that allows someone to do something the designers did not intend.