Privilege Escalation
Gaining higher permissions than intended, such as a normal user becoming an administrator.
What it is
Privilege escalation is when an attacker increases their level of access beyond what they were granted. Vertical escalation means moving to a higher role, such as from user to administrator; horizontal escalation means taking over another account at the same level. It is usually a step within a larger attack rather than the final goal.
Why it matters
Escalating privileges turns a limited foothold into broad control, often unlocking sensitive data and administrative functions.
How to fix it
Apply least privilege, enforce strict role checks on the server, and separate administrative functions so that elevated actions require explicit, verified authorization.