Privilege Escalation
Summary
Privilege Escalation refers to unauthorized elevation of access levels within the web application.
Testing methodology
Description
A Privilege Escalation vulnerability in a web application allows an attacker to gain elevated access to resources that are normally protected from an application or user. A Privilege Escalation can occur due to weak authorization checks, misconfigured session management, user-controlled flags that allow role changes, or other vulnerabilities that bypass the intended privilege levels.
Remediations
- Implement robust role-based access control (RBAC) and ensure proper authorization checks for all user actions.
- Secure session management and ensure that session tokens cannot be easily predicted or hijacked.
- Avoid using user-controlled input to determine roles or privileges. Instead, rely on server-side mechanisms.
Usually follows
Affected components
- Session
- Sensitive Information
- Client Side