Lab: Finding a hidden GraphQL endpoint
The user management functions for this lab are powered by a hidden GraphQL endpoint. You won't be able to find this endpoint by simply clicking pages in the site. The endpoint also has some defenses against introspection.
To solve the lab, find the hidden endpoint and delete carlos
.
Steps
Open Burp Suite and visit the target website
Click on any get request and send it to the intruder and repeater
Brute force the path using the below list
In the repeater add the /api endpoint with a query
Switch to the GraphQL tab in repeater
Get all the available queryType
Get the available mutation type
Get the user Carlos ID
Delete the user carlos using the mutation type
Congrats! You have solved the lab
Note: To do this you have to URL encode and the requests.
Last updated