Skip to content

Lab Brief: Insecure Direct Object Reference (IDOR)

You are logged into a simulated employee portal as a standard user. The application fetches your profile data using an API endpoint based on your user ID.

Find a way to view the profile of the system administrator (who usually has an early ID number like 4 or 0). Their profile contains the hidden flag.

API Client Request

The frontend makes a GET request to fetch the user profile. You can modify the request payload here to test for authorization flaws.

Server Response