Skip to content
Info disclosure Disclosed report Beginner

Hackerone All Private Program Name Leaked to Public Via Collaborator OR Attacker can Easily Dump all Private Program Names through Collaborator

The collaborator feature on HackerOne returned different error messages depending on whether a report belonged to a private or public program, allowing an attacker to enumerate private program names by changing the report ID. An attacker could automate this to dump all private program names, breaking confidentiality.

hackit_bharat Follow

Originally disclosed on HackerOne

Medium 5.0 View original
  • Triaged in 6 days
  • Fixed in 35 days
  • Paid in 6 days
  • Disclosed after 36 days

Summary by the program

The hacker was able to perform a directory attack over reports to validate whether or not a program was private.

If it was, it would say "foo is not yet invited to <HANDLE>, which is a private program."

If the program was public, you would get "You do not have the appropriate access"

The report

Hi Team,

I hope you are doing well.

I found a Critical Vulnerability using this attacker can easily dump all the private program names of Hackerone and it breaks the confidentiality because if attacker got name of the program Rest of the Data is not needed because it's googleable about the program.

I found that Using Collaborator Feature attacker can easily got all Program's Names one by one or he can automate through Burp Intruder.

Steps to Reproduce :- 1. Create a Report on Hackerone in which Collaboration is allowed. 2. After creating it add a Random Collaborator and Capture this Request in Burp suite. 3. In the Request there is report_id change this id to 2052164. 4. You got this error if program is Public :-

█████

  1. Now change this report_id change this id to 2052163 , 2052158 , 2052154 , 2052162 , 2053029.
  2. As these all report_id belongs to private programs you got leaked Name of Private program Like :-

██████

█████████

  1. Attacker can easily Brute-Force through intruder and Dump the whole DB of Private Hackerone program Name this breaks the Confidentially of Private program because if Someone known name he can easily google and find it the information about it.

Impact

  1. Broken Confidentiality of Hackerone Feature about Private Programs.
  2. Attacker can easily dump all the Private program Names and it also breaks the Confidentiality between Hackerone and Client.

POC Attached

If you need further info I am here to help you.

Thanks and Regards, BhaRat

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

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 4 min read.

Context

HackerOne is a bug bounty platform. Programs on it can be public or private: a private program is only visible to hackers who have been invited to it, and its name and details are meant to stay confidential between the platform and the client. The feature involved here is the Collaborator feature on reports. When collaboration is allowed on a report, the reporter can add another user as a collaborator, and that action is performed through a request that carries a report_id.

The report was filed against the hackerone.com asset, rated medium severity (CVSS 5.0) under Information Disclosure, and disclosed on 11 August 2023.

Setup

To reproduce the issue you need:

  1. A HackerOne account able to create a report on which collaboration is allowed.
  2. Burp Suite, used to capture the collaborator request and to run an Intruder attack over the report_id value.

No special role on the target program is required: the whole point is that an ordinary user, with no invitation to any private program, can query report identifiers and learn program names.

Finding it

The researcher found that the collaborator request accepts a report_id and that the error returned for that identifier differs depending on whether the report belongs to a public or a private program. The program's own summary describes the behaviour as a directory attack over reports used to validate whether a program is private:

  • If the program is private, the response says foo is not yet invited to <HANDLE>, which is a private program.
  • If the program is public, the response is You do not have the appropriate access.

That difference is the bug: the error message for a private program discloses the program handle, which is exactly the information private programs are supposed to keep confidential. The researcher argued that once the name is known, the rest of the data is not needed, because the program can simply be googled.

Exploitation

Step 1: create a report with collaboration allowed

Create a report on HackerOne in which collaboration is allowed. This gives you a report you control from which the collaborator request can be issued.

Step 2: add a random collaborator and capture the request

Add a random collaborator to the report and capture the resulting request in Burp Suite. The request contains a report_id parameter.

Step 3: point the request at another report

Change the report_id in the captured request to 2052164:

With a public program's report, the response is the access error shown in the report:

█████

Step 4: query identifiers belonging to private programs

Change report_id again, this time to a set of identifiers that belong to private programs:

For these, the response leaks the name of the private program:

██████

█████████

Step 5: automate the enumeration

The researcher notes that the same request can be brute-forced through Burp Intruder, dumping the whole database of private HackerOne program names. The researcher notes that the same request can be brute-forced through Burp Intruder to dump private program names.

Root cause

The collaborator endpoint resolves the supplied report_id and builds its authorisation error message from data about the report's program. For a private program the message includes the program handle (foo is not yet invited to <HANDLE>, which is a private program.), while for a public program it returns a generic You do not have the appropriate access. The endpoint therefore acts as an oracle: the shape of the error reveals whether the report belongs to a private program and, in that case, the program's name.

Impact

  1. Broken confidentiality of the HackerOne feature that keeps private programs private.
  2. An attacker can dump all private program names, which also breaks the confidentiality between HackerOne and its clients.

The researcher's reasoning is that knowing the name is sufficient, since the program can then be googled to find information about it. The report does not show what an attacker could do with the names beyond that.

Fix

