imagine we have this website.

image.png

now let’s try to login.

image.png

now let’s try to change the password of the user.

image.png

now let’s try to change the name to administrator and see what will happen.

image.png

notice that it said that the current password is incorrect

put let’s try to remove the current password parameter and send the request again.

image.png

notice that it said we changed the password successfully and what happen here is that the application is not forcing to check the current password before reseting the password.

now let’s go and login to the admin account

image.png

now let’s navigate to the admin panel.

image.png

now let’s remove the user carlos.

image.png

and we solved the lab.