Portswigger: User ID controlled by request parameter with password disclosure Writeup

This lab has user account page that contains the current user’s existing password, prefilled in a masked input.

To solve the lab, retrieve the administrator’s password, then use it to delete the user carlos.

You can log in to your own account using the following credentials: wiener:peter

Lab link.

When we login with the given user information, we see the username in the id parameter in the URL.

If we look at the request, we see that the password is an information disclosure.

we make the username administrator and learn the admin password.

We log in to the admin account with password information. We enter the admin panel and delete the Carlos user.

Aleyna Doğan
Aleyna Doğan

I'm Aleyna Doğan, a Senior Cyber Threat Intelligence Analyst specializing in cyber threat intelligence, OSINT investigations, and digital risk monitoring. This blog is where I share hands-on cybersecurity content, including TryHackMe writeups, PortSwigger labs, and practical learning resources.

Articles: 150

Leave a Reply

Your email address will not be published. Required fields are marked *