Security lab
GraphQL Batch Query Abuse
The GraphQL endpoint accepts a batch of operations in one request, but it fails to preserve the effective authorization check for each operation. A user query can be combined with an admin-only query in the same batch and exfiltrate the secret.
Lab objective
Send a batch of GraphQL requests so the backend executes an admin-sensitive query in the same call chain and leaks the hidden secret.
Tools you will use
- browser
- Burp Suite
- curl
What this lab teaches
This lab is a self-contained exercise hosted in an isolated, per-user sandbox. You are given a clear objective, the tools typically used for the technique, and a guided set of hints. Because every sandbox is disposable and network-isolated, you can experiment freely, make mistakes, and reset the environment without affecting any real system.
Hints & approach
- 01The endpoint accepts an array of GraphQL requests, not just one query object.
- 02A batch can contain multiple operations with different intent and permissions.
- 03Look for an operation that resolves admin-only data even when a normal user context is active.
How the sandbox works
When you start the lab, Vulnarex provisions an isolated, per-user environment and opens it in a new tab. Each session has its own target and state, so nothing you do here can affect another learner or any external system. You can reset the environment at any time and re-approach the challenge from a clean slate.