Skip to content
Info disclosure Disclosed report Beginner

Private Program and bounty details disclosed as part of JSON search response

A JSON search endpoint returned private program bounty details to unauthenticated users. An attacker could read confidential bounty information for private programs without being invited or logged in.

techguynoob Follow

Originally disclosed on HackerOne

Bounty$500 View original
  • Triaged in 16 hours
  • Fixed in 25 hours
  • Paid in 25 hours
  • Disclosed after 25 days

Hello Hackerone Team !!!!

Few days ago ████ invited me for Private disclose !!!

Yesterday I saw fix of this report #80597

So,I deepdigger the JSON serach Response

for example I search this directory

https://hackerone.com/████

https://hackerone.com/████;

Now I access without authentication and i saw the private Program bounty details disclosed as part of JSON search response !!! ,So I assume its a register as private program in hackerone !!!

Response :

████base_bounty:████$

████base_bounty:████$

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 target is HackerOne itself, and the feature involved is the JSON search response. The researcher had recently been invited into a private disclosure programme, and had also seen the fix for an earlier report, #80597. That fix prompted a closer look at the JSON search response.

The researcher searched for a directory on the platform, using URLs of this shape:

Text
https://hackerone.com/████

https://hackerone.com/████;

The report does not name the directory. What matters is what came back: the researcher states that the request could be made without authentication and that the response disclosed the bounty details of a private programme. The researcher's reading was that the directory belonged to a programme registered as private on HackerOne.

The disclosed values appeared in the JSON as bounty fields, in this form:

Text
████base_bounty:████$

████base_bounty:████$

The report gives no severity rating and no CVSS score. It records a bounty of 500.00 USD and was disclosed on 31 August 2015. The weakness is classified as improper authentication, generic. The report does not describe the fix.

Root cause

A private programme's bounty details should only be visible to people with access to that programme, so the search response was serving data that the authentication and authorisation layer should have filtered out. The researcher mentions having seen the fix for an earlier report, #80597, before looking again at the JSON search response.

Impact

The impact is disclosure of private programme information. In this case the exposed fields were bounty amounts, which a private programme may not want public. The report itself only asserts that private bounty details were disclosed without authentication.

How this kind of bug works

Search features often aggregate data from many objects: programmes, reports, users, assets. The search index or query layer is built for recall, not for per-viewer filtering, so it can return fields that the normal object view would hide. Access control is then expected to be applied when the results are serialised for the caller. When that step is missing, or when it checks only that a user is logged in rather than whether the user may see each individual object, private records leak through a shared endpoint.

The problem is worse when the same endpoint is reachable unauthenticated, because then there is no identity to filter on at all. It also recurs after partial fixes: a patch that hides one field or one route leaves sibling routes, alternate parameters, or slightly different URL forms returning the same data. That is why the researcher went back to the same response after seeing a fix.

Defences are straightforward in principle: authorise every object in a result set against the caller, filter fields by permission before serialisation, and require authentication for endpoints that can return non-public data. Caching layers need the same care, since a cached response generated for one viewer must not be served to another.

How to test for it

  1. Identify search, autocomplete, suggestion and export endpoints. These are the ones most likely to aggregate objects the caller cannot open directly.
  2. Collect identifiers for objects you cannot access: private programme handles, report IDs, asset names. Guessing handles and IDs from public pages, sitemaps or error messages is usually enough.
  3. Request the search endpoint with those identifiers, first while logged out, then while logged in as a low-privilege user. Compare the response with what the object's own page returns.
  4. Try variations of the same path: trailing characters, case changes, encoded characters, alternate query parameters, and different response formats such as JSON versus HTML. A fix applied to one form often misses another.
  5. Look at the raw response, not the rendered page. Fields hidden by the front end may still be present in the JSON body.

A positive result is a response that contains data, such as bounty amounts or private programme names, that the object's own page refuses to show you. Common false positives are fields that are intentionally public, such as programme names already listed in a public directory, and values that are stale or generic rather than tied to a specific private object. Confirm by checking that the same data is genuinely restricted elsewhere.

How it is fixed

Apply authorisation at the object level for every item in a search result, not just at the endpoint level. Filter serialised fields according to the caller's permissions, and require authentication wherever non-public data can appear. Add regression tests that request the endpoint unauthenticated and as a low-privilege user and assert that private fields are absent. Review sibling routes and alternate URL forms whenever one leak is patched, and make sure caches are keyed by viewer or hold only public data.

Hunting notes

This class of bug hides in features that combine data from many sources: global search, typeahead, reporting and export functions, activity feeds, and API endpoints that accept a list of identifiers. Recon signals include endpoints that return JSON with more fields than the corresponding page displays, and any place where a recent security fix touched serialisation or filtering. To show impact, capture the unauthenticated request and response, then show the same object's page denying access to the same data, so the reviewer can see the gap without needing to trust your interpretation. Keep the demonstration to the minimum data needed to prove the leak.

Difficulty: beginner. The technique is simple request comparison against a search endpoint, and the report itself is a short observation of missing authorisation on a JSON response.

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 run bug bounty programmes: they invite security researchers to look for flaws in their systems and pay for valid findings. Some programmes are public, meaning anyone on the platform can see them. Others are private: only people who have been invited can see that the programme exists and what it pays.

