Skip to content
Info disclosure Disclosed report Beginner

Internal bounty and swag details disclosed as part of JSON response

A HackerOne user found that private program settings for minimum bounty and swag offers were exposed in JSON responses even when the program page was configured to hide them. An authenticated attacker could read these internal details for private programs.

techguynoob Follow

Originally disclosed on HackerOne

Bounty$500 View original
  • Triaged in 4 days
  • Fixed in 6 days
  • Paid in 6 days
  • Disclosed after 9 months

Hello Hackerone team !!!!

If Some company take option like this :

Show minimum bounty on the program page?

Do not display the minimum bounty on the program page.

for example :

https://hackerone.com/███████████ [Private] [bounty details] "base_bounty":10

https://hackerone.com/████ [Private] [swag details] "offers_swag":true

disclosure of private information via JSON response !!!

Note : I access with authentication !!!

Regards, sarath

The original report as published on HackerOne, by techguynoob. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

The original is short, so this covers everything it reports, then explains this kind of bug in general: how it works, how to test for it and how it is fixed. The general sections are about the bug class, not this target. Written with AI and checked against the original; the original is the record. 4 min read.

What the report shows

The report concerns program pages where a company controls whether to show a minimum bounty. The researcher, techguynoob, noticed that a program can choose between two options:

  • Show minimum bounty on the program page.
  • Do not display the minimum bounty on the program page.

The report gives two private program URLs as examples, with the relevant JSON fields quoted next to them:

Text
https://hackerone.com/███████████ [Private]  [bounty details]   `"base_bounty":10`

https://hackerone.com/████ [Private] [swag details]    `"offers_swag":true`

The report shows the base_bounty field appearing in a JSON response alongside the option to hide the minimum bounty. The same pattern applies to swag: a program's swag offering is exposed as offers_swag in the JSON. The researcher labels this "disclosure of private information via JSON response".

The report notes explicitly that the researcher was authenticated when accessing these responses: "Note : I access with authentication !!!". The report does not describe the exact request, headers or endpoint path beyond the program URLs above, and it does not say whether the data was reachable without authentication.

The outcome recorded for the report is a bounty of 500.00 USD, a weakness classification of Information Disclosure, and public disclosure on 2016-04-25. No severity or CVSS score is given.

Root cause

The report does not describe the cause. The serialiser therefore includes fields the viewer is not meant to see, and the client-side or template layer is trusted to hide them. This is a classic case of filtering at the presentation layer while leaving the data layer unfiltered.

Impact

The report gives two examples of exposed fields: base_bounty and offers_swag. For a private program, the minimum bounty and swag flag are details the report treats as private information. The report does not claim any further impact, and none should be inferred: no user data, credentials or report contents are described as exposed.

How this kind of bug works

Modern web applications commonly separate a data API from the view. The server returns a JSON document describing an object (here, a program), and the browser decides what to render based on the viewer's permissions and the object's own visibility flags. When developers implement a privacy setting, they often do it in the template: if (program.show_bounty) { render(...) }. The underlying JSON still carries every field, because the serialiser was written to dump the model.

This is an instance of excessive data exposure: the server sends more than the client needs. It differs from broken object-level authorisation in that the object itself may be legitimately accessible to the viewer; the problem is that individual fields within it are not meant to be. Because the leak is in a structured response, it is easy to miss in manual testing that focuses on the rendered page, and easy to find with a proxy or browser developer tools.

Defences are straightforward in principle: build response objects from an allow-list of fields appropriate to the viewer, apply the same visibility rules on the server that the UI applies, and test the API output, not just the page.

