Lab 4: User role controlled by request parameter

 I need to access the admin site and delete Carlos but to do this I need to change the parameters to then gain access into the admin page.

I went into my account and logged in using the credentials that were provided for me






I then went into cookies and found the Admin cookie set to false, so I changed it to true and then I went into the admin panel




After doing so I was able to delete Carlos.

Another way I could of done this was by using Burp

I could have sent the request to the proxy and taken a look at the cookies.



Here I could have changed the cookie to true and then it would have worked the same way


Comments

Popular posts from this blog

Practitioner Lab 1: File path traversal, traversal sequences blocked with absolute path bypass

Practitioner Lab 7: SSRF with filter bypass via open redirection vulnerability

Practitioner Lab 4: File path traversal, validation of start of path

Practitioner Lab 5:File path traversal, validation of file extension with null byte bypass