Ability to access policy and updates for unauthorized program
A user restricted to one program within an organisation could use their API key to read the policy and updates of a second program they were not a member of. This exposed restricted program information to an unauthorised low-permission user.
- Triaged in 48 days
- Fixed in 53 days
- Paid in 53 days
- Disclosed after 3 months
#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:
-
As shown above, the user should only have access to askcmsakmdfksqa_h1r.
-
Verify the low-permission account access:


-
Using the low-permission account, navigate to:
HackerOne API Token Settings -
Generate a HackerOne API key, then make the following request:
Bash 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:

-
If changes or updates occur, they are also accessible:

Screenshot_2025-01-30_at_3.18.39_AM.png From the original on HackerOne -
The user can retrieve these updates as well:

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
Attachments

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the API endpoint checked that the caller was authenticated but did not verify that the API key's owner was a member of the requested program.
Impact
A low-permission user could read the policy and updates of a program they were not authorised to access, which the reporter says contains sensitive data.
What the attacker needed
An organisation with two programs; a low-permission account in one program; an API key for that account
How it was found
- Create an organisation with two programs and add a new user.
- Put the user in a low-permission group for only one of the two programs.
- Confirm the account can only see that one program in the interface.
- Log in as that user and generate a HackerOne API key.
- Call the programs API endpoint for the other, unauthorised program using that key.
- Observe that the restricted program's policy and updates are returned.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
The API returned another program's details to a user limited to one program, even though staff should only see assigned programs.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.