Chaining IDOR Vulnerabilities

Try to change the admin's email to '[email protected]', and you should get the flag on the 'edit profile' page.

Step 1 - Update Profile

  • Fill the forms and click on Update Profile

  • Send the PUT Request to the Repeater

Step 2 - Enumerate other profiles

  • Change the profile ID - Notice on the Response that the information belongs to the other user

  • Create a script to easily enumerate all the users

  • The admin's ID is 10

Step 3 - Change the admin email

  • Use the previous request to retreive the admins data

  • Change it to a PUT Request and make sure the email is changed to '[email protected]'

Step 4 - Get the flag

  • Access to the 'Edit Profile' page

  • And we got the flag!

Last updated