User role controlled by request parameter
Link: https://portswigger.net/web-security/access-control/lab-user-role-controlled-by-request-parameter
Description:
This lab has an admin panel at /admin, which identifies administrators using a forgeable cookie.
Solve the lab by accessing the admin panel and using it to delete the user carlos.
You can log in to your own account using the following credentials: wiener:peter
Preparation:
Ektension browser cookie editor
Proof of concept:
Analisa web target menggunakan akun testing

Terlihat pada web target terdapat
cookiedengan parameterAdmin
Gunakan ekstension browser yang sebelumnya telah disediakan untuk ubah nilai
cookiedarifalsemenjaditrue
Setelah merubah nilai
cookiedan melakukan refresh pada halaman web, terlihat terdapat menu baru yaituAdmin panel
Akses fitur tersebut untuk melakukan penghapusan akun
carlosuntuk menyelesaikan tantangan pada lab ini
Thanks, Stay Ethical & Happy Hacking! 🍻
Last updated