Skip to content
Access control Disclosed report Beginner

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.

light3r Follow

Originally disclosed on HackerOne

Medium 5.3 View original
  • 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

  1. In an organization with two programs, navigate to:
    HackerOne Organization Settings
  2. Add a new user.

█████████

  1. Create a low-permission group for one of the two programs, as shown below:

  2. As shown above, the user should only have access to askcmsakmdfksqa_h1r.

  3. Verify the low-permission account access:

Screenshot_2025-01-30_at_3.09.42_AM.png
Screenshot_2025-01-30_at_3.09.42_AM.png From the original on HackerOne
Screenshot_2025-01-30_at_3.13.51_AM.png
Screenshot_2025-01-30_at_3.13.51_AM.png
  1. Using the low-permission account, navigate to:
    HackerOne API Token Settings

  2. 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'
    
  3. The unauthorized user is able to retrieve the policy and updates of the restricted program:

Screenshot_2025-01-30_at_3.16.50_AM.png
Screenshot_2025-01-30_at_3.16.50_AM.png From the original on HackerOne
  1. If changes or updates occur, they are also accessible:

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

Screenshot_2025-01-30_at_3.20.10_AM.png
Screenshot_2025-01-30_at_3.20.10_AM.png From the original on HackerOne

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

Screenshot_2025-01-30_at_3.07.11_AM.png
Screenshot_2025-01-30_at_3.07.11_AM.png From the original on HackerOne

The original report as published on HackerOne, by light3r. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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

  1. Create an organisation with two programs and add a new user.
  2. Put the user in a low-permission group for only one of the two programs.
  3. Confirm the account can only see that one program in the interface.
  4. Log in as that user and generate a HackerOne API key.
  5. Call the programs API endpoint for the other, unauthorised program using that key.
  6. 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.

More by light3r

View all

2 more disclosed reports, best first.

More from HackerOne

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

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.