Broken Access Control/Privilege Escalation
Description
Example with Scenario
Payloads and Test Cases
/admin/user?role=admin/restricted/resource
/admin# Attempt to access the admin panel accessURL("/admin") # Verify if the application grants access checkAdminAccess()
/user?role=admin# Attempt to escalate privileges by modifying the role parameter accessURL("/user?role=admin") # Verify if the application grants admin privileges checkPrivilegeEscalation()
/restricted/resource# Attempt to access a restricted resource accessURL("/restricted/resource") # Verify if the application grants access checkAccessToRestrictedResource()
Mitigation
Last updated