The researcher in this report had recently been invited into a private disclosure programme. They had also seen the fix for an earlier report, #80597. Seeing that a fix had gone in made them look more closely at the same area: the JSON search response.

A JSON response is the machine-readable format a web page often uses behind the scenes to fetch data. When you type something into a search box on a modern site, your browser usually sends a request to the server and gets back a block of structured text (JSON) that the page then draws on screen. The important point for this report is that the JSON can contain more than the page chooses to display.

The researcher searched for a directory on the platform, using URLs of this shape:

Text
https://hackerone.com/████

https://hackerone.com/████;

The report does not name the directory. What matters is what came back. The researcher states that the request could be made without authentication, meaning without being logged in, and that the response disclosed the bounty details of a private programme. In other words, the request could be made without being logged in and returned bounty details of a private programme.

The researcher's reading was that the directory belonged to a programme registered as private on HackerOne. The disclosed values appeared in the JSON as bounty fields, in this form:

Text
████base_bounty:████$

████base_bounty:████$

A bounty is the reward a programme pays for a valid report. The report does not say which programme was affected, how much the amounts were, or how the researcher found the directory name. It gives no severity rating and no CVSS score. It records a bounty of 500.00 USD paid for this finding and was disclosed on 31 August 2015. The weakness is classified as improper authentication, generic.

Why does each step matter? Searching for the directory is the trigger: it is the action that makes the server assemble a response. Making the request without logging in is the proof: if the data comes back to an anonymous visitor, then the platform is not checking who is asking.

In general, how this kind of bug works

Search features often gather data from many different objects at once: programmes, reports, users, assets. The search layer is built to find things, not to decide what each individual viewer is allowed to see. Access control is supposed to be applied afterwards, when the results are packaged up for the person who asked. When that step is missing, or when it only checks that someone is logged in rather than whether they may see each particular object, private records leak through a shared endpoint.

The problem is worse when the same endpoint can be reached without logging in at all, because then there is no identity to filter on. It also comes back after partial fixes: a patch that hides one field or one route can leave neighbouring routes, different parameters, or slightly different URL forms returning the same data. That is exactly why the researcher went back to the same response after seeing a fix.

Defences are simple in principle: check every object in a result set against the caller, filter fields by permission before the response is built, and require login for any endpoint that can return non-public data. Caches need the same care, because a response generated for one viewer must not be handed to another.

How to test for it

  1. Identify search, autocomplete, suggestion and export endpoints. These are the ones most likely to gather objects the caller cannot open directly.
  2. Collect identifiers for objects you cannot access: private programme handles, report IDs, asset names. Guessing handles and IDs from public pages, sitemaps or error messages is usually enough.
  3. Request the search endpoint with those identifiers, first while logged out, then while logged in as a low-privilege user. Compare the response with what the object's own page returns.
  4. Try variations of the same path: trailing characters, case changes, encoded characters, alternate query parameters, and different response formats such as JSON versus HTML. A fix applied to one form often misses another.
  5. Look at the raw response, not the rendered page. Fields hidden by the front end may still be present in the JSON body.

A positive result is a response containing data, such as bounty amounts or private programme names, that the object's own page refuses to show you. Common false positives are fields that are intentionally public, such as programme names already listed in a public directory, and values that are stale or generic rather than tied to a specific private object. Confirm by checking that the same data is genuinely restricted elsewhere.

How it is fixed

Apply authorisation at the object level for every item in a search result, not just at the endpoint level. Filter the fields you send back according to the caller's permissions, and require login wherever non-public data can appear. Add regression tests that request the endpoint logged out and as a low-privilege user, and assert that private fields are absent. Review neighbouring routes and alternate URL forms whenever one leak is patched, and make sure caches are keyed by viewer or hold only public data.

Hunting notes

This class of bug hides in features that combine data from many sources: global search, typeahead, reporting and export functions, activity feeds, and API endpoints that accept a list of identifiers. Recon signals include endpoints that return JSON with more fields than the corresponding page displays, and any place where a recent security fix touched serialisation or filtering. To show impact, capture the logged-out request and response, then show the same object's page denying access to the same data, so the reviewer can see the gap without needing to trust your interpretation. Keep the demonstration to the minimum data needed to prove the leak.

Difficulty: beginner. The technique is simple request comparison against a search endpoint, and the report itself is a short observation of missing authorisation on a JSON response.

Glossary

  • Bug bounty programme: a scheme where an organisation invites researchers to report flaws and pays for valid findings.
  • Private programme: a programme visible only to invited researchers, not to the public.
  • JSON: a structured text format used to send data between a browser and a server.
  • Endpoint: a specific URL on a server that accepts requests and returns a response.
  • Request: the message a browser sends to a server asking for something.
  • Response: the message a server sends back.
  • Authentication: proving who you are, usually by logging in.
  • Authorisation: deciding what a given user is allowed to see or do.
  • Improper authentication: a weakness where the system fails to check identity or access properly.
  • Bounty: the money a programme pays for a valid report.
  • Disclosure: making a report public after it has been resolved.
  • CVSS: a standard scoring system for the severity of a vulnerability.
  • Serialisation: turning data into a format, such as JSON, that can be sent over the network.
  • Cache: a stored copy of a response, reused to answer later requests faster.
  • False positive: a finding that looks like a bug but is not actually a security problem.
  • Regression test: an automated test that checks a fixed bug stays fixed.

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.