How to test for it

  1. Identify features where the UI hides something: a setting the owner toggled off, a field marked private, a value shown only to certain roles. Note the exact page and the account you are using.
  2. Open the browser developer tools Network tab, or route traffic through an intercepting proxy, and reload the page. Look for XHR or fetch requests returning JSON, GraphQL responses, or embedded state blobs in the HTML (for example a serialised store in a script tag).
  3. Compare the rendered page with the raw response. A positive result is a field present in the JSON that the page deliberately does not show, especially one whose name matches the hidden setting (a bounty amount, a flag such as offers_swag, a private note, an internal identifier).
  4. Repeat with a lower-privileged account, or with the setting toggled the other way, to confirm the field is not simply part of the public view. If the field changes when the owner changes the setting, that confirms the server is sending the real value.
  5. Check whether the same JSON is reachable without authentication, since that raises the impact considerably. The report here does not establish this, so treat it as a separate question on your own target.

Common false positives: fields that are intentionally public but merely not rendered on that particular page; values that are stale or default rather than the real setting; and data that the viewer is in fact authorised to see through another route. Confirm by changing the setting as the owner and observing the JSON change.

How it is fixed

  • Serialise responses from an explicit allow-list per viewer and context, rather than dumping the model.
  • Apply visibility rules on the server: if the program has chosen to hide the minimum bounty, omit base_bounty from the payload entirely.
  • Audit other endpoints that return the same object, since the same serialiser is often reused across pages and APIs.
  • Add regression tests that assert the field is absent for viewers who should not see it.

Hunting notes

This class of bug hides wherever a product has privacy or visibility toggles: bounty and reward settings, swag flags, private program metadata, per-user preferences, and internal status fields. Recon signals include JSON-heavy front ends, GraphQL endpoints, and pages that render from a client-side store. Private programs are a good place to look, because the organisation has already signalled that some information is meant to stay non-public.

The original is short, so this covers everything it reports, then explains this kind of bug in general: how it works, how to test for it and how it is fixed. The general sections are about the bug class, not this target. Written with AI and checked against the original; the original is the record. 6 min read.

What happened, in plain words

HackerOne is a platform where companies publish bug bounty programs. Each company controls its own program page through settings. One of those settings is whether the minimum bounty amount is shown publicly on the page. A company can pick one of two options:

  • Show minimum bounty on the program page.
  • Do not display the minimum bounty on the program page.

The researcher, techguynoob, looked at what the page actually sends to the browser behind the scenes. A web page is not one single thing: the browser downloads the visible page, and it also downloads data files, usually in a format called JSON, that the page uses to fill in the details. JSON is just text that lists values under names, a bit like a labelled form. The researcher found the amount sitting in the JSON under the name base_bounty, next to the option to hide it. A second example shows whether a program offers swag appearing as offers_swag.

The report gives two private program pages as examples, with the relevant JSON fields quoted next to them:

Text
https://hackerone.com/███████████ [Private]  [bounty details]   `"base_bounty":10`

https://hackerone.com/████ [Private] [swag details]    `"offers_swag":true`

Reading these two lines: the first is a private program page whose bounty details include a field named base_bounty with the value 10. The second line pairs a private program page with a quoted field named offers_swag set to true. The researcher sums the issue up as "disclosure of private information via JSON response".

The report also states plainly that the researcher was logged in when accessing these responses: "Note : I access with authentication !!!". Being authenticated means having an account and being signed in, the way you are signed in to your email. The report does not describe the exact request, the headers sent with it, or the endpoint path beyond the program page addresses above, and it does not say whether the same data could be reached without being signed in.

The report was classified as Information Disclosure, paid a bounty of 500.00 USD, and made public on 2016-04-25. No severity rating or CVSS score is recorded.

In general, how this kind of bug works

Many modern websites work in two layers. The server sends raw data as JSON, and the browser turns that data into the page you see. When a developer builds a privacy setting, it is tempting to apply it only in the second layer: the page checks a flag and simply does not draw the hidden value. The data file underneath still contains every field, because the code that builds it was written to include the whole record. This is called excessive data exposure: the server hands the browser more than the browser needs to show.

