Course contentsShow
← Security
Lesson 61 of 3,0522. Threat Modeling FundamentalsFree lesson

Elevation of Privilege Threats

Understanding threats where attackers gain higher access rights than authorized, moving from user to admin or crossing trust boundaries.

Elevation of Privilege Threats

What you'll learn: How attackers exploit weaknesses to gain higher access rights than they should have, breaking the Least Privilege Principle.

What is Elevation of Privilege?

Elevation of Privilege (EoP) occurs when an attacker starts with limited access (like a regular user account) but finds a way to gain higher permissions—administrator, root, or system-level access. This threat type directly violates the Least Privilege Principle you learned earlier, where users should only have the minimum permissions needed for their role.

Think of it like a hotel guest who shouldn't have access beyond their own room, but discovers a flaw that lets them obtain a master key giving access to all rooms, the safe, and even building management systems.

How It Works

Attackers exploit vulnerabilities to cross trust boundaries (another concept you've learned). Common scenarios include:

  • A standard user finding a bug that grants admin rights
  • Exploiting a vulnerable service running with elevated permissions
  • Bypassing access controls to execute privileged operations
  • Manipulating tokens or credentials to impersonate higher-privilege accounts

Why It's Critical

EoP threats are particularly dangerous because they're often a stepping stone. An attacker might:

  1. Gain initial access through phishing (basic user account)
  2. Use EoP exploit to become administrator
  3. Now access sensitive data (Information Disclosure)
  4. Modify critical systems (Tampering)
  5. Cover their tracks (Repudiation)

This threat breaks through your Defense-in-Depth layers by turning a minor breach into full system compromise.

Real-World Example

A user uploads a file through a web application. Due to poor validation, they upload a script that runs with the web server's elevated permissions, giving them administrative database access they shouldn't have.

Key Takeaway: Elevation of Privilege threats allow attackers to gain unauthorized higher access, breaking trust boundaries and turning limited access into full system control—making strict privilege management essential.