Privilege Escalation
Subject: Computer and Technology noun /ˈprɪv.ə.lɪdʒ ˌɛs.kəˈleɪ.ʃən/ 1 definition
- information-security
- access-control
- operating-systems
- application-security
-
Definition (noun)
Entry #197 · UpdatedPrivilege Escalation occurs when a user, process, or attacker exploits a software vulnerability, design flaw, or access-control misconfiguration to obtain permissions beyond those originally authorized. Rather than acquiring capabilities through legitimate authentication or administrative delegation, it bypasses an intended authorization boundary to gain higher-tier system control or unauthorized access to another account's resources. In multi-stage intrusions, it often turns limited initial access into broader persistence, sensitive data exposure, or full host compromise.
Common Forms
Vertical Privilege Escalation: Elevating from a lower-privileged account to a higher-tier role—such as moving from a standard user to
root,SYSTEM, or an administrator—to gain broader control over a host or platform.Horizontal Privilege Escalation: Accessing data, sessions, or actions belonging to another user at the same authorization tier, typically by exploiting broken object-level authorization or weak session isolation.
Host and Kernel Escalation: Exploiting operating system vulnerabilities, race conditions, misconfigured
sudorules, or insecure service permissions to execute code inside a trusted local security context.Application and Cloud IAM Escalation: Abusing flawed role-based access controls, token-validation bugs, or chained cloud identity policies—such as attaching an overly broad policy or passing a privileged service role—to inherit elevated permissions.
Example
After gaining an initial shell as the unprivileged
www-dataaccount, an attacker finds a misconfiguredsudorule allowing the service account to run/usr/bin/python3asrootwithout a password. By executing/bin/bashthrough that privileged interpreter, the attacker escalates from a restricted user to full administrative control over the server.