The “Open Window” in the SSO Fortress: How I Accessed Internal GraphQL Schemas Without Login (And…
A private GitLab instance's GraphQL Explorer endpoint was reachable without authentication, bypassing SSO. An attacker could use it to introspect the full GraphQL schema and query internal metadata such as audit event definitions, AI chat presets, and project topics.
Published on zer0figure.medium.com
In the world of modern enterprise security, the “Front Door” is usually impenetrable. Large corporations protect their internal tools — like source code repositories, CI/CD pipelines, and project boards — behind heavy layers of Single Sign-On (SSO) and Multi-Factor Authentication (MFA).
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 GraphQL Explorer endpoint was excluded from the SSO authentication layer, so it was served without a session check.
Impact
An unauthenticated attacker could map internal infrastructure, leak development pipeline details, and expose AI configurations, though mutations still required authentication.
What the attacker needed
Target runs self-hosted GitLab; GraphQL Explorer endpoint is publicly reachable; No authentication required on that endpoint
The fix
The endpoint should be blocked at the WAF or reverse proxy and the SSO layer should wrap the entire application, not just UI routes.
How it was found
- Visit the main GitLab URL and observe the redirect to SSO.
- Append the GraphQL Explorer path to the host and load it.
- Open the Docs tab to view the full schema via introspection.
- Run queries against internal objects such as audit event definitions, AI chat presets, and topics.
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 login system that lets one account access many apps, and it is meant to stop outsiders. Here, a developer tool called GraphQL Explorer was left open without any login check, so anyone could use it to ask the server about its internal data. The server answered with details about its own structure and some internal settings.
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.