Privilege Escalation

High

Privilege Escalation

Definition

Privilege Escalation is the process of obtaining permissions or roles higher than those originally assigned. It splits into horizontal (accessing another same-level user's resources) and vertical (obtaining higher-level permissions, such as from user to admin). It is one of the most sought-after impacts in bug bounty for its severity.

Impact

Access to administrator featuresReading and modifying other users' dataControl over the application's configurationAbility to create or delete accountsAccess to admin panels and internal tools

Examples

Vertical escalation: user to admin

Vertical escalation happens when an admin endpoint does not properly verify the requester's role. The attacker, as a normal user, can invoke admin functions if the server only checks that the token is valid without checking the role.

# 1. Register a normal account
POST /api/auth/register
{"username": "hunter", "email": "hunter@test.com", "password": "test123"}

# 2. Inspect the decoded JWT in the response
{
  "userId": "abc123",
  "role": "user",
  "iat": 1713262800
}

# 3. Find an endpoint with no role check
PUT /api/admin/users/abc123/role
Authorization: Bearer <normal_user_token>
{"role": "admin"}

# If the endpoint doesn't verify that the requester is an admin,
# the user promotes themselves to admin

Practice Privilege Escalation with real labs

Apply what you've learned in safe environments based on real bug bounty reports.

See practice labs
2,482

hunters training

62

labs from real hacks

1,630

completions

$14,790

paid out for these bugs

11 flags captured this week·Real hacks from HackerOne · YesWeHack · Bugcrowd·No commitment·Free Academy
Free · no account

The checklist I run on every new target

47 checks ordered by cost: first what can get you in trouble, then the cheap stuff, and finally the expensive stuff — which is where the big bounties are. I'll send it to your inbox right now.

Unsubscribe in one click, from any email.

BBLabs · bug bounty training

Stop reading about bugs and start hunting them

Create your free account and practice on labs based on real hacks that paid out thousands of euros. The Academy is free forever.

No card · free Academy · cancel anytime