HackerOne · Report #2965723
Ability to access policy and updates for unauthorized program
How it was found
#Description: In an organization with two programs, a user who is only part of one program can still access the policy and updates of the unauthorized program using an API key.
Steps to Reproduce
- In an organization with two programs, navigate to:
HackerOne Organization Settings - Add a new user.
█████████
-
Create a low-permission group for one of the two programs, as shown below:
[image: Low Permissions Group]
-
As shown above, the user should only have access to askcmsakmdfksqa_h1r.
-
Verify the low-permission account access:
{F4003563}
{F4003565}
-
Using the low-permission account, navigate to:
HackerOne API Token Settings -
Generate a HackerOne API key, then make the following request:
curl "https://api.hackerone.com/v1/hackers/programs/askcmsakmdfksqa_h1b/" \ -X GET \ -u "██████=" \ -H 'Accept: application/json' -
The unauthorized user is able to retrieve the policy and updates of the restricted program:
{F4003567}
-
If changes or updates occur, they are also accessible:
{F4003570}
-
The user can retrieve these updates as well:
{F4003571}
Impact
The unauthorized user or have a low permissions can get access to restricted program policy and updates which is contains a sensitive data also the user is unauthorized