Skip to content
Info disclosure Disclosed report Beginner

Disclosure of the name of a program that has a private part with an external link

A report attribute indicating retest subscription was exposed in public JSON reports, allowing an attacker to infer that a program is private. This could disclose the name of a program that has a private part with an external link.

haxta4ok00 Follow

Originally disclosed on HackerOne

Bounty$500 Low 3.4 View original
  • Triaged in 3 days
  • Fixed in 11 days
  • Paid in 4 days
  • Disclosed after 11 days

Summary: Hi team , @jobert , @bencode . Not so long ago, you made an output to the program panel of information about whether the program has the function- retest. Also, this is reflected in the report by the attribute active_retest_subscription. It seems that it is reflected in publish reports that are created in programs that have external links. The function itself cannot be enabled in the sandbox, which means that it can only be found in real programs. It turns out that if we see this attribute in the report, it means that the program is real, which means it is private

Steps To Reproduce

  1. Go to https://hackerone.com/hacktivity/publish
  2. Input program , create reports
  3. Check .json report - https://hackerone.com/reports/ID.json

If we see this attribute, it means that the program is private. And it has the retest function enabled

Thanks! @haxta4ok00

Impact

Disclosure of the name of a program that has a private part with an external link

The original report as published on HackerOne, by haxta4ok00. 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. 3 min read.

Context

HackerOne's Hacktivity feed has a publish view at https://hackerone.com/hacktivity/publish where a researcher can draft a report against a program. Each report is also available in JSON form at https://hackerone.com/reports/ID.json.

HackerOne had recently started exposing, in the program panel, whether a program has the retest function. The same information is reflected in the report JSON through the attribute active_retest_subscription. The retest function cannot be enabled in the sandbox, so it only appears on real programs. That is the property the researcher built the finding on.

Setup

No special tooling is described. The researcher used a normal HackerOne session and the public Hacktivity publish page. The precondition is that the retest feature exists and is surfaced as active_retest_subscription in report JSON, and that it cannot be turned on for sandbox programs.

Finding it

The researcher reported that the active_retest_subscription attribute, which describes whether a program has the retest function, seems to be reflected in publish reports created in programs that have external links. Because the function cannot be enabled in the sandbox, seeing the attribute in a report means the program is real. A real program with a private part is, by that reasoning, private. So the attribute leaks the fact that a program is private, and with it the program's name.

Exploitation

Step 1: Open the publish view

HTTP
https://hackerone.com/hacktivity/publish

This is the Hacktivity publish page, where a report can be drafted against a chosen program.

Step 2: Choose a program and create reports

Input the program and create reports from that page. The report is then associated with the program, and the program's attributes are reflected in the report's JSON representation.

Step 3: Read the report JSON

HTTP
https://hackerone.com/reports/ID.json

Replace ID with the identifier of the report just created. In the returned JSON, look for active_retest_subscription. If the attribute is present, the program is private and has the retest function enabled.

Root cause

The report JSON exposes a program attribute, active_retest_subscription, and the retest function cannot be enabled in the sandbox. The publish flow lets a researcher create a report against a program and then read that report's JSON, where the attribute appears. Because retest cannot be enabled in the sandbox, the attribute's presence tells the reader the program is real. The report does not describe the server-side code, so the exact place where the attribute is serialised is not stated.

Impact

The stated impact is disclosure of the name of a program that has a private part with an external link. The condition is that the program has the retest function enabled and that a report can be created against it through the publish flow and then read as JSON.

Fix

The report does not describe the fix that was applied. The obvious change, consistent with the finding, is to stop reflecting active_retest_subscription in report JSON for reports created through the publish flow, or to restrict the attribute to contexts where the viewer is already authorised to know the program is private.

Variants to test

  1. Create a report against other program types through the publish flow and read the JSON, looking for attributes that only exist on real or private programs. A positive result is any attribute whose presence distinguishes a private program from a sandbox one.
  2. Compare the JSON of reports created against sandbox programs with those created against real programs. A positive result is a field present in one and absent in the other.
  3. Check other report representations (for example, other formats or views of the same report) for the same attribute. A positive result is the attribute appearing where the viewer is not authorised to see it.

