# Disclosing YouTube Creator Emails for a $20k Bounty

ProtoJson type-error debug messages leaked hidden YouTube API params, exposing an includeSuspended flag that revealed creator Content Owner IDs and their private conflict notification emails.

- Payout: $20,000
- Severity: high
- Program: Google
- Found by: brutecat
- Disclosed: 2025-03-13
- Write-up quality: 9/10
- Original: https://brutecat.com/articles/youtube-creator-emails
- Library page: https://bugbountylibrary.com/r/blog%3Abrutecat-com-articles-youtube-creator-emails
- Tags: area:web domain:api impact:data-leak impact:pii-leak kind:bounty platform:blog sev:high tech:rest technique:source-review vuln:access-control vuln:info-disclosure

**Target:** youtubei.googleapis.com InnerTube API (get_creator_channels) and YouTube Content ID API
**Root cause:** ProtoJson requests with wrong-typed positional array values return verbose debug errors naming every field; a hidden includeSuspended flag on get_creator_channels bypassed access controls to leak contentOwnerAssociation for arbitrary channels.
**Steps:**
1. Send `POST /youtubei/v1/browse` with `Content-Type: application/json+protobuf` and body `[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30]` to enumerate all field names/types via error messages
2. Automate with req2proto to reconstruct the full proto schema for endpoints
3. Dump get_creator_channels schema, revealing hidden `critical_read` and `include_suspended` fields
4. Call `POST /youtubei/v1/creator/get_creator_channels` with victim `channelIds` and `includeSuspended: true` to leak `contentOwnerAssociation.externalContentOwnerId`
5. Call Content ID API `contentOwners.list` with that ID via API Explorer using a monetized-channel Google account to retrieve `conflictNotificationEmail`
**How found:** Noticed wrong-typed params returned debug info naming the field; realized ProtoJson positional arrays let them trigger type errors on every field without knowing names, then built req2proto to reconstruct schemas and hunted for secret params on sensitive endpoints.
**Exploitation:** Attacker with any Google account enumerates hidden proto fields via type-error leakage, then queries get_creator_channels with includeSuspended=true for arbitrary channel IDs to obtain IVP Content Owner IDs. Using a monetized channel account (or API Explorer client) they call contentOwners.list to retrieve the victim's conflict notification email, which is the email at monetization time.
**Escalation:** Chained two bugs: proto field enumeration to discover hidden param, then hidden param to leak content owner ID, then cross-API call to Content ID API to convert ID into PII email.
**Insight:** When an API accepts ProtoJson (application/json+protobuf), send a positional array of wrong-typed values to force the server to enumerate every field name and type in the error—an oracle for hidden/undocumented parameters you can then probe for access-control bypasses.

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

**ProtoJson array request leaking all parameter names**

```
POST /youtubei/v1/browse HTTP/2
Host: youtubei.googleapis.com
Content-Type: application/json+protobuf
Content-Length: 22

[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30]
```

**Content ID API contentOwners.list leaking conflictNotificationEmail**

```
{
 "kind": "youtubePartner#contentOwnerList",
 "items": [
 {
 "kind": "youtubePartner#contentOwner",
 "id": "kdVwk95TnaCSLJJfyIFoqw",
 "displayName": "omilana7",
 "conflictNotificationEmail": "<redacted>@yahoo.co.uk"
 }
 ]
}
```

