Skip to content
Info disclosure Write-up Intermediate

The Hidden Graph: How API Rate Limits Lied and Let Me Scrape Mill

A GraphQL API exposed sensitive user data without authentication, and its rate limiting could be bypassed by altering query casing, adding fields like __typename, or batching requests. An attacker could scrape thousands of user records including emails, phone numbers, and password hints.

iski Follow

Published on infosecwriteups.com

Free Link 🎈

Iski, on infosecwriteups.com

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 endpoint lacked authentication and its rate limiting was implemented in a way that could be bypassed by trivial query modifications or batching.

Impact

The vulnerability exposed full user base data including emails, phones, and names, potentially allowing scraping of over 10,000 users and leading to GDPR violations.

What the attacker needed

No authentication required; GraphQL endpoint publicly accessible

How it was found

  1. Discover the GraphQL endpoint by spidering JavaScript files.
  2. Check if introspection is enabled and retrieve the full schema.
  3. Send a query to fetch users and observe a 429 rate limit response.
  4. Bypass the rate limit by changing query casing, adding __typename, or batching multiple queries.
  5. Use a script to iterate through pages and fetch over 10,000 user records.

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 apps to ask a server for specific data. Here, the server let anyone request a list of all users without logging in, and the limit on how many requests you can make was easily fooled by slightly changing each request. This meant someone could download lots of personal information about users.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More by iski

View all

186 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.