Post

Access control - UID controlled by request parameter

Objective: This lab has a horizontal privilege escalation vulnerability on the user account page. To solve the lab, obtain the API key for the user carlos and submit it as the solution. You can log in to your own account using the following credentials: wiener:peter.

  1. When we login with the account wiener, we are given his API key:

  2. If we change the id parameter to carlos we will be able to get his API key and submit our solution:

This post is licensed under CC BY 4.0 by the author.