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

Unauthenticated GraphQL node lookup on HackerOne exposed private program asset groups and report titles by enumerating PolicyPageAssetGroup global IDs.

- Payout: $25,000
- Severity: critical
- Program: HackerOne
- Found by: haxta4ok00
- Disclosed: 2025-01-21
- Write-up quality: 7/10
- Original: https://hackerone.com/reports/1618347
- Library page: https://bugbountylibrary.com/r/h1%3A1618347
- Tags: area:web domain:api domain:web impact:data-leak impact:internal-access kind:bounty platform:hackerone sev:critical tech:graphql technique:recon vuln:access-control vuln:idor vuln:info-disclosure

**Target:** GraphQL API node() endpoint / PolicyPageAssetGroup
**Root cause:** The GraphQL `node(id:)` resolver returned PolicyPageAssetGroup objects without authorization checks, so private-program asset groups were readable by any unauthenticated caller who knew or guessed the gid.
**Steps:**
1. Send unauthenticated POST to `/graphql` with `{"query":"{node(id:\"gid://hackerone/PolicyPageAssetGroupsIndex::PolicyPageAssetGroup/3981-41287\"){... on PolicyPageAssetGroupDocument{id,name}}}"}`
2. Observe response returns base64 id and private program name
3. Enumerate the `{program_id}-{group_id}` numeric suffix to walk other private programs' asset groups
**How found:** Researcher noticed a recent update changed GraphQL node resolution behavior and tested whether PolicyPageAssetGroup gids were still access-controlled without auth.
**Exploitation:** Unauthenticated attacker queries the GraphQL node interface with crafted global IDs; the resolver returns private program asset group names and IDs, and enumeration of the numeric suffix exposes scope/assets and report titles across private programs.
**Escalation:** Enumerating sequential `{id}` values scales disclosure from one private program to many, including private report titles.
**Insight:** When a platform adds a new GraphQL type or updates node resolvers, test the `node(id:)` global-ID interface unauthenticated — authorization is often enforced on the parent query but forgotten on the generic node lookup.

## Proof of concept (copied exactly from the original report)

**GraphQL query disclosing private program asset group**

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

