How I Accessed Google’s Internal AI Models via a Consumer Gmail Account
A Google subdomain used for internal tools accepted authentication from a standard consumer Gmail account instead of requiring corporate single sign-on. After logging in with a regular Gmail account, the backend did not check whether the user belonged to the corporate domain, so the attacker gained full access to an internal dashboard and three unreleased AI summarisation models.
During reconnaissance on .clients6.google.com, I discovered a flaw in the authentication redirection logic. While internal Google tools should strictly redirect to Corporate SSO (Single Sign-On), this specific subdomain incorrectly allowed authentication via a standard Consumer Google Account.
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 authentication flow on the subdomain was misconfigured to accept consumer Google accounts, and the backend did not enforce a domain or group check after login.
Impact
The attacker could access an internal dashboard, three unreleased AI summarisation models, and internal infrastructure details, and could potentially abuse internal compute resources.
What the attacker needed
A free consumer Gmail account; knowledge of the internal subdomain
The fix
The authentication flow should be restricted to corporate SSO and the backend should verify that the authenticated user belongs to the corporate domain before granting access.
How it was found
- Find the internal-tool subdomain during reconnaissance.
- Notice that the login page offers a standard Gmail login instead of corporate SSO.
- Log in with a regular personal Gmail account.
- Observe that the backend does not check for the corporate domain and grants access to the internal dashboard.
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.
Single sign-on (SSO) is a way to log in once and access many internal systems, usually restricted to company staff. Here, a page meant only for employees also accepted ordinary personal Gmail accounts, and the server never checked that the person worked for the company. That let an outsider see internal tools and AI models that were not meant to be public.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.