A useful comparison is a restaurant. The kitchen may keep a full order sheet, but the customer should only receive the dish. Here the customer receives the order sheet as well, with the prices the kitchen meant to keep quiet.

Why does it matter? For a private program, the minimum bounty and the swag flag are details the report treats as private information. The report claims nothing beyond this metadata: no user data, passwords or report contents are described as exposed.

How to test for it

  1. Find a feature where the page hides something on purpose: a setting the owner switched off, a field marked private, a value shown only to certain people. Write down the exact page and which account you are using.
  2. Open your browser's developer tools, go to the Network tab, and reload the page. The Network tab lists every file the browser downloaded. Look for requests that return JSON, or data embedded in the page itself.
  3. Compare what the page shows with what the raw response contains. A finding is a field present in the JSON that the page deliberately does not display, especially one whose name matches the hidden setting, such as a bounty amount or a flag like offers_swag.
  4. Repeat with a less privileged account, or with the setting switched the other way, to confirm the field is not simply part of the public view. If the field changes when the owner changes the setting, the server is sending the real value.
  5. Check whether the same JSON can be fetched without signing in, since that would make the impact much larger. This report does not establish that, so treat it as a separate question on your own target.

Common false alarms: fields that are meant to be public but happen not to be drawn on that page; values that are stale or default rather than the real setting; and data the viewer is in fact allowed to see through another route. Confirm by changing the setting as the owner and watching the JSON change.

How it is fixed

  • Build responses from an explicit list of fields allowed for each viewer and context, rather than dumping the whole record.
  • Apply visibility rules on the server: if the program has chosen to hide the minimum bounty, leave base_bounty out of the payload entirely.
  • Audit other endpoints that return the same object, since the same code is often reused across pages and APIs.
  • Add regression tests that assert the field is absent for viewers who should not see it.

Where to look

This class of bug hides wherever a product has privacy or visibility toggles: bounty and reward settings, swag flags, private program metadata, per-user preferences and internal status fields. Signs of a good target include JSON-heavy front ends, GraphQL endpoints (an API style where the browser asks for specific fields) and pages that render from data stored in the browser. Private programs are a good place to look, because the organisation has already signalled that some information is meant to stay non-public.

Glossary

  • Authentication: proving who you are to a website, usually by signing in with an account.
  • Base bounty: the minimum reward amount a program sets for valid reports.
  • Bug bounty program: a page where a company invites researchers to test its systems and pays for useful findings.
  • Bounty: the money paid to a researcher for a valid report.
  • CVSS: a standard scoring system for rating the severity of a security issue.
  • Developer tools: the built-in panel in a browser for inspecting pages, network traffic and code.
  • Endpoint: a specific address on a server that returns data or performs an action.
  • Excessive data exposure: sending more data to the browser than the page needs or the viewer should see.
  • GraphQL: an API style where the browser requests exactly the fields it wants.
  • Header: extra information sent alongside a web request, such as the format of the response.
  • Information disclosure: a bug where information meant to stay private is revealed.
  • JSON: a text format that stores values under names, used to move data between server and browser.
  • Metadata: descriptive information about something, such as a program's settings, rather than its content.
  • Network tab: the part of browser developer tools that lists every request the page makes.
  • Private program: a bug bounty program that is not publicly listed and is visible only to invited researchers.
  • Proxy: a tool that sits between browser and server so you can read and change the traffic.
  • Regression test: an automated check that makes sure a fixed bug stays fixed.
  • Request: the message a browser sends to a server asking for a page or data.
  • Response: the message a server sends back, such as a page or a JSON file.
  • Serialiser: code that turns an internal record into a format such as JSON for sending.
  • Severity: how serious an issue is judged to be.
  • Swag: company merchandise such as T-shirts or stickers, sometimes offered as a reward.
  • XHR / fetch: browser features for requesting data in the background without reloading the page.

More by techguynoob

View all

5 more disclosed reports, best first.

More from HackerOne

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.