Skip to content
IDOR Write-up Intermediate

From Locked to Looted: My Journey of IDOR Chains to Almost-Admin Access

A GraphQL endpoint exposed sensitive fields and allowed changing user IDs to access other users' data, and by chaining nested queries the author could reach admin-level information. The author claims this led to a system-wide leak, but no specific data or admin actions are shown.

infosecwriteups.com

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 missing authorization checks on GraphQL queries, allowing users to access other users' data by changing IDs and to traverse nested objects to reach admin-level information.

Impact

An attacker could read other users' sensitive information and potentially access admin-level data, though the text does not specify the exact extent or whether admin actions were possible.

What the attacker needed

Access to the GraphQL endpoint; knowledge of valid user IDs

How it was found

  1. Find a GraphQL endpoint during recon.
  2. Run introspection queries to discover schema fields including sensitive ones.
  3. Change a user ID in a query to access another user's data.
  4. Use nested objects to chain requests and escalate to admin-level references.

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 endpoint is a way for apps to ask for data. Here, the app did not check if you were allowed to see the data you asked for, so by changing a number in the request you could see other people's information. The author also found that by asking for related data in a chain, they could see admin-level details.

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.

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.