Program metrics disclosed response_efficiency_percentage via /program_name json response despite the team decided not to show on their profile
A JSON metrics endpoint exposed a program's response efficiency percentage even though the team had chosen to hide it from their public profile. An attacker could read this hidden metric by requesting the JSON endpoint directly.
- Triaged in under an hour
- Fixed in 3 days
- Paid in 3 days
- Disclosed after 3 days
Hi Team,
Summary:
First of all, i am not sure if a private program or any program have the capability to not show their response efficiency, but i assume they have because i saw some private programs that do not show response efficiency percentage on their public page.
Description:
Below list of private program was not showing their response efficiency percentage on their public profile, but using profile_metrics.json response, the percentage can be view resulting an information disclosure about the program.
█████████ = 100% ███████ = 100% ████ = 66% ████ = 68% ██████ = 52%
Steps To Reproduce
- Go to ██████████
- Observed that response efficiency was not visible
- Now go to █████████/profile_metrics.json
- I can confirm that
66%is the percentage of ██████████ because of this"response_efficiency_percentage":66
PoC screenshot below:
███████
Impact
Information disclosure despite the private program is not showing the response efficiency percentage.
Context
HackerOne profiles for programs display a set of metrics, one of which is the response efficiency percentage. The researcher's starting assumption was that a program, in particular a private program, may be able to keep that percentage off its public profile. He had seen private programs whose public page did not show a response efficiency percentage, and he took that as evidence the capability exists.
The report is about whether that choice is actually enforced. The public profile page is one view of the data; the profile also exposes a JSON endpoint, profile_metrics.json, which returns the underlying metrics. The question the researcher asked was whether the percentage that is hidden on the page is still present in that JSON.
Setup
No special tooling, account role or version is described. The researcher worked from the public side: he visited program profile pages and then requested the corresponding profile_metrics.json resource. The precondition is simply a program whose public profile does not display a response efficiency percentage.
Finding it
The researcher listed five private programs whose public profiles did not show a response efficiency percentage, with the percentages he recorded:
| Program | Response efficiency shown in JSON |
|---|---|
| █████████ | 100% |
| ███████ | 100% |
| ████ | 66% |
| ████ | 68% |
| ██████ | 52% |
What made this look wrong is the mismatch between the two views of the same data. The profile page omits the value, which signals that the program does not want it published, but the JSON endpoint returns it anyway. The researcher was explicit that he was not certain a program can actually suppress the metric, but the observed private programs without a visible percentage led him to assume so.
Exploitation
Step 1: open the program profile
Go to ██████████
The profile page is the public view of the program. In this case the response efficiency percentage is not rendered on it.
Step 2: confirm the metric is absent
Observed that response efficiency was not visible
This establishes the baseline: from the page alone, a visitor cannot learn the program's response efficiency.
Step 3: request the metrics JSON
Now go to █████████/profile_metrics.json
The profile has a companion JSON resource, and requesting it directly returns the response efficiency percentage.
Step 4: read the hidden value from the response
I can confirm that `66%` is the percentage of ██████████ because of this `"response_efficiency_percentage":66`
The JSON field response_efficiency_percentage carries the same number that the profile page withholds. In the example the value is 66, matching the 66% recorded for that program in the list above. The researcher included a PoC screenshot of the result, but the report does not describe its contents beyond this.
Root cause
The report does not examine the server-side code, so the exact mistake is not established. What the behaviour shows is that the decision to hide the percentage is applied when rendering the profile page, while the profile_metrics.json endpoint returns the metric regardless. In other words, the suppression is a presentation choice rather than an access control on the data itself. The JSON response includes response_efficiency_percentage even though the profile page does not show it. Whether the endpoint was meant to be public at all is not stated.
Impact
This is an information disclosure: a visitor can learn a program's response efficiency percentage even when the program does not show it on its public profile. The exposure is the response efficiency percentage of programs that do not display it. The researcher's own framing is hedged, since he assumed rather than confirmed that programs can suppress the metric, and the report does not describe any further use of the disclosed value.
Fix
Variants to test
- Other metrics on the same JSON resource: check whether values hidden on the profile page, such as other percentages or counts, are still returned by
profile_metrics.json. - Other JSON companions to profile pages: look for endpoints that back a rendered page and compare each field against what the page actually shows.
- Programs with different visibility settings: compare a program that displays the metric with one that does not, to see whether the JSON differs at all.
- Direct requests to the JSON resource without visiting the page first: a positive result is the same hidden value coming back on a plain request.
Hunting notes
This kind of bug hides where a UI makes a deliberate choice to omit a value while the API behind it returns the full record. During recon, the signal is a profile or settings page that visibly withholds a field, combined with a predictable JSON resource next to it, here profile_metrics.json. Comparing the rendered page with the raw response for the same object is the whole test. The researcher showed impact by naming the specific hidden field, quoting the exact JSON key and value, and tying it to the percentage the page did not show, which turns a vague "the API returns more data" observation into a concrete disclosure of a value the program had chosen not to publish.
What happened, in plain words
HackerOne is a platform where companies (called programs) run bug bounty programmes: they invite security researchers to look for weaknesses in their systems and pay for valid reports. Each program has a public profile page, a bit like a shop window, that shows some statistics about how the program behaves. One of those statistics is the response efficiency percentage.
The researcher noticed that some private programs (programs that are not open to everyone) did not show this percentage on their public profile page. He assumed that programs are able to switch the number off, so that visitors cannot see it. That assumption is the starting point of the whole report, and he says openly that he is not sure the capability exists.
The question he then asked was simple: if the number is hidden on the page, is it really hidden everywhere? A profile page is only one way of looking at the data. Behind many web pages there is also a JSON endpoint, a URL that returns the same data in a raw, machine-readable form instead of a designed page. If the page hides a value but the JSON endpoint still returns it, then the value is not actually protected: anyone who knows the endpoint URL can read it.
That is exactly what he found. For a private program whose profile did not display a response efficiency percentage, the JSON endpoint returned the percentage anyway. This kind of bug is called information disclosure: information that was meant to stay out of sight can be read by someone who should not see it.
The idea behind it
Think of a restaurant with a menu on the door and a kitchen behind it. The menu on the door leaves out the price of one dish, because the owner does not want to advertise it. But if you walk round the back and ask the kitchen staff for the full ingredient and price list, and they hand it over without checking who you are, the price was never really secret. The menu was a presentation choice; the kitchen list was the real data.
On the web, the "menu on the door" is the rendered profile page. The "kitchen list" is the JSON endpoint. The researcher's test was to compare the two for the same program and see whether they agreed.
A few terms are worth knowing before going further:
- JSON (JavaScript Object Notation) is a plain text format for data. It looks like
{"name": "value"}, with field names in quotes and values after a colon. Programs use it to send data between a server and a browser or another program. - Endpoint is just a URL on a server that returns something, for example a page, an image or a JSON document.
- API (Application Programming Interface) is the general name for the set of endpoints a service offers so that software can talk to it. The JSON endpoint in this report is a small piece of HackerOne's API.
- Private program is a bug bounty programme that is not listed publicly and can only be joined by invitation.
- Information disclosure is a weakness where data that should be restricted can be read by someone who is not supposed to see it.
Setting up
The report describes no special tools, no special account and no software version. The researcher worked entirely from the public side, the same way any visitor with a browser would: he opened program profile pages, looked at what they showed, and then requested the matching profile_metrics.json resource for the same program.
The only precondition is a program whose public profile does not display a response efficiency percentage. That is the situation that makes the test meaningful: if the number is already on the page, there is nothing hidden to find.
Finding it
The researcher collected five private programs whose public profiles did not show a response efficiency percentage, and then read the same metric from the JSON response for each of them:
| Program | Response efficiency shown in JSON |
|---|---|
| █████████ | 100% |
| ███████ | 100% |
| ████ | 66% |
| ████ | 68% |
| ██████ | 52% |
What makes this look wrong is the mismatch between the two views of the same data. The profile page leaves the value out, which suggests the program does not want it published. The JSON endpoint returns it anyway. The researcher was careful to say that he was not certain a program can actually suppress the metric; the observation that some private programs had no visible percentage is what led him to assume so.
Walking through the steps
The report gives four numbered steps. Each one is a small action in a browser, and each one has a reason.
Step 1: open the program profile
Go to ██████████
This is the public profile page of the program, the page any visitor can open. The address is redacted in the report. The point of this step is to start from the same place a normal visitor would, so that the comparison later is fair.
Step 2: confirm the metric is absent
Observed that response efficiency was not visible
Here the researcher simply looked at the page and noted that the response efficiency percentage was not shown. This establishes the baseline: from the page alone, a visitor cannot learn the program's response efficiency. Without this step there would be nothing to compare against later.
Step 3: request the metrics JSON
Now go to █████████/profile_metrics.json
This is the key move. Instead of reading the designed page, the researcher opened the JSON resource that sits next to it. The URL is the program's profile address with /profile_metrics.json appended, and the program name is redacted. Opening a URL like this in a browser is no different from opening any other page: the browser sends a request to the server, and the server sends back a document. The difference is that the document is raw JSON rather than a designed page, so the browser shows the field names and values as text.
Step 4: read the hidden value from the response
I can confirm that `66%` is the percentage of ██████████ because of this `"response_efficiency_percentage":66`
The JSON field response_efficiency_percentage carries the same number that the profile page withholds. In this example the value is 66, which matches the 66% recorded for that program in the table above. The field name is the label, the number after the colon is the value, and together they are one entry in the JSON document. The researcher also included a proof-of-concept screenshot of the result, but the report does not describe what the screenshot shows beyond this.
Why it happens
The report does not look at the server-side code, so the exact mistake is not established. What the behaviour shows is that the decision to hide the percentage is applied when the profile page is drawn, while the profile_metrics.json endpoint returns the metric regardless. In other words, the hiding is a presentation choice, not an access control on the data itself. The JSON response includes response_efficiency_percentage even though the profile page does not show it. Whether the endpoint was meant to be public at all is not stated.
Going back to the restaurant comparison: the owner crossed the price off the menu on the door, but never told the kitchen to stop reading the full list to anyone who asks.
Impact
This is an information disclosure: a visitor can learn a program's response efficiency percentage even when the program does not show it on its public profile. The exposure is the response efficiency percentage of programs that do not display it. The researcher's own framing is hedged, since he assumed rather than confirmed that programs can suppress the metric, and the report does not describe any further use of the disclosed value.
Fix
Variants to test
Once you understand the pattern, the same idea can be tried in a few nearby places:
- Other metrics on the same JSON resource: check whether values hidden on the profile page, such as other percentages or counts, are still returned by
profile_metrics.json. - Other JSON companions to profile pages: look for endpoints that back a rendered page and compare each field against what the page actually shows.
- Programs with different visibility settings: compare a program that displays the metric with one that does not, to see whether the JSON differs at all.
- Direct requests to the JSON resource without visiting the page first: a positive result is the same hidden value coming back on a plain request.
Hunting notes
This kind of bug hides where a user interface makes a deliberate choice to leave a value out while the API behind it returns the full record. During recon, the signal is a profile or settings page that visibly withholds a field, combined with a predictable JSON resource next to it, here profile_metrics.json. Comparing the rendered page with the raw response for the same object is the whole test.
The researcher showed impact by naming the specific hidden field, quoting the exact JSON key and value, and tying it to the percentage the page did not show. That turns a vague observation like "the API returns more data" into a concrete disclosure of a value the program had chosen not to publish.
Glossary
- API: the set of endpoints a service offers so that software can talk to it, for example to fetch data in JSON.
- Bug bounty programme: a scheme where a company invites researchers to report weaknesses in its systems and pays for valid reports.
- Endpoint: a URL on a server that returns something, such as a page, an image or a JSON document.
- Information disclosure: a weakness where data that should be restricted can be read by someone who is not supposed to see it.
- JSON: a plain text format for data, made of field names and values, used to send data between a server and a browser or another program.
- JSON endpoint: an endpoint that returns JSON instead of a designed web page.
- Private program: a bug bounty programme that is not listed publicly and can only be joined by invitation.
- Profile page: the public page that shows a program's information and statistics.
- Proof of concept (PoC): a demonstration, often a screenshot or a small script, that shows a weakness really works.
- Recon: the exploratory phase of security testing, where you look around a target to find interesting pages and endpoints.
- Response efficiency percentage: a metric shown on a program's profile.
- Root cause: the underlying reason a weakness exists, as opposed to its visible symptom.
- Server-side code: the program running on the server that decides what to send back to the browser.
- Visibility setting: a choice a program makes about whether a piece of information is shown publicly.