The report does not describe the fix that was applied.

Variants to test

  • Other endpoints that take a report_id. Submit identifiers belonging to reports you do not have access to and compare the error bodies. A positive result is any difference in wording, status code or length between a public-program report and a private-program report, or a handle appearing in the message.
  • Other object identifiers on the same platform. The same pattern applies to any invite, collaborator, mention or share feature that resolves an object by numeric ID: a positive result is an error that names the object or its owner instead of returning a generic denial.
  • Sequential identifier enumeration. Where identifiers are numeric and close together, as in the values used here, iterate over a range and cluster the responses. A positive result is a stable mapping from identifier ranges to program handles.

Hunting notes

This kind of bug hides in features that resolve an object by an identifier supplied by the user and then produce a human-readable error. Collaborator, invite, share and mention flows are good places to look, because they are built to tell the user something useful about the object they are acting on. During recon, the signal is an error message that changes shape depending on the object's visibility: a generic denial for one class of object and a specific message for another. The researcher demonstrated the leak on several identifiers belonging to private programs and noted that the request can be automated with Intruder.

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 10 min read.

What happened, in plain words

HackerOne is a website where companies (called clients) publish bug bounty programs. A bug bounty program is an offer: "if you find a security problem in our software, tell us and we may pay you a reward". Some of these programs are public, meaning anyone with a HackerOne account can see them. Others are private: only hackers who have been personally invited can see them, and the name of the program and its details are supposed to stay secret between HackerOne and the client.

The researcher, hackit_bharat, found that a normal user with no invitation at all could learn the names of private programs. The trick was to use a feature called Collaborator, which lets you add another person to a report you created. The request behind that feature contains a number called report_id, which tells HackerOne which report you are working with. If you change that number by hand, HackerOne answers with an error message. The wording of that error depends on whether the report belongs to a public or a private program. For a private program, the error message contains the program's name. That is the whole bug: an error message that was meant to be helpful ends up revealing something that should be secret.

The report was filed against the hackerone.com asset, rated medium severity (CVSS 5.0) under Information Disclosure, and disclosed on 11 August 2023. "Information Disclosure" simply means that information which should be hidden is shown to someone who should not see it. CVSS is a scoring system for how serious a security issue is; 5.0 is in the middle of the scale.

What you need before you start

To follow along you need two things:

  1. A HackerOne account that is able to create a report on which collaboration is allowed. Collaboration is the feature that lets you add other users to your report so they can work on it with you.
  2. Burp Suite. Burp Suite is a program that sits between your browser and the website and lets you look at, and change, the requests your browser sends. Think of it as a transparent envelope you can open, edit and reseal before it reaches the post office. Here it is used for two jobs: capturing the collaborator request, and running an Intruder attack over the report_id value. Intruder is a Burp Suite tool that sends the same request many times, each time with a different value in one spot, which is how you try a whole range of numbers quickly.

No special role on the target program is required. The whole point is that an ordinary user, with no invitation to any private program, can query report identifiers and learn program names.

How the researcher found it

The researcher noticed that the collaborator request accepts a report_id, and that the error returned for that identifier differs depending on whether the report belongs to a public or a private program. The program's own summary describes the behaviour as a directory attack over reports used to validate whether a program is private. A directory attack (often called enumeration) means trying many possible values one after another, the way you might dial every number in a phone book to see who answers, instead of knowing the number you want in advance.

The two possible answers are:

  • If the program is private, the response says foo is not yet invited to <HANDLE>, which is a private program.
  • If the program is public, the response is You do not have the appropriate access.

<HANDLE> is the placeholder for the program's handle, which is its short public name on HackerOne. The first message is the problem: it tells you the handle of a private program, which is exactly the information private programs are supposed to keep confidential. The second message is a generic refusal that reveals nothing. The researcher argued that once the name is known, the rest of the data is not needed, because the program can simply be googled.

Exploitation, step by step

Step 1: create a report with collaboration allowed

Create a report on HackerOne in which collaboration is allowed. This gives you a report you control, from which the collaborator request can be issued. You need your own report because the request you are going to capture only exists when you add a collaborator to something you own.

Step 2: add a random collaborator and capture the request

Add a random collaborator to the report and capture the resulting request in Burp Suite. The request contains a report_id parameter. A parameter is simply a named value sent along with a request, like a field on a paper form: the name is report_id and the value is the number of the report. Capturing the request means telling Burp Suite to hold it so you can read and edit it before it goes to the server.

Step 3: point the request at another report

Change the report_id in the captured request to 2052164:

This line is the piece of the request that says which report you are acting on. Originally it held the number of your own report; now it holds the number of a different report, one you have nothing to do with. You are doing this to see what HackerOne says when you ask about a report that is not yours.

With a public program's report, the response is the access error shown in the report:

█████

In other words, HackerOne refuses, and the refusal is generic: it does not tell you anything about the report or the program behind it.

Step 4: query identifiers belonging to private programs

Change report_id again, this time to a set of identifiers that belong to private programs:

