IDOR on clientauthconfig.googleapis.com
An unauthenticated API endpoint on clientauthconfig.googleapis.com allowed anyone to retrieve branding information for any OAuth client by supplying its brand ID (which equals the project number). This exposed details of Google Workspace internal brands that are otherwise restricted and not visible to outsiders.
Published on feed.bugs.xdavidhu.me
Using the /v1/brands/lookupkey/brand/[brandid] endpoint on the clientauthconfig.googleapis.com API, its possible to request information about any brand, without any authentication.
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.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the endpoint lacked an access-control check requiring read permission on the brand's associated project, as stated in its own documentation.
Impact
An unauthenticated attacker who knows a target project's project number could retrieve branding details of internal Google Workspace OAuth clients, which are otherwise restricted and not shown to outsiders.
What the attacker needed
Knowledge of target project_number; no authentication required
The fix
The report was closed as intended behaviour without a fix; the product team argued the information is public and available through other sources.
How it was found
- Create a GCP project and note its project number.
- Set up an OAuth consent screen (brand) in the Google Cloud Console.
- Send an unauthenticated GET request to the lookupkey endpoint using the project number as the brand ID.
- Observe the brand object returned in the response.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
OAuth is a way for apps to ask for permission to access your account without sharing your password. Each app has a public identifier, and sometimes extra details about the app are kept private. This report found that a Google API let anyone look up those private details just by knowing a number that is often easy to find.
What is IDOR?
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.