Scope information is leaked when visiting policy scopes tab of any External Program
An unauthenticated visitor could reach the policy scopes page of any external program and trigger a GraphQL query that returned the names and scopes of other programs, including private ones. The reporter also observed that the application broke and struggled to load, which they described as a denial of service.
- Triaged in 4 days
- Fixed in 5 days
- Paid in 4 days
- Disclosed after 29 days
Hello Team,
Summary:
The new scope policy feature displays all Program names and scopes that are using the new functionality.
Details:
A External program + invite-only consider hackerone.com/████ as a unauthenticated user I see only Policy tab, and no option to view scopes.
██████████
This is also a private program, and this is how it looks and has all tabs and supports/implemented new scope policy feature.
██████████
We know that new scope policy is implemented at /policy_scopes. If you appending it to hackerone.com/███, application breaks and gives out all the programs' scope under it. See below image,
███████
████████
████
I was able to confirm some of my private programs listed in this leak and are they not publicly available programs. As far as I understand, this leaks only program which have new scope policy implemented.
Private Programs for example:
https://hackerone.com/██████████ https://hackerone.com/█████ https://hackerone.com/██████████ https://hackerone.com/████
It is also observed that, once you visit and application break and show all domain, hackerone.com breaks and struggle to load - DoS
████
Steps to reproduce:
Use Burp Suite, and a browser (keep it unauth) to reproduce and follow steps listed below.
- Visit
https://hackerone.com/█████████/policy_scopes - Go to burp, search for the request which says
PolicyScopeAssetGroupsQueryasoperationNamesend it to repeater - Increase the size to 2215 (more than that the api doesn't give any results)
████
- You can search for the private program's domains in response, e.g
███.com, ██████████.com, ████.io etc
████████ ---------> ███████
█████████ ---------> ████
█████████ ---------> ████████
Left side are images of data leaks from above vulnerability Right side are images from my private programs
Let me know if you need any other details :)
Kind regards, @buraaqsec
Impact
Unauthorized user is able to view private programs' details.
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 policy scopes page and its GraphQL query did not check whether the caller was authorised to see the requested program's scopes, so the query returned data for many programs.
Impact
An unauthenticated user could view the names and scopes of private programs, and the reporter observed the application breaking and struggling to load, which they called a DoS.
What the attacker needed
No account needed; access to the policy scopes page; ability to edit the GraphQL request
How it was found
- Open the policy scopes page of an external program while not logged in.
- Find the GraphQL request whose operation name is PolicyScopeAssetGroupsQuery and send it to Repeater.
- Increase the size value to 2215, since larger values return no results.
- Search the response for domains belonging to private programs.
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 website can show different pages depending on who is logged in. Here, a page meant only for people with access to a program could be opened by anyone, and a request the page makes to the server returned information about many other programs, some of them private. Private program details are supposed to be visible only to the people invited to them.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.