Skip to content
Info disclosure Disclosed report Beginner

Know whether private program for company exist or not

The /thanks.json endpoint returned different HTTP status codes depending on whether a guessed team handle belonged to a private (invite-only) program or did not exist. An attacker could therefore confirm the existence of undisclosed private bug bounty programs by guessing company handles.

ashish_r_padelkar Follow

Originally disclosed on HackerOne

  • Triaged in 4 days
  • Fixed in 10 days
  • Paid in 11 days
  • Disclosed after 28 days

Summary by the program

Analysis of the researcher's PoC revealed an issue in the HTTP codes returned for the /thanks.json endpoint:

sandboxed team: https://hackerone.com/[sandboxed team handle]/thanks.json Returned white page with Status Code:500 OK

private team: https://hackerone.com/[invite-only team handle]/thanks.json Returned {"error":"You need to sign in or sign up before continuing."} with Status Code:401 OK

user: https://hackerone.com/[user handle]/thanks.json Returned 404

We have corrected the issue by ensuring the same HTTP code is returned for both sandboxed and private teams.

The report

HI,

There are some company which are hosting private BB on HackerOne which are not visible unless they invite you. However, you can check if any company is hosting private BB on HackerOne or not if you can guess the username they use.

Generally most company chooses the same name as their company name like yahoo.

Now for eg, ████ hosts such private program on HackerOne. But if someone had to find out if they hosts such program on HackerOne, they just need to browse to

https://hackerone.com/<redacted>/thanks.json

Now since company name is ████, a user can easily guess that, username would be same.

The problem with above url is, it will display blank screen for a user. But this is indication that the program is exist on HackerOne which is private. If the username is not valid for eg I will change the name to ████ https://hackerone.com/<redacted>/thanks.json

It will display me page not found error.

So this indicates that, such program doesnt exist.

So the conclusion is

Blank screen- program exist privately page not found error- program doesnt exists

The original report as published on HackerOne, by ashish_r_padelkar. 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 endpoint returned a distinct HTTP status code (500 versus 401 versus 404) for private teams compared with non-existent ones, leaking their existence.

Impact

An attacker could confirm whether a company runs a hidden private programme on the platform, which the company may not wish to disclose.

What the attacker needed

Guessable company handle

How it was found

  1. Guess a company's handle, since most use their company name.
  2. Request the thanks.json page for that handle.
  3. Observe a blank page with a 500 status, indicating a private programme exists.
  4. Request the same page for a non-existent handle and observe a 404, indicating no programme.

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.

Some companies run bug bounty programmes on HackerOne that are hidden until they invite you. The researcher found that a particular page on the site behaved differently when the company name was real but hidden, compared with a name that does not exist at all. By comparing the two responses, someone could tell whether a secret programme existed.

What is Info disclosure?

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

More by ashish_r_padelkar

View all

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