Skip to content
IDOR Write-up Intermediate

How I got: GraphQL IDOR — Unauthorised Access of PII via Missin

A GraphQL endpoint allowed any authenticated user to request sensitive profile fields for any team member by adding a field to the query and changing the team ID. The attacker could enumerate all registered users and obtain personal data such as full name, email, phone number, and date of birth.

Snehil Follow

Published on mrtom001.medium.com

I was using the platform as a regular user — registering, navigating around, doing what any participant would do. The moment the platform went down for maintenance, I switched modes.

Snehil, on mrtom001.medium.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 resolvers returned the profileData field without performing any authorisation check to confirm the requesting user owned or had permission to view that data.

Impact

An authenticated attacker could access personal data of all registered users, enabling phishing, impersonation, and potential account takeovers on other platforms.

What the attacker needed

A valid user account; ability to send custom GraphQL queries

The fix

The report recommends implementing resolver-level authorisation, field-level restrictions on PII, and disabling introspection in production; it does not state that a fix was applied.

How it was found

  1. Register and log in as a regular user.
  2. Capture the GraphQL request to /api/graphql/ while browsing authenticated.
  3. Add the profileData field to the captain and members objects in the query.
  4. Send the modified query and observe full personal data returned.
  5. Change the id variable to another team's ID and repeat to access other users' data.

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.

The website's programming interface let a logged-in user ask for extra personal details about other people just by changing a number in the request. The server never checked whether the user was allowed to see that information, so anyone with an account could read private data for every user.

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.

More by Snehil

View all

1 more disclosed report, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Insecure direct object reference (IDOR)

The lesson behind this report.

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.