External programs revealing info
An authorization flaw in a team members endpoint allowed access to concealed membership status and non-public team member group names and sizes. An attacker could use this information to infer details about private programs, such as whether a team is running a private bug bounty.
- Triaged in under an hour
- Fixed in 22 hours
- Paid in 10 days
- Disclosed after 10 days
Summary by the program
A bug in an authorization check was found by @1337coder on an endpoint that was showing the members of a team, as well as the team member groups that were set up.
Example output:
[
{
"id":1,
"username":"dirk",
"name":"dirk",
"bio":"",
"url":"https://hackerone.com/dirk"
},
{
"id":2,
"name":"Admin",
"team_members_count":1
}
]
This was the case for all pages that have a private or sandboxed program, that also have a public page. Also affected were all public programs.
The fact if a user is a member of a team is not considered secret for most accounts, however for those that have chosen to be "Concealed", this method exposed this data. Also exposed were the team member group names and sizes, which is considered non-public data.
Although this does not directly lead to a disclosure of private programs, the names of the team member groups can be very telling as to what a team is currently doing. A team that has set up a "Triage" and "Bounty" group can be expected to be running a private Bug Bounty. The number of members a team has can also be telling in this regard.
All endpoints that use this authorization method have been checked. Due to additional, more restrictive checks on these endpoints, no other data has been vulnerable.
Also, due to the mention of semi-private information about several programs on the platform, we have decided to disclose this under a "limited" timeline rather than try to redact every bit of non-public information.
Summary by the researcher
The Bug was on "Filter entities" endpoint, that lead to disclosure of data which is mentioned in summary.
I was able to fetch some important data which is considered as Non-public.
Context
HackerOne's platform lets a team (a program) exist in more than one visibility state. A program can be private or sandboxed, and it can also have a public page. The feature involved here is the endpoint that lists the members of a team, together with the team member groups that the team has set up. The researcher's summary calls it the "Filter entities" endpoint.
Normally this listing should only be reachable by people who are authorised to see the team's membership data. The bug was in the authorisation check on that endpoint, so the listing could be retrieved for teams whose membership and group structure were not meant to be public.
Setup
The report does not describe any special accounts, roles, tools or versions. The researcher only needed to reach the "Filter entities" endpoint. The affected scope, as stated by the program, was:
- all pages that have a private or sandboxed program and also have a public page;
- all public programs.
Finding it
The researcher found that the "Filter entities" endpoint returned data that is considered non-public. The program's summary describes the response as showing the members of a team as well as the team member groups that were set up. The researcher's own summary says the endpoint led to disclosure of data which is considered non-public, and that some important data could be fetched.
What made it look wrong is the nature of the fields returned. Membership itself is not treated as secret for most accounts, but for accounts that have chosen to be "Concealed" it is. The group names and group sizes are considered non-public data in all cases.
Exploitation
Step 1: Query the Filter entities endpoint
The report does not include the request itself. It shows the shape of the output, which mixes user objects and group objects in one array:
[
{
"id":1,
"username":"dirk",
"name":"dirk",
"bio":"",
"url":"https://hackerone.com/dirk"
},
{
"id":2,
"name":"Admin",
"team_members_count":1
}
]
The first object is a team member: an identifier, username, display name, an empty bio and a profile URL. The second object is a team member group: an identifier, the group name (here Admin) and the number of members in that group (team_members_count).
Step 2: Repeat across programs
The same behaviour was present for every page that has a private or sandboxed program and also has a public page, and for all public programs. So the same endpoint could be used against each of those teams to obtain the same two kinds of data.
Step 3: Read the group structure
The value of the leaked data is in the group names and sizes. A team that has set up a "Triage" and "Bounty" group can be expected to be running a private bug bounty. The number of members a team has can also be telling in this regard.
Root cause
The program describes the mistake as a bug in an authorisation check on an endpoint that shows team members and team member groups. In other words, the endpoint applied an authorisation method that did not correctly restrict who could read this data for the affected teams. The report does not show the check itself, so the exact defect is not stated; it is an improper authentication or authorisation issue in the generic sense.
The program also notes that all endpoints using this authorisation method were checked, and that due to additional, more restrictive checks on those endpoints, no other data was vulnerable. That suggests the flaw was in this particular endpoint's use of the shared method rather than in the method everywhere.
Impact
The exposure is information disclosure, not direct access to private programs. The program is explicit that this does not directly lead to a disclosure of private programs. What it does expose:
- team membership, which matters for users who have chosen to be "Concealed";
- team member group names and group sizes, which are considered non-public data.
The indirect value is inference. Group names such as "Triage" and "Bounty", and member counts, can indicate that a team is running a private bug bounty and something about how it is organised. The program disclosed the report under a limited timeline.
Fix
What it does say is that all endpoints using this authorisation method were checked, and that additional, more restrictive checks on those endpoints meant no other data was vulnerable.
Variants to test
- Filter and listing endpoints on team or organisation pages. Try endpoints that return members, groups, roles or counts for a team that is private or sandboxed but has a public page. A positive result is a response containing user objects or group objects with names and counts for a team you should not be able to enumerate.
- Concealed accounts. Check whether a user who has chosen to be concealed appears in any membership listing. A positive result is that user's identifier, username or profile URL in the response.
- Group metadata. Look for fields such as group names and member counts in responses to endpoints that otherwise look harmless. A positive result is group names that reveal internal structure, for example triage or bounty groups.
- Shared authorisation helpers. Where several endpoints use the same authorisation routine, test each one separately. A positive result is one endpoint returning data that its siblings correctly restrict.
Hunting notes
During recon, look for endpoints that return arrays mixing different object types, since a single filter endpoint that returns both users and groups is a natural place for an authorisation gap.
The signal that matters is inference value. Membership alone is often considered low sensitivity, but concealed accounts, group names and group sizes are not, and the program treated them as non-public.
The program disclosed the report under a "limited" timeline rather than redacting every bit of non-public information, because semi-private information about several programs on the platform had been mentioned.
What happened, in plain words
HackerOne is a website where companies (called programs) invite security researchers to look for bugs in their software and report them. Each program has a team of people behind it, and that team can be organised into groups, for example a group called "Triage" or a group called "Bounty".
A program can be set up in different visibility states. It can be private or sandboxed, meaning it is not open to everyone, and at the same time it can have a public page that anyone can see. The feature involved in this report is the part of the site that lists the members of a team, together with the groups the team has set up. The researcher's summary calls it the "Filter entities" endpoint.
An endpoint is simply a specific address on a website that returns data rather than a normal web page. When your browser loads a page, it is asking the site for something; an endpoint is one of those things, and it can answer with a list of information instead of a page you can look at.
Normally, only people who are allowed to see a team's membership data should be able to get that list. The bug was in the check that decides who is allowed. Because of the bug, the list could be retrieved for teams whose members and group structure were not meant to be public.
Setup
The report does not describe any special accounts, roles, tools or versions. The researcher only needed to reach the "Filter entities" endpoint. The affected scope, as stated by the program, was:
- all pages that have a private or sandboxed program and also have a public page;
- all public programs.
In other words, the problem was not limited to one team. It applied to every team that had a public page while also running a private or sandboxed program, and to all public programs as well.
Finding it
The researcher found that the "Filter entities" endpoint returned data that is considered non-public. The program's summary describes the response as showing the members of a team as well as the team member groups that were set up. The researcher's own summary says the endpoint led to disclosure of data which is considered non-public, and that some important data could be fetched.
What made it look wrong is the nature of the fields returned. Membership itself is not treated as secret for most accounts, but for accounts that have chosen to be "Concealed" it is. Being concealed means the person has chosen to be "Concealed". The group names and group sizes are considered non-public data in all cases.
Exploitation
Step 1: Query the Filter entities endpoint
The report does not include the request itself. It shows the shape of the output, which mixes user objects and group objects in one array:
[
{
"id":1,
"username":"dirk",
"name":"dirk",
"bio":"",
"url":"https://hackerone.com/dirk"
},
{
"id":2,
"name":"Admin",
"team_members_count":1
}
]
This block is written in JSON, a common way for websites to send structured data. The square brackets at the top and bottom mean the whole thing is a list, and the curly braces mark individual items in that list. Here the list contains two items.
Line by line:
- The first item starts with
"id":1, a number that identifies this record inside the system. "username":"dirk"is the account name of a team member."name":"dirk"is the display name shown on the profile."bio":""is the short description on the profile, empty in this case."url":"https://hackerone.com/dirk"is the address of that person's profile page.- The second item starts with
"id":2, another identifier, but this one belongs to a group rather than a person. "name":"Admin"is the name of the group."team_members_count":1is the number of people in that group.
So the first object is a team member: an identifier, username, display name, an empty bio and a profile URL. The second object is a team member group: an identifier, the group name (here Admin) and the number of members in that group (team_members_count).
The important detail is that one response mixes two different kinds of record. A person and a group come back in the same list. That is a hint that the endpoint is a general filter that can return several types of thing, which is exactly the sort of place where a permission check can be missed.
Step 2: Repeat across programs
The same behaviour was present for every page that has a private or sandboxed program and also has a public page, and for all public programs. So the same endpoint could be used against each of those teams to obtain the same two kinds of data. The researcher did not need to find a new trick for each team: one weakness applied to all of them.
Step 3: Read the group structure
The value of the leaked data is in the group names and sizes. A team that has set up a "Triage" and "Bounty" group can be expected to be running a private bug bounty. The number of members a team has can also be telling in this regard.
Think of it like seeing the labels on the doors in an office corridor. You cannot open the doors, but a sign saying "Interview room" tells you interviews happen there. Group names work the same way: they describe what a team is doing even if you never see the work itself.
Root cause
The program describes the mistake as a bug in an authorisation check on an endpoint that shows team members and team member groups. Authorisation is the part of a system that decides whether the person making a request is allowed to do it, as opposed to authentication, which is about proving who you are. A useful comparison: authentication is the bouncer checking your ID at the door, authorisation is the list that says which rooms your ticket lets you into.
In other words, the endpoint applied an authorisation method that did not correctly restrict who could read this data for the affected teams. The report does not show the check itself, so the exact defect is not stated; it is an improper authentication or authorisation issue in the generic sense.
The program also notes that all endpoints using this authorisation method were checked, and that due to additional, more restrictive checks on those endpoints, no other data was vulnerable. That suggests the flaw was in this particular endpoint's use of the shared method rather than in the method everywhere. A shared method is like a standard lock used on many doors: if one door was fitted badly, the lock itself may still be fine on the others.
Impact
The exposure is information disclosure, not direct access to private programs. Information disclosure means data that should have stayed hidden became readable. The program is explicit that this does not directly lead to a disclosure of private programs. What it does expose:
- team membership, which matters for users who have chosen to be "Concealed";
- team member group names and group sizes, which are considered non-public data.
The indirect value is inference. Inference means working something out from clues rather than being told it directly. Group names such as "Triage" and "Bounty", and member counts, can indicate that a team is running a private bug bounty and something about how it is organised. The program disclosed the report under a limited timeline.
Fix
What it does say is that all endpoints using this authorisation method were checked, and that additional, more restrictive checks on those endpoints meant no other data was vulnerable.
Variants to test
- Filter and listing endpoints on team or organisation pages. Try endpoints that return members, groups, roles or counts for a team that is private or sandboxed but has a public page. A positive result is a response containing user objects or group objects with names and counts for a team you should not be able to enumerate.
- Concealed accounts. Check whether a user who has chosen to be concealed appears in any membership listing. A positive result is that user's identifier, username or profile URL in the response.
- Group metadata. Look for fields such as group names and member counts in responses to endpoints that otherwise look harmless. A positive result is group names that reveal internal structure, for example triage or bounty groups.
- Shared authorisation helpers. Where several endpoints use the same authorisation routine, test each one separately. A positive result is one endpoint returning data that its siblings correctly restrict.
Hunting notes
During recon, look for endpoints that return arrays mixing different object types, since a single filter endpoint that returns both users and groups is a natural place for an authorisation gap.
The signal that matters is inference value. Membership alone is often considered low sensitivity, but concealed accounts, group names and group sizes are not, and the program treated them as non-public.
The program disclosed the report under a "limited" timeline rather than redacting every bit of non-public information, because semi-private information about several programs on the platform had been mentioned.
Glossary
- API: a way for one piece of software to ask another for data or actions, usually over the web, without a human clicking through pages.
- Endpoint: a specific address on a website or service that returns data or performs an action when requested.
- JSON: a text format for structured data, built from lists in square brackets and objects in curly braces with named fields.
- Array: an ordered list of items in JSON, written between square brackets.
- Object: a single record in JSON, written between curly braces as a set of field names and values.
- Field: one named piece of data inside an object, such as
nameorteam_members_count. - Authentication: proving who you are, for example by logging in.
- Authorisation: deciding whether an identified person is allowed to do or see something.
- Authorisation check: the code that makes that decision for a particular request.
- Improper authentication or authorisation: a flaw where the identity or permission check is missing or too weak, so someone can do or see more than intended.
- Information disclosure: a bug where data that should be hidden can be read by someone who should not see it.
- Private program: a program on the platform that is not open to everyone.
- Sandboxed program: a program set up in a restricted state, separate from the fully public offering.
- Public program: a program whose page and details are open to anyone.
- Concealed account: a user account whose owner has chosen not to show their team membership publicly.
- Team member group: a named set of people inside a team, such as "Triage" or "Bounty".
- Group metadata: descriptive data about a group, such as its name and how many members it has.
- Inference: working out information from indirect clues rather than being told it directly.
- Recon: the exploratory phase of security testing, where you map out what a site exposes before trying anything specific.
- Bounty: a payment made by a program to a researcher who reports a valid bug.
- Disclosure: making a bug report public, sometimes after a delay and sometimes with parts removed.
- Redact: remove or hide sensitive parts of a document before publishing it.
- Limited timeline: the disclosure arrangement the program chose for this report instead of redacting every bit of non-public information.