How I Discovered an Authentication Bypass in a Popular News Websi
A GraphQL endpoint on a news site exposed its full schema and allowed queries without authentication, so anyone who found the endpoint could read premium articles normally hidden behind a paywall. The author reported it and the site patched it within weeks.
Published on medium.com
The internet is a treasure trove of knowledge, but sometimes it reveals more than it should. As a subscriber to a popular news website, I was curious about their web app and its functionality.
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 server had no authentication check on its queries and left schema introspection enabled, so unauthenticated callers could read paywalled content.
Impact
Anyone who knew the endpoint could read premium news content without a subscription, though the text does not claim access to anything beyond that content.
What the attacker needed
Knowledge of the GraphQL endpoint; no account needed
The fix
The vulnerability was fixed after responsible disclosure, with the site patching it within weeks.
How it was found
- Find the GraphQL endpoint through a search engine query.
- Open the endpoint and read the exposed schema.
- Run a query without logging in to fetch premium articles.
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.
A GraphQL API is a way for a website's front end to ask its server for data. Normally the server should check who is asking before returning anything private. Here it did not check, so anyone who knew the address could read paid articles for free.
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.