Privilege Escalation

Privilege Escalation

Knowledge Base>Privilege Escalation

Summary

Privilege Escalation refers to unauthorized elevation of access levels within the web application.

Testing methodology

robots.txt, sitemapcommon pathsAuthorize Checks on All RolesAccessible Admin PanelAccessible Admin PanelPass Spray with Default Admin UserAccessed Admin AccountWeak JWT - Change RoleCookie ManipulationisAdmin=trueisOwner=truerole={role}group={group}userType={type}permissions={set of permissions}Invite Owned User with Higher Priv SetUpdate with Different RoleCreate New User with RoleXSS to Assign Privileged RoleAdmin Create or Assign RoleForge Privileged SessionSet Flags to PrivilegedConnect with Privileged UserCheck for Privileged RolesConnect with Privileged UserDeliver to AdminDeliver to AdminAccess as Admin
Identified Different Roles
Mapped Admin Panels
Mapped Role Access
Insecure Administrative Panel
Protected Administrative Panel
Missing Anti-Automation
Session Manipulation
User Controlled Privilege Flags
Invite Functionality
Update User
Registration
XSS
CSRF
Privileged Access

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.

By using this site you agree to our Terms of Service and Privacy Policy.