Skip to content
IDOR Disclosed report Intermediate

Disclosing PolicyPageAssetGroup in Private Programs via /graphql `gid://hackerone/PolicyPageAssetGroupsIndex::PolicyPageAssetGroup/{id}`

An unauthenticated GraphQL query could fetch a PolicyPageAssetGroup object by its global identifier, returning the name of a private programme's asset group. By enumerating identifiers, an attacker could expose private programme names and scope details.

haxta4ok00 Follow

Originally disclosed on HackerOne

Bounty$25,000 Critical 9.3 View original
  • Triaged in 3 days
  • Fixed in 7 days
  • Paid in 7 days
  • Disclosed after 2.6 years

Summary by the researcher

This vulnerability allowed unauthorized users to retrieve sensitive information about private bug bounty programs on HackerOne and the titles of private reports by abusing a GraphQL endpoint. Attackers could enumerate {id} values and expose private data, including program names, scope details, and the titles of reports belonging to those programs.

The HackerOne team promptly addressed the issue, recognizing its critical severity, and awarded a generous bounty for its discovery.

The report

Summary: Hi team, I understand what's going on Description: Just a recent update gives the results of private programs

Steps To Reproduce

Without authorization

GraphQL: {"query":"{node(id:\"gid://hackerone/PolicyPageAssetGroupsIndex::PolicyPageAssetGroup/3981-41287\"){... on PolicyPageAssetGroupDocument{id,name}}}"}

Answer: {"data":{"node":{"id":"Z2lkOi8vaGFja2Vyb25lL1BvbGljeVBhZ2VBc3NldEdyb3Vwc0luZGV4OjpQb2xpY3lQYWdlQXNzZXRHcm91cC8zOTgxLTQxMjg3","name":"██████"}}}

This is Asset program - █████████

Thanks!

Impact

Disclosing Sсope(Assets) in Private Programs

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

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 5 min read.

Context

HackerOne runs private bug bounty programs whose details, including the assets in scope and the reports filed against them, are meant to be visible only to the program's own participants. The report here concerns a GraphQL endpoint on hackerone.com that exposes objects of the type PolicyPageAssetGroup, which represent asset groups on a program's policy page. The researcher found that a node lookup on this type returned data for private programs to a caller who was not authorised to see them.

The researcher's own summary states that the issue allowed unauthorised users to retrieve sensitive information about private bug bounty programs and the titles of private reports by abusing a GraphQL endpoint. By enumerating {id} values, an attacker could expose private data including program names, scope details and the titles of reports belonging to those programs. The HackerOne team addressed the issue, treated it as critical, and paid a bounty.

Setup

The report describes no accounts, roles, tools or versions. The only stated precondition is the absence of authorisation: the request below is sent "without authorization". No session cookie, token or header is shown, so the exact authentication state of the caller is not documented beyond that phrase.

Finding it

The researcher's description is short: a recent update, in their words, "gives the results of private programs". The researcher says a recent update "gives the results of private programs", and the node lookup returned a name belonging to a private program.

Exploitation

Step 1: query the node without authorisation

The researcher sends a GraphQL query that looks up a single node by its global ID, using an inline fragment to select the PolicyPageAssetGroupDocument type and ask for id and name:

Text
{"query":"{node(id:\"gid://hackerone/PolicyPageAssetGroupsIndex::PolicyPageAssetGroup/3981-41287\"){... on PolicyPageAssetGroupDocument{id,name}}}"}

The id argument is a global identifier in the gid:// form, naming the PolicyPageAssetGroupsIndex::PolicyPageAssetGroup type and a specific instance (3981-41287). The inline fragment ... on PolicyPageAssetGroupDocument tells the server to resolve the fields id and name when the node is of that document type. The query is sent without authorisation.

Step 2: read the response

The server answers with the node's opaque base64 id and its name:

Text
{"data":{"node":{"id":"[redacted]","name":"██████"}}}

The name field is the asset group's name, and the researcher adds: "This is Asset program - █████████". The value is redacted in the report, but the point is that a caller without authorisation received the name of an asset group tied to a private program. Because the identifier is enumerable, the same query shape can be repeated with other {id} values to walk through further asset groups.

Root cause

The report does not include any code or design detail from HackerOne's side, so the mechanism can only be described at the level the researcher gives. The node(id: ...) field is a generic entry point that resolves any object implementing the Node interface by its global ID. The PolicyPageAssetGroup type was reachable through that entry point, and the resolver returned the object's name to a caller who was not authorised for the private program behind it. The report gives no design detail, so the exact cause is not documented. The researcher frames it as a recent update that "gives the results of private programs".

Impact

