Skip to content
Info disclosure Disclosed report Beginner

Enumerating HackerOne Pentests

The HackerOne platform returned different HTTP status codes when checking whether a pentest alias existed, allowing an attacker to enumerate companies that had performed pentests. This could reveal which organisations used HackerOne's pentest service.

whhackersbr Follow

Originally disclosed on HackerOne

  • Triaged in 10 hours
  • Disclosed after 5 months

Summary:

An attacker can enumerate companies that performed pentests using the HackerOne platform.

Steps To Reproduce:

HackerOne pentests usually have an alias ending in -h1p. We will use the HTTP Request below to enumerate pentests (update X-CSRF-Token, Cookie, and context[team_handle]).

PATCH /notifications HTTP/1.1
Host: hackerone.com
X-CSRF-Token: *****************
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Content-Length: 124
Cookie: *****************

context%5Bteam_handle%5D=*************-h1p&context%5Bsubtype%5D=structured_scope_change&context%5Btype%5D=team&context%5Bunread%5D=false

Responses:

HTTP 200 - Pentest exists. HTTP 500 - Pentest doesn't exist.

███

Companies that performed pentests using the HackerOne platform:

Socialchorus Lookout Hackerone LogDNA Blueboard Capitalize

Companies that didn't perform pentests using the HackerOne platform:

Snapchat Facebook Google SalesForce

Recommendation:

Don't allow enumeration of programs' aliases. Add a short random string at the end of a pentests alias (e.g.: hackerone-h1p-xrfg).

Impact

An attacker can enumerate companies that used HackerOne platform to conduct pentests.

The original report as published on HackerOne, by whhackersbr. 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 application used predictable aliases for pentests and did not prevent enumeration by returning distinguishable responses.

Impact

An attacker can enumerate companies that used HackerOne platform to conduct pentests.

What the attacker needed

A HackerOne account; valid CSRF token and session cookie

The fix

The report recommends not allowing enumeration of program aliases and adding a short random string to pentest aliases.

How it was found

  1. Send a request to the notifications endpoint with a team handle ending in -h1p.
  2. Observe the HTTP status code: 200 means the pentest exists, 500 means it does not.
  3. Repeat with different team handles to enumerate pentests.

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 a website gives different responses for existing and non-existing items, an attacker can use that difference to discover hidden information. Here, the platform returned a success code for real pentest aliases and an error code for fake ones, letting someone list which companies had pentests.

What is Info disclosure?

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

More by whhackersbr

View all

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