Enumeration/Guess of Private (Invited) Programs
An unauthenticated user could distinguish existing private (invited) programs from non-existent ones by requesting a specific JSON endpoint, which returned a 500 error for existing programs and a 404 for non-existent ones. This allowed enumeration of private program usernames, potentially revealing which companies run invitation-only programs.
Originally disclosed on HackerOne
- Triaged in 24 days
- Fixed in 38 days
- Disclosed after 6 months
Hey,
This bug allows anyone to enumerate usernames of invited programs.For example there are two kinds of program at HackerOne - Public programs and Invited programs. Generally invited programs are only accessible to certain users based on reputation system.
Now, for most public programs the username of the program remains same as program name, that is for Slack's program it is slack, for Square it is square. So my finding to enumerate works like the following (taking example of ████ invitation only program):
████ program is located at https://hackerone.com/████, but it is only accessible to invited users else if an uninvited user visits the page he gets a 404 error, that's sweet. Isn't it ?
But using the following logic:
https://hackerone.com/████/common_responses.json (500 Internal Server Error) https://hackerone.com/████/common_responses.json (500 Internal Server Error) https://hackerone.com/trololol/common_responses.json (404 Not Found)
Based on the responses we can understand that for every existing program (public/invited) the server throws 500 error code but for non-existent program it throws 404 error code. So someone who wants to guess if a company is there in the invited program simply needs to send the following request (assuming company name is same as username, as it is currently in most of the cases at HackerOne):
https://hackerone.com/<company-name-here>/common_responses.json (500 if exists or 404 if it doesn't, then if the username is not in any of the public program then surely it will be in invited program :-) )
This thing can be automated with a list of company names as potential usernames.
Thanks, Prakhar Prasad
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
Impact
An attacker could enumerate private program usernames, revealing which companies have invitation-only programs on the platform, though no further access was demonstrated.
What the attacker needed
No account needed; knowledge of company names
How it was found
- Request the common_responses.json endpoint for a known existing private program and observe a 500 error.
- Request the same endpoint for a non-existent program name and observe a 404 error.
- Use a list of company names to automate requests and identify which ones return 500, indicating an existing program.
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 bug bounty platforms host private programs that only invited researchers can see. The researcher found that a particular web address returned different error codes depending on whether a program existed or not, even if you were not allowed to view it. By checking many company names, someone could learn which companies have private programs.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.