Lab: Method-based access control can be circumvented
Application access controls based partly on HTTP method of requests
Admin panel: administrator:admin
Login using admin:administrator to observe admin panel
To Solve: exploit flawed access control & elevate to administrator
Login: wiener:peter
Login to administrator and observe upgrading user and the HTTP requests
Observe POST request which requests /admin-roles with the parameters of username=wiener&action=upgrade (Our upgrade paremeter)
Login to wiener and copy session ID
Send the POST request to repeater and change session ID to that of current user wiener
Send altered request to server, response will be 401 unauthorized
Change POST to POSTX will render a missing parameter “username” message
Change response to a GET request and and the username=wiener&action=upgrade parameters immediatley after the GET (right click, change request)
Solved
This entry was posted on Tuesday, May 6th, 2025 at 1:51 pm and is filed under Burp Suite. You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.