HackerOne · Report #605720
Team member with Program permission only can escalate to Admin permission
Summary
Hi hackers,
Bug: Program members with "Program" permission can escalate to "Admin" and consequently gain "Reward" and "Report" permissions.
How it was found
Summary
https://hackerone.com/TEAM/groups URL is accessible to team members with Program permission, even when "Group Management" and "User Management" menus aren't visible.
I didn't research this further, however, I was able to grant all permissions to the user assigned to a group with Program permission.
PoC
Tested on a user assigned to a group with Program permissions
- Go to
https://hackerone.com/TEAM/groups - Select the current user's group
- Add arbitrary permission (e.g. Admin)
Additional information disclosure
I noticed that hackerone.com/teams.json is accessible to users with "read-only" permission, but https://hackerone.com/TEAM/groups.json is accessible to users with at least 1 valid permission.
That's strange because the data is identical and allows disclosing user ids, assigned groups, groups permissions.
Reporting 2 issues in one report, because it's hard to understand the real root cause of the broken RBAC.
Impact
- A team member with 1 valid permission (except "readonly", e.g. Program) can escalate own permissions in the team to arbitrary permissions.
- "readonly" team member can disclose the team's groups, assigned users, groups' permissions and ids/names.