Test for Insecure Client-Side Authorization
Test if a web application relies on client-side authorization control by manipulating the permission object in transit. Send a request to an endpoint that returns a JSON permission matrix, such as GET /user/self, and intercept the response. Modify the permissions field to elevate your privileges, for example by changing "usermanagement_access": "view" to "usermanagement_access": "edit". Then, send a request to a sensitive endpoint, such as GET /admin/users, with the altered permission object. If the backend serves sensitive data without validating your session token, it may indicate an insecure client-side authorization control vulnerability. You can use tools like an intercepting proxy to manipulate the response and test for this vulnerability.
Follow #access-control, #authorization-bypass or #privilege-escalation for new tips like this one, on your notifications page and, if you choose, in a daily or weekly email.
Comments
No comments yet.