User role controlled by request parameter
Link: https://portswigger.net/web-security/access-control/lab-user-role-controlled-by-request-parameter
Last updated
Link: https://portswigger.net/web-security/access-control/lab-user-role-controlled-by-request-parameter
Last updated
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 cookie
dengan parameter Admin
Gunakan ekstension browser yang sebelumnya telah disediakan untuk ubah nilai cookie
dari false
menjadi true
Setelah merubah nilai cookie
dan melakukan refresh pada halaman web, terlihat terdapat menu baru yaitu Admin panel
Akses fitur tersebut untuk melakukan penghapusan akun carlos
untuk menyelesaikan tantangan pada lab ini
Thanks, Stay Ethical & Happy Hacking! 🍻