Skip to content
Info disclosure Disclosed report Intermediate

HackerOne Private Programs users disclosure and de-anonymous-ize

The HackerOne platform returned different HTTP status codes for private program pages depending on whether the visitor was logged in and invited, letting an attacker tell whether a named researcher was invited to a given private program. An attacker could load a program URL as a script tag and use its load or error event to reveal that membership without the victim noticing.

symbiansymoh Follow

Originally disclosed on HackerOne

  • Disclosed after 2 months

Hi HackerOne Team, I have found a bug in HackerOne Platform allows any attacker to deanonymousize any security researcher using the platform and the most wild usage is to disclose some information about this security researcher if he is invited to a private program or not. Unfortunately HackerOne is replying 404 response to the non-found researchers/programs this will allow attackers to harvest and deanonymousize researchers/programs.

In-depth analysis: [*]When user is logged out and start to hit a private hackerone program link so we have this response code states: 302 means program is exist but you have to sign in to check if you're eligible to see it or not 404 means there is no program yet 200 any user is able to access this program / program is public

[*]When the user is logged in and start to hit a private hackerone program link so we have this response code states:: 404 means you're not invited to this program / program is not exist yet "onerror event is triggered" 200 means you're eligible to see the program "onload event is triggered"

PoC Code:

<html> <script src="https://hackerone.com/bookingcom" onload="javascript:alert('Yes the logged in user is invited to this private program and there is a program called bookingcom for sure');" onerror="javascript:alert('No, This user is not invited to this private program or there is no private program called bookingcom');"></script> </html>

PoC Video: https://youtu.be/Z_NBSNBxarY

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

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the private program page returned a distinguishable status code (404 versus 200) based on the viewer's invitation status, instead of a uniform response.

Impact

An attacker could determine whether a named researcher is invited to a specific private program, de-anonymising them and disclosing private program membership.

What the attacker needed

Victim is logged in to HackerOne; victim visits attacker-controlled page; attacker knows the program handle

How it was found

  1. Log in to HackerOne as a researcher.
  2. Request the URL of a private program the researcher is not invited to.
  3. Observe a 404 response, while an invited researcher gets a 200.
  4. Load the same URL as a script tag from another page and use its onload and onerror events to read the result.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

When you open a web page, the server answers with a status code: 200 means it worked, 404 means not found. Here the site answered differently depending on whether the logged-in visitor had been invited to a private bug bounty program. By loading that page as a script, a malicious site could watch which answer came back and learn whether the visitor belonged to that program.

What is Info disclosure?

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

More by symbiansymoh

View all

1 more disclosed report, 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.