[Spot Check] - Ability to disclose metadata about Spot Checks (Number of Hackers + Hackers Criteria) via "SpotCheckSingleQuery"
A GraphQL query used on the Spot Check page returned confidential metadata, such as the number of hackers and the selection criteria, to a user who was only a participant in the Spot Check. An attacker could view this private information by changing the Spot Check ID in the URL.
- Triaged in 6 days
- Fixed in 13 days
- Paid in 6 days
- Disclosed after 13 days
Summary:
Hackers are able to leak private metadata about Spot Checks (num of hackers, total budget, criteria of selection.
Description: When accepting Spot Check, we are able to see the program who requested it, the budget and the description in the UI.
While navigating to the Spot Check page from Program Perspective, and adding the ID URI such as
https://hackerone.com/organizations/████/spot_checks/██████
I was able to open the Spot Check settings as a program, which leaked metadata that should be confidential such as:
████
Specifically Number of Hackers and the Hackers Selection Criteria.
The leak occurs at the SpotCheckSingleQuery parameter.
{"operationName":"SpotCheckSingleQuery","variables":{"id":"████████","product_area":"spot_checks","product_feature":"view"},
Steps To Reproduce
On a program view, navigate to https://hackerone.com/organizations/█████████/spot_checks/█████████, and change your spot_checks ID to the one you are onboarded to.
Remediation
Do not return the extra metadata that is rendered from program view.
Best,
@nagli
Impact
Ability to fetch extra confidential metadata on Spot checks.
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 query SpotCheckSingleQuery returned program-only fields without checking whether the requesting user was a member of the program.
Impact
A hacker could fetch extra confidential metadata about Spot Checks, including the number of hackers and the selection criteria.
What the attacker needed
A HackerOne account; be onboarded to a Spot Check
The fix
The SpotCheckSingleQuery should not return the extra metadata that is rendered from the program view.
How it was found
- Open a Spot Check page from the program view.
- Change the spot_checks ID in the URL to a Spot Check you are onboarded to.
- Observe the leaked metadata such as number of hackers and selection criteria.
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 Spot Check is a private invitation for hackers to test a program. The page that shows a Spot Check to a hacker also loaded extra private details meant only for the program. By changing the number in the web address, a hacker could see those private details.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.