HackerOne · Report #289568
Program profile metrics endpoint contains mean time to triage, even when turned off
How it was found
Description (Include Impact):
when a bug bounty program disables its profile metrics which shows the Response Efficiency, there still
some data leaked in the response of the the following endpoint:
hackerone.com/PROGRAM_HANDLE/profile_metrics.json
this endpoint leaks the mean_time_to_triage although the program disabled the Response Efficiency in the profile page.
Steps To Reproduce
-
go to a program that doesn't show the profile metrics such as wordpress
-
send the following HTTP get request:
GET /wordpress/profile_metrics.json HTTP/1.1
Host: hackerone.com
Connection: close
Accept: application/json, text/javascript, */*; q=0.01
X-Requested-With: XMLHttpRequest
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36
Accept-Encoding: gzip, deflate
Accept-Language: en-US,en;q=0.8
Cookie: your_cookies!
and the response will be:
{"mean_time_to_first_response":null,"mean_time_to_triage":███████,"mean_time_to_resolution":null,"mean_time_to_bounty":null,"total_bounties_paid_prefix":"\u003e","total_bounties_paid":null,"average_bounty_lower_range":null,"average_bounty_upper_range":null,"top_bounty_lower_range":null,"top_bounty_upper_range":null}
as you can see here the mean_time_to_triage is leaked in the response instead of being NULL.
I am totally sure that this should not be leaked in this response and should be hidden!
hope this is clear, thanks.