Hunting notes

This kind of bug hides in features that are enabled only for real customers and then surfaced in objects a researcher can create or read, such as draft reports, exports and JSON views. During recon, look for recently added program-panel features and check whether their state appears in any object you control. The researcher argued that the attribute's presence means the program is real, and a real program with a private part is private, which discloses the program's name.

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. 8 min read.

What happened, in plain words

HackerOne is a website where security researchers report bugs to companies. Companies put their bug bounty programs on it. Some programs are public (anyone can see them), and some are private (only invited researchers can see them). Keeping a private program's name secret matters, because the name itself can reveal that a company is running a bounty, or which product is in scope.

HackerOne also has a feature called retest. When a researcher reports a bug and the company fixes it, the researcher can ask to test the fix again. That is the retest. A company can switch this feature on for its program.

HackerOne has a practice area called a sandbox, where researchers can try things out without touching a real company. The retest feature cannot be switched on in the sandbox. So if you ever see a sign that retest is enabled, you know you are looking at a real program, not a sandbox one.

The researcher found that a report's data, when read in a machine-readable format called JSON, contains a field named active_retest_subscription. That field says whether the program has retest turned on. The researcher could create a report against a program through a public page, then read that report's JSON and see the field. Seeing the field meant the program was real. And a real program that also has a private part is, by that reasoning, a private program. So the field quietly told the researcher the name of a private program.

Background you need first

A few ideas come up again and again below, so here they are from zero.

Program. A company's bug bounty offering on HackerOne. It has a name, a scope (what you may test), and rules. A program can be public or private.

Private program. A program that is not listed publicly. Only researchers the company has invited can see it and work on it. Its name is meant to stay hidden from everyone else.

Sandbox. A practice area on HackerOne. It behaves like a program but is not a real company's bounty. It exists so researchers can learn the workflow. Some features that real programs use are not available there.

retest. A feature a program can enable. After a fix, the researcher can request to verify the fix. Because the sandbox does not allow this feature, its presence is a signal that you are dealing with a real program.

Report. The write-up a researcher submits to a program describing a bug. On HackerOne every report has a numeric identifier, and you can open it in the browser.

JSON. A text format for data, made of names and values in curly braces, like a form with labelled boxes. Websites often serve the same information in JSON so that other software can read it easily, instead of a page designed for humans. Think of a restaurant menu in two versions: a glossy printed one for customers, and a plain list for the kitchen. Same dishes, different presentation.

API. A way for one piece of software to talk to another over the web, usually by requesting a URL and getting data back, often JSON. The .json URL below is effectively a small API endpoint: you ask for a report, you get its data.

Endpoint. A specific URL on a website that does a specific job. https://hackerone.com/reports/ID.json is an endpoint.

Attribute (or field). One named piece of data inside a JSON object. active_retest_subscription is an attribute.

Information disclosure. A vulnerability class where the problem is not that someone can break in or change data, but that they can learn something they were not supposed to know. A leaked name, an internal note, a hidden setting. Here the leaked fact is whether a program is private.

CVSS. A standard scoring system for the severity of a vulnerability, from 0 to 10. 3.4 is on the low end.

Reflected. When you send something to a website and the website sends it back to you inside a response. Here, a program's setting is reflected into the report data you can read.

The setup

The researcher did not use any special tools. A normal logged-in HackerOne session and a browser were enough. Two things had to be true for the trick to work:

  1. The retest feature exists and shows up in report JSON as the attribute active_retest_subscription.
  2. That feature cannot be switched on for sandbox programs, so its presence proves the program is real.

Finding it

The researcher reported that active_retest_subscription, which describes whether a program has the retest function, seems to be reflected in publish reports created in programs that have external links. Because the function cannot be enabled in the sandbox, seeing the attribute in a report means the program is real. A real program with a private part is, by that reasoning, private. So the attribute leaks the fact that a program is private, and with it the program's name.

