HexBrain

HackerOne · Report #2965723

Ability to access policy and updates for unauthorized program

Validstatus
mediumseverity
124upvotes
8 May 2025disclosed

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

  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:

    [image: Low Permissions Group]

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

  3. Verify the low-permission account access:

{F4003563}
{F4003565}

  1. Using the low-permission account, navigate to:
    HackerOne API Token Settings

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

{F4003567}

  1. If changes or updates occur, they are also accessible:

    {F4003570}

  2. 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

This report was disclosed publicly on HackerOne and belongs to its author and the program. See the original