Each number in this list is a report identifier, and each of these reports belongs to a private program. You are repeating the same experiment as the previous step, but with numbers that point at private programs instead of public ones. The point of trying several is to show that the leak is not a one-off accident: it happens again and again.

For these, the response leaks the name of the private program:

██████

█████████

So the same request, with only the number changed, produces a different kind of answer: instead of a generic refusal, HackerOne names the private program. That difference between the two answers is the vulnerability.

Step 5: automate the enumeration

The researcher notes that the same request can be brute-forced through Burp Intruder, dumping the whole database of private HackerOne program names. Brute force here means trying many values automatically rather than by hand. The researcher notes that the same request can be brute-forced through Burp Intruder to dump private program names. You do not need to guess cleverly; you just count upwards and let the tool send each number for you.

Why it works

The collaborator endpoint resolves the supplied report_id and builds its authorisation error message from data about the report's program. Authorisation is the check of whether you are allowed to do something; the error message is what the server says when the answer is no. For a private program the message includes the program handle (foo is not yet invited to <HANDLE>, which is a private program.), while for a public program it returns a generic You do not have the appropriate access.

The endpoint therefore acts as an oracle. In security, an oracle is anything that answers a question you are not supposed to be able to ask: you feed it a value and its reaction tells you a fact. Here the shape of the error reveals whether the report belongs to a private program and, in that case, the program's name. Likely the message was designed to be helpful to a legitimate invitee, and the confidentiality requirement of private programs was not considered when it was written.

Impact

  1. Broken confidentiality of the HackerOne feature that keeps private programs private.
  2. An attacker can dump all private program names, which also breaks the confidentiality between HackerOne and its clients.

The researcher's reasoning is that knowing the name is sufficient, since the program can then be googled to find information about it. The report does not show what an attacker could do with the names beyond that.

Fix

The report does not describe the fix that was applied. In everyday terms, the doorman should say the same thing to everyone who is not on the list, rather than explaining whose party it is inside.

Variants to test

  • Other endpoints that take a report_id. An endpoint is a specific address on a website that does one job, like a particular counter in a large office. Submit identifiers belonging to reports you do not have access to and compare the error bodies. A positive result is any difference in wording, status code or length between a public-program report and a private-program report, or a handle appearing in the message. The status code is the short number a server sends with every answer, such as 200 for success or 403 for refused.
  • Other object identifiers on the same platform. The same pattern applies to any invite, collaborator, mention or share feature that resolves an object by numeric ID: a positive result is an error that names the object or its owner instead of returning a generic denial.
  • Sequential identifier enumeration. Where identifiers are numeric and close together, as in the values used here, iterate over a range and cluster the responses. A positive result is a stable mapping from identifier ranges to program handles.

Hunting notes

This kind of bug hides in features that resolve an object by an identifier supplied by the user and then produce a human-readable error. Collaborator, invite, share and mention flows are good places to look, because they are built to tell the user something useful about the object they are acting on. During recon, the signal is an error message that changes shape depending on the object's visibility: a generic denial for one class of object and a specific message for another. The researcher demonstrated the leak on several identifiers belonging to private programs and noted that the request can be automated with Intruder.

Glossary

  • Bug bounty program: an offer from a company to pay researchers who report security problems in its software.
  • Private program: a bug bounty program visible only to hackers who have been invited; its name and details are meant to stay confidential.
  • Public program: a bug bounty program that anyone with an account can see.
  • Client: the company that runs a program on the platform.
  • Asset: the specific thing being tested, here the hackerone.com website.
  • Information Disclosure: a weakness where information that should be hidden is shown to someone who should not see it.
  • CVSS: a scoring system that rates the severity of a security issue; 5.0 is a medium score.
  • Severity: how serious an issue is judged to be, here medium.
  • Collaborator: a user added to someone else's report so they can work on it together.
  • Collaborator feature: the part of HackerOne that lets a reporter add collaborators to a report.
  • Request: the message your browser sends to a website asking it to do something.
  • Response: the message the website sends back.
  • Parameter: a named value sent with a request, like a field on a form.
  • report_id: the parameter that tells HackerOne which report a request is about.
  • Identifier / ID: a number or string that uniquely names an object, such as a report.
  • Handle: the short public name of a program on HackerOne.
  • Endpoint: a specific address on a website that performs one job.
  • Burp Suite: a tool that sits between your browser and a website so you can inspect and modify requests.
  • Intruder: a Burp Suite tool that sends the same request many times with a different value in one place each time.
  • Brute force: trying many possible values automatically instead of guessing one.
  • Enumeration / directory attack: trying many identifiers in turn to discover which ones exist or what they reveal.
  • Sequential identifiers: identifiers that run in order, so counting upwards walks through the objects one by one.
  • Authorisation: the check of whether you are allowed to perform an action.
  • Denial path: the part of the code that runs when access is refused and builds the refusal message.
  • Oracle: anything whose reaction to a value tells you a fact you were not meant to learn.
  • Status code: the short number a server sends with every response, such as 200 for success or 403 for refused.
  • Recon: the information-gathering phase before attacking, where you look for signals such as inconsistent error messages.

More by hackit_bharat

View all

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

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.