Walking through the steps

Step 1: Open the publish view

HTTP
https://hackerone.com/hacktivity/publish

This is the Hacktivity publish page. Hacktivity is HackerOne's public feed of disclosed reports, and this particular view lets a researcher draft a report against a chosen program. The researcher opened it because it is the starting point for creating a report, and a report is the object that later carries the program's settings.

Step 2: Choose a program and create reports

On that page, input the program and create reports. The report then becomes associated with the program, and the researcher checked the report's JSON representation.

Step 3: Read the report JSON

HTTP
https://hackerone.com/reports/ID.json

Replace ID with the identifier of the report just created. This URL returns the report as JSON instead of as a web page. In the returned JSON, look for active_retest_subscription. If the attribute is present, the program is private and has the retest function enabled.

Why it works

The report JSON exposes a program attribute, active_retest_subscription, and the retest function cannot be enabled in the sandbox. The publish flow lets a researcher create a report against a program and then read that report's JSON, where the attribute appears.

Because retest cannot be enabled in the sandbox, the attribute's presence tells the reader the program is real. The report does not describe the server-side code, so the exact place where the attribute is serialised is not stated.

Impact

The stated impact is disclosure of the name of a program that has a private part with an external link. The condition is that the program has the retest function enabled and that a report can be created against it through the publish flow and then read as JSON.

Fix

The report does not describe the fix that was applied. The obvious change, consistent with the finding, is to stop reflecting active_retest_subscription in report JSON for reports created through the publish flow, or to restrict the attribute to contexts where the viewer is already authorised to know the program is private.

Variants to test

Directions for looking for similar problems:

  1. Create a report against other program types through the publish flow and read the JSON, looking for attributes that only exist on real or private programs. A positive result is any attribute whose presence distinguishes a private program from a sandbox one.
  2. Compare the JSON of reports created against sandbox programs with those created against real programs. A positive result is a field present in one and absent in the other.
  3. Check other report representations (for example, other formats or views of the same report) for the same attribute. A positive result is the attribute appearing where the viewer is not authorised to see it.

Hunting notes

This kind of bug hides in features that are enabled only for real customers and then surfaced in objects a researcher can create or read, such as draft reports, exports and JSON views. During recon, look for recently added program-panel features and check whether their state appears in any object you control. The researcher argued that the attribute's presence means the program is real, and a real program with a private part is private, which discloses the program's name.

Glossary

  • API: a way for software to request data from another service over the web, usually by calling a URL and receiving a structured response such as JSON.
  • Attribute: a single named piece of data inside a JSON object, for example active_retest_subscription.
  • Bounty: money a company pays a researcher for a valid report.
  • CVSS: a standard 0 to 10 score for how severe a vulnerability is.
  • Endpoint: a specific URL that performs a specific job on a website.
  • Hacktivity: HackerOne's feed of disclosed reports, which also has a publish view for drafting reports.
  • Information disclosure: a vulnerability where the problem is that someone can learn information they were not meant to see, rather than change or break something.
  • JSON: a plain-text data format made of names and values, used by websites to hand data to software.
  • Private program: a bug bounty program that is not publicly listed and is visible only to invited researchers.
  • Program: a company's bug bounty offering on HackerOne, with a name, scope and rules.
  • Reflected: sent back to the user inside a response after being submitted or stored.
  • Report: the write-up a researcher submits to a program about a bug, identified by a numeric ID.
  • retest: a program feature that lets a researcher verify a fix after a bug is resolved; it cannot be enabled in the sandbox.
  • Sandbox: a practice area on HackerOne that behaves like a program but is not a real company's bounty.
  • Severity: how serious a vulnerability is judged to be, often expressed with CVSS.
  • Vulnerability: a weakness in a website or system that lets someone do something they should not be able to do.

More by haxta4ok00

View all

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