Inline banner on Report page discloses whether organization runs a private program
When a hacker creates a report in an external program with a private part, an inline banner reveals that the program is private.
Originally disclosed on HackerOne
- Triaged in 4 days
- Fixed in 9 days
- Paid in 8 days
- Disclosed after 12 days
Summary: Hi team , @jobert Description:
Your engineers have created inscription - You are participating in a private program for ████████. Please do not publicly discuss the program until the program goes public.
When a hacker creates a report in an external program with a private page, we will see this inscription, which makes it clear that the program has a private part.
When a hacker creates a report in an external program that does not have a private page , we will not see this inscription.
It's more of a logical mistake. To fix this, I think you need to give the inscription in all reports for all programmes
Steps To Reproduce
-
Create publish report for any programs
-
If we are created report for ████████ , ██████████ , ... We will see the inscription -
You are participating in a private program forname_program. Please do not publicly discuss the program until the program goes public. Because they have a private part
█████████
- if we are creted report for ████, ... We won't see the inscription . Because they have not a private part
██████████
Sorry i bad speak english I hope you understand me Thank you,haxta4ok00
Impact
disclosure of external programs with private
Context
HackerOne is a bug bounty platform. A report is filed against a program, and the platform shows a banner on the report page when the program has a private part. The banner reads:
You are participating in a private program for ████████. Please do not publicly discuss the program until the program goes public.
The purpose of the banner is to remind the researcher that the program is not yet public and that the report must not be discussed publicly. The researcher, haxta4ok00, noticed that the banner is shown conditionally, and that the condition itself leaks information about the program.
Setup
No special tooling is needed. The researcher only needs an account on the platform and the ability to create a report against an external program. The report does not describe any other precondition, version or configuration.
Finding it
The researcher observed that the banner appears on the report page when the program has a private part, and does not appear when the program has no private part. The presence or absence of the banner therefore tells the reader whether the program runs a private program in addition to its public one.
The researcher describes this as "more of a logical mistake": the banner is meant to be a reminder, but its conditional rendering turns it into an oracle.
Exploitation
Step 1: Create a published report for any program
The researcher creates a report against a program. The report does not describe the exact request or the form fields used.
Step 2: Observe the banner on a program with a private part
When the report is created for a program that has a private part, the page shows the banner:
You are participating in a private program for name_program. Please do not publicly discuss the program until the program goes public.
The report shows the program names redacted. The banner confirms that the program has a private part.
Step 3: Observe the absence of the banner on a program without a private part
When the report is created for a program that has no private part, the banner is not shown. The report shows the program name redacted. The absence of the banner confirms that the program has no private part.
By comparing the two cases, the presence of the banner differs between programs with and without a private part.
Root cause
The banner is rendered only when the program has a private part. The condition that controls the reminder is the same condition that reveals the existence of the private program.
Impact
The impact is the disclosure of external programs that have a private part. The researcher states this as "disclosure of external programs with private". The information is limited to the existence of a private part, not its contents, scope or rewards.
Fix
The researcher proposes a simple change: show the banner in all reports for all programs, so that its presence no longer depends on whether the program has a private part.
Variants to test
- Look for other conditional UI elements on report pages, such as badges, warnings or labels, that appear only for programs with a private part. A positive result is a visible difference between a program with a private part and one without.
- Check the report creation flow and the report list for the same conditional rendering. A positive result is the same banner or a similar notice appearing only for some programs.
- Check API responses for the report object for fields that indicate the presence of a private part. A positive result is a field whose value differs between the two categories of program.
- Check notification emails and other out-of-band messages for the same conditional text. A positive result is a message that mentions the private program only for some reports.
Hunting notes
This kind of bug tends to hide in shared UI components that are reused across contexts with different visibility rules. During recon, compare the same page across two objects that differ in a hidden property, and look for any element that appears in one case and not the other. The researcher demonstrated the difference between a program with a private part and one without. The report was rated low severity with a CVSS score of 3.1 and a bounty of 500.00 USD.
What happened, in plain words
HackerOne is a website where companies (called programs) ask security researchers to look for bugs in their systems and pay for useful findings. When a researcher finds something, they file a report about it on the platform. Each report has its own page, and that page can show a small notice, a banner, at the top.
The banner is meant to be a friendly reminder. It tells the researcher: this program is not fully public yet, so please do not talk about it in public. That is a reasonable thing to say when a company runs a private program, meaning a version of its bug bounty work that is only visible to invited researchers.
The researcher haxta4ok00 noticed something subtle. The banner does not appear on every report. It appears only when the program has a private part. So the banner, which is supposed to be a reminder, also works as a yes/no signal: if you see it, the program has a private part; if you do not see it, the program does not. Anyone who can create a report can read that signal, even without being invited to the private program.
This is a small information leak. It does not reveal the contents of the private program, its rules or its rewards. It only reveals that a private part exists. The researcher called it "more of a logical mistake" than a classic security flaw, because the code is doing exactly what it was told to do; the problem is that the rule itself gives away a fact that was meant to stay hidden.
The platform and the feature
A bug bounty platform is a middleman. Companies publish their programs there, researchers read them, and reports flow back and forth through the platform. A report is simply a written description of a bug, filed against one program.
Some programs have two faces. There is a public face that anyone can see, and a private face that only certain researchers can see. The private face is often used for testing before a launch, or for work that the company does not want to advertise. The existence of that private face is itself sensitive: a company may not want the world to know it is preparing a private program.
The banner in question is a piece of text shown on the report page. Its purpose is to warn the researcher not to discuss the program publicly until it goes public. The exact wording, as quoted in the report, is:
You are participating in a private program for ████████. Please do not publicly discuss the program until the program goes public.
In plain words: the platform is telling the researcher that they are taking part in a private program for a named company, and asking them to keep quiet about it until the program becomes public. The blacked-out block is the program name, which the report hides.
What you need to try it
Nothing special. No hacking tools, no scripts, no special browser extensions. The researcher needed only two things:
- An account on the platform.
- The ability to create a report against an external program.
The report does not mention any other requirement, such as a particular account type, a particular browser or a particular setting.
How the researcher found it
The researcher was looking at report pages and noticed a pattern. On some reports the banner was there; on others it was not. By comparing the two groups, the researcher worked out the rule behind the difference: the banner shows up when the program has a private part, and stays away when it does not.
That is the whole discovery. There was no trick, no crafted input, no unusual request. The researcher simply read the page carefully and asked why the same kind of page looked different in two situations.
This is a useful habit for anyone starting out. When a website shows you something in one case and not in another, ask what the difference between the two cases is. Sometimes the answer is harmless. Sometimes the answer is a fact the site did not mean to tell you.
Walking through the steps
Step 1: Create a published report for any program
The researcher creates a report against a program. The report does not describe the exact request or the form fields used, so there is nothing more to show here. The point of this step is simply to end up on a report page that you can look at.
Why do this? Because the banner lives on the report page. You cannot observe the banner without a report to look at.
Step 2: Look at a program that has a private part
When the report belongs to a program that has a private part, the page shows the banner:
You are participating in a private program for name_program. Please do not publicly discuss the program until the program goes public.
Line by line, in plain words:
You are participating in a private program for name_program.This tells the reader that the program they are working on has a private side, and names it. In the report the real names are blacked out, andname_programstands in for one of them.Please do not publicly discuss the program until the program goes public.This is the reminder: keep the work private until the program is announced.
The report shows the program names redacted.
Why does this matter? Because the banner is not just a reminder any more. It is evidence. Seeing it tells you a fact about the program that you were not otherwise told.
Step 3: Look at a program that has no private part
When the report belongs to a program with no private part, the banner does not appear at all. The report shows the program name redacted. The absence of the banner confirmed that this program has no private part.
Why does the absence matter? Because a missing element is information too. If the banner means "this program has a private part", then no banner means "this program does not". The two cases together form a reliable test.
What the two steps add up to
By comparing a report from each group, the presence of the banner differs between the two cases. And this can be done without being a participant in the private part. That is the leak.
Why it happens
The banner is drawn on the page only when the program has a private part. The same condition that decides whether to show the reminder also decides whether to reveal the existence of the private program. One check is doing two jobs, and the second job was not intended.
The report does not include the server-side code or the page template, so the exact implementation is not shown. In general terms, the page probably asks "does this program have a private part?" and then either draws the banner or does not. Nothing else in the page smooths over the difference, so the answer to that question becomes visible to the reader.
A simple comparison: imagine a receptionist who only says "welcome" to guests who have a secret appointment. The greeting is polite, but it also tells everyone in the lobby who has a secret appointment. The fix is not to stop being polite; it is to greet everyone the same way.
Impact
The impact is the disclosure of external programs that have a private part. The researcher states it as "disclosure of external programs with private".
What is leaked is narrow. It is the existence of a private part, not its contents, its scope or its rewards.
Even so, existence can be sensitive. A company may be preparing a private program quietly, and a competitor or a journalist learning about it early may be unwelcome. The report was rated low severity and a bounty of 500.00 USD was paid.
The fix
The researcher proposes a simple change: show the banner in all reports for all programs, so that its presence no longer depends on whether the program has a private part. If everyone sees the same notice, the notice stops being a signal.
Other places to look
Once you understand the pattern, you can look for it elsewhere. The report suggests four directions:
- Look for other conditional elements on report pages, such as badges, warnings or labels, that appear only for programs with a private part. A positive result is a visible difference between a program with a private part and one without.
- Check the report creation flow and the report list for the same conditional rendering. A positive result is the same banner or a similar notice appearing only for some programs.
- Check API responses for the report object for fields that indicate the presence of a private part. A positive result is a field whose value differs between the two categories of program. An API is the behind-the-scenes channel a website uses to fetch data; when your browser loads a page, it often asks an API for the information and then draws it on screen. If you can see that raw answer, you may see fields the page itself never shows.
- Check notification emails and other out-of-band messages for the same conditional text. A positive result is a message that mentions the private program only for some reports. Out-of-band simply means a channel other than the web page, such as email.
Notes for someone hunting this kind of bug
This kind of bug tends to hide in shared interface components, the reusable building blocks that a site uses in many places. The same block can be shown under different visibility rules depending on the context, and the difference between contexts is where the leak lives.
During recon, compare the same page across two objects that differ in a hidden property, and look for any element that appears in one case and not the other. Recon here means the early, quiet phase of looking around a site before trying anything clever.
The researcher demonstrated the difference between a program with a private part and one without. That combination, a clear before-and-after plus a clear explanation, is what makes a small leak easy for a triage team to accept.
The report was rated low severity with a CVSS score of 3.1 and a bounty of 500.00 USD. CVSS is a standard scoring system for security issues; 3.1 sits in the low range, which matches the narrow scope of what was leaked.
Glossary
- Bug bounty platform: a website where companies publish programs and researchers submit reports about bugs, often for a reward.
- Program: a company's bug bounty offering on the platform, with its own rules, scope and rewards.
- Private program: a program, or part of one, that is visible only to invited researchers rather than the public.
- Report: a written description of a bug, filed against a program on the platform.
- Banner: a short notice shown at the top of a page.
- Information disclosure: a flaw where a system reveals a fact it was not meant to reveal.
- Oracle: any observable signal that answers a question you were not supposed to be able to ask, such as a banner that reveals whether a private program exists.
- Conditional rendering: showing an element on a page only when some condition is true, and hiding it otherwise.
- API: the behind-the-scenes channel a website uses to fetch and send data; the page you see is often drawn from an API response.
- Out-of-band: a channel other than the web page itself, such as email.
- Recon: the early phase of exploring a target to understand how it works before testing anything.
- Triage: the process by which a platform or company reviews a report and decides whether it is valid and how serious it is.
- CVSS: a standard scoring system for security issues, producing a number that reflects severity.
- Severity: a label such as low, medium or high that summarises how serious an issue is.
- Bounty: the money paid to a researcher for a valid report.