Skip to main content

User ID controlled by request parameter with password disclosure

1

Let's login using the following credentials:

UsernamePassword
wienerpeter

2

We can see that the password is included in the input field for resetting the password. However this password is hidden.

Let's view this in the Proxy > HTTP History tab.

3

We can clearly see the value of the password. We can view the administrator's password in a similar manner.

Let's forward the request to the Repeater and set the id parameter to the following:

administrator

4

Now we can login as the administrator using the following credentials:

UsernamePassword
administratoreg9yjeq3lztdlfb0bnay

5

We have access to the admin panel.

6

Let's delete the carlos user.

7

We have solved the lab.

8