The researcher's stated impact is "Disclosing Scope (Assets) in Private Programs". Concretely, an unauthorised caller could enumerate {id} values and expose private data, including program names, scope details and the titles of reports belonging to those programs. The exposure is limited to what the queried type returns: in the demonstrated request, the asset group's id and name. The report does not show report titles being retrieved, only states that they were among the data that could be exposed. The platform treated the issue as critical and awarded a bounty.

Fix

The report does not describe the change HackerOne made. It only states that the team promptly addressed the issue. What the fix should do, given the root cause, is enforce the same authorisation check on PolicyPageAssetGroup nodes reached through the generic node(id: ...) lookup as on any other path to private program data, so that a caller without access to the program receives no object rather than its name.

Variants to test

  1. Query other node types that represent private-program objects through node(id: ...) with an inline fragment, and check whether fields such as names, handles or scope entries come back to an unauthenticated or unauthorised caller. A positive result is a populated object where the UI or REST equivalent would refuse access.
  2. Enumerate neighbouring {id} values in the same gid:// namespace and confirm whether consecutive identifiers resolve to different private programs. A positive result is a sequence of distinct names belonging to programs the caller is not a member of.
  3. Try the same node lookup with and without authentication to see whether the check is missing entirely or only misapplied to certain roles. A positive result is data returned in the unauthenticated case, or in an authenticated case for a program the account does not belong to.
  4. Look for other document-style types exposed alongside PolicyPageAssetGroupDocument and request their fields through the same inline-fragment pattern. A positive result is any field that reveals private program or report metadata.

Hunting notes

This kind of bug tends to hide where a GraphQL schema exposes a generic node(id: ...) entry point next to newer object types. The signal during recon is a type that appears in the schema and is reachable by global ID but whose data is normally gated behind program membership. Comparing what the node lookup returns against what the product's UI or REST API returns for the same object is a quick way to spot a missing check. The researcher showed impact by demonstrating a single unauthorised query returning the name of a private program's asset group, and by explaining that the identifier is enumerable, which turns one leaked object into a way to walk the whole set.

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 12 min read.

What happened, in plain words

HackerOne is a website where companies (called "programs") pay security researchers to find bugs in their software. Some of those programs are public, and some are private: a private program is meant to be visible only to the people the company has invited. Its list of assets (the websites, apps and other things in scope for testing) and the reports filed against it are supposed to stay hidden from everyone else.

This report is about a way to see that hidden information anyway. HackerOne's website talks to its own servers through a GraphQL API. One of the things that API can return is an "asset group", a bundle of assets shown on a program's policy page. The researcher found that they could ask the API for a single asset group by its identifier without authorisation, and the server answered with the group's name for a private program. Because the {id} values can be enumerated, the same request could be repeated with other identifiers.

The researcher's own summary says the flaw let unauthorised users retrieve sensitive information about private bug bounty programs and the titles of private reports by abusing a GraphQL endpoint. By enumerating {id} values, an attacker could expose private data including program names, scope details and the titles of reports belonging to those programs. HackerOne addressed the issue, treated it as critical, and paid a bounty.

The pieces you need to know first

Before the steps make sense, here are the ideas they rely on, explained from scratch.

  • API: a way for one piece of software to ask another for data or actions, without a human clicking buttons. Think of a restaurant: the menu and the kitchen are the API, and your order is a request. You do not walk into the kitchen yourself; you ask, and something comes back.
  • GraphQL: a style of API where the client sends a description of exactly the data it wants, in a query, and the server sends back a matching shape of data. Instead of many fixed addresses (like /users/5), there is usually one address that accepts queries. It is like filling in a form that says precisely which fields you want, rather than accepting a fixed set meal.
  • Query: the text you send to a GraphQL API describing what you want. In this report it is a short JSON object containing a query string.
  • Node and global ID: GraphQL schemas often have a generic way to fetch "any object by its ID", called a node lookup. Each object gets a global identifier, a string that names both the type of object and which one it is. In this report the identifier starts with gid://, which is just a naming convention for such identifiers.
  • Type and inline fragment: a GraphQL schema defines types, which are categories of object with a known set of fields. An inline fragment (... on SomeType) tells the server: "if this object happens to be of this type, give me these particular fields". It is a way of asking for type-specific details through a generic lookup.
  • Authorisation: the check that decides whether the person making a request is allowed to see the thing they asked for. Authentication is proving who you are (logging in); authorisation is whether that identity is permitted to do this particular thing. A missing authorisation check means the server answers a question it should have refused.
  • Enumeration: trying a series of predictable values (here, identifiers) one after another to collect many results. If identifiers are sequential or guessable, one leaked object can become a way to list them all.
  • Scope / assets: the list of things a program allows researchers to test, such as domains and applications. For a private program, that list is itself sensitive, because it reveals what the company is working on.
  • Bounty: a payment a company makes to a researcher who reports a valid security bug.
  • CVSS: a standard scoring system for the severity of a vulnerability, from 0 to 10. Higher means more serious.

Context

HackerOne runs private bug bounty programs whose details, including the assets in scope and the reports filed against them, are meant to be visible only to the program's own participants. The report here concerns a GraphQL endpoint on hackerone.com that exposes objects of the type PolicyPageAssetGroup, which represent asset groups on a program's policy page. The researcher found that a node lookup on this type returned data for private programs to a caller who was not authorised to see them.

In plain terms: the website has a general-purpose "fetch any object by its ID" door, and one kind of object behind that door (asset groups) came back without anyone checking whether the caller was allowed to see it. The object in question is not exotic; it is the grouping of assets that appears on a program's public-facing policy page, which for a private program should never be shown to outsiders.

Setup

The report describes no accounts, roles, tools or versions. The only stated precondition is the absence of authorisation: the request below is sent "without authorization". No session cookie, token or header is shown, so the exact authentication state of the caller is not documented beyond that phrase.

That matters for a beginner: there is no special trick to reproduce it, no account to create and no tool to install. The point of the report is precisely that no credentials were needed.

Finding it

The researcher's description is short: a recent update, in their words, "gives the results of private programs". The researcher says a recent update "gives the results of private programs", and the node lookup returned a name belonging to a private program.

The researcher only says a recent update "gives the results of private programs"; the report gives no further detail on the cause.

Exploitation

Step 1: query the node without authorisation

The researcher sends a GraphQL query that looks up a single node by its global ID, using an inline fragment to select the PolicyPageAssetGroupDocument type and ask for id and name:

Text
{"query":"{node(id:\"gid://hackerone/PolicyPageAssetGroupsIndex::PolicyPageAssetGroup/3981-41287\"){... on PolicyPageAssetGroupDocument{id,name}}}"}

Line by line, in plain words:

  1. The outer braces make this a JSON object, the format the API expects. Inside it there is one key, query, whose value is the GraphQL query as a string.
  2. node(id: ...) is the generic lookup: "give me the object with this identifier".
  3. The identifier is gid://hackerone/PolicyPageAssetGroupsIndex::PolicyPageAssetGroup/3981-41287. The gid:// prefix marks it as a global ID. The middle part names the type, PolicyPageAssetGroupsIndex::PolicyPageAssetGroup, and the trailing 3981-41287 picks one specific instance of that type.
  4. ... on PolicyPageAssetGroupDocument is the inline fragment. It says: if the object you found is of the document type, then apply the following field selection to it.
  5. {id,name} asks for two fields: the object's identifier and its name. The name is the interesting one, because it is the human-readable label of the asset group.
  6. The whole thing is sent without authorisation, which is the heart of the bug: the request does not claim to be a member of the private program, yet it is still answered.

Sending the query is the cheapest possible test of that suspicion: one request, no account, no tooling.

Step 2: read the response

The server answers with the node's opaque base64 id and its name:

Text
{"data":{"node":{"id":"[redacted]","name":"██████"}}}

Line by line:

  1. data is the standard envelope GraphQL uses for successful results.
  2. node is the object that was looked up.
  3. id is the same identifier as before, but encoded. The long string starting with Z2lk is base64, a way of packing text into a safe alphabet. Decoded, it spells out the gid:// identifier from the request. The server returns it in this encoded form as an opaque handle.
  4. name is the asset group's name. It is redacted in the report as ██████, but the researcher identifies it as belonging to a private program: "This is Asset program - █████████".

The important part is not the specific name but the fact that it arrived at all. A caller without authorisation received the name of an asset group tied to a private program. Because the identifier is enumerable, the same query shape can be repeated with other {id} values to walk through further asset groups. One leaked object is therefore not the end of the story: it is a template for collecting many.

Root cause

The report does not include any code or design detail from HackerOne's side, so the mechanism can only be described at the level the researcher gives. The node(id: ...) field is a generic entry point that resolves any object implementing the Node interface by its global ID. The PolicyPageAssetGroup type was reachable through that entry point, and the resolver returned the object's name to a caller who was not authorised for the private program behind it. The report gives no design detail, so the exact cause is not documented. The researcher frames it as a recent update that "gives the results of private programs".

A useful comparison: imagine a building where every room has a locked door, but a new service corridor was added that connects to all of them and has no lock. The rooms are still locked; the corridor simply bypasses the locks. The generic node lookup is that corridor, and the missing per-object check is the missing lock on it.

Impact

The researcher's stated impact is "Disclosing Scope (Assets) in Private Programs". Concretely, an unauthorised caller could enumerate {id} values and expose private data, including program names, scope details and the titles of reports belonging to those programs. The exposure is limited to what the queried type returns: in the demonstrated request, the asset group's id and name. The report does not show report titles being retrieved, only states that they were among the data that could be exposed. The platform treated the issue as critical and awarded a bounty.

Fix

The report does not describe the change HackerOne made. It only states that the team promptly addressed the issue. What the fix should do, given the root cause, is enforce the same authorisation check on PolicyPageAssetGroup nodes reached through the generic node(id: ...) lookup as on any other path to private program data, so that a caller without access to the program receives no object rather than its name.

In everyday terms: put the same lock on the service corridor that every room already has, so that walking down it no longer opens doors you are not entitled to open.

Variants to test

These are follow-up ideas in the same spirit, useful if you want to look for similar bugs on a program you are allowed to test.

  1. Query other node types that represent private-program objects through node(id: ...) with an inline fragment, and check whether fields such as names, handles or scope entries come back to an unauthenticated or unauthorised caller. A positive result is a populated object where the UI or REST equivalent would refuse access.
  2. Enumerate neighbouring {id} values in the same gid:// namespace and confirm whether consecutive identifiers resolve to different private programs. A positive result is a sequence of distinct names belonging to programs the caller is not a member of.
  3. Try the same node lookup with and without authentication to see whether the check is missing entirely or only misapplied to certain roles. A positive result is data returned in the unauthenticated case, or in an authenticated case for a program the account does not belong to.
  4. Look for other document-style types exposed alongside PolicyPageAssetGroupDocument and request their fields through the same inline-fragment pattern. A positive result is any field that reveals private program or report metadata.

Hunting notes

This kind of bug tends to hide where a GraphQL schema exposes a generic node(id: ...) entry point next to newer object types. The signal during recon is a type that appears in the schema and is reachable by global ID but whose data is normally gated behind program membership. Comparing what the node lookup returns against what the product's UI or REST API returns for the same object is a quick way to spot a missing check. The researcher showed impact by demonstrating a single unauthorised query returning the name of a private program's asset group, and by explaining that the identifier is enumerable, which turns one leaked object into a way to walk the whole set.

Glossary

  • API: a way for software to request data or actions from another piece of software, usually over the network.
  • GraphQL: a query language and style of API where the client describes exactly which fields it wants and the server returns a matching shape.
  • Query: the text sent to a GraphQL API describing the data requested.
  • JSON: a text format for structured data, built from keys and values, used by the request and response in this report.
  • Node lookup: a generic GraphQL field, here node(id: ...), that fetches any object by its global identifier.
  • Global ID: a string that names both the type of an object and which instance it is, here in the gid:// form.
  • Type: a category of object in a GraphQL schema, with a defined set of fields.
  • Inline fragment: a GraphQL construct, written ... on SomeType, that applies a field selection only when the object is of that type.
  • Resolver: the server-side function that produces the data for a field in a GraphQL query.
  • Authorisation: the check that decides whether the caller is allowed to see or do the thing they asked for.
  • Authentication: proving who you are, for example by logging in.
  • Unauthorised: not having permission, whether or not you are logged in.
  • Enumeration: trying a series of predictable values, such as identifiers, one after another to collect many results.
  • Base64: an encoding that turns arbitrary text into a safe alphabet of letters, digits and a few symbols; it hides nothing and can be decoded.
  • Opaque identifier: an identifier whose internal meaning you are not meant to rely on, even if it can be decoded.
  • Asset: something a program allows researchers to test, such as a domain or an application.
  • Scope: the full list of assets a program covers.
  • Asset group: a bundle of assets shown together on a program's policy page.
  • Private program: a bug bounty program visible only to invited participants, not to the public.
  • Policy page: the page describing a program's rules and the assets in scope.
  • Bounty: a payment made to a researcher for a valid security report.
  • CVSS: a standard scoring system for vulnerability severity, from 0 to 10.
  • Critical: the highest severity band in common rating schemes.
  • Recon: the exploratory phase of security testing, where you map what a target exposes before trying to break anything.
  • REST API: a style of API built around fixed addresses for resources, often contrasted with GraphQL.
  • Schema: the description of all types, fields and entry points an API offers.

More by haxta4ok00

View all

32 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.

Insecure direct object reference (IDOR)

The lesson behind this report.

One user can read or change another user's data, usually by changing an identifier the server trusts without checking who is asking. One of the most paid bug classes on web programs.