Summary
A role-based access control (RBAC) implementation that trusts a client-side cookie as its sole authorization signal β no server-side verification, no signing, no session binding. Result: trivial vertical privilege escalation from a standard staff account to full administrator access.
This writeup documents the vulnerability found in Session Swap , a simulated internal staff portal ("Ridgeline Hotels"), and the exploitation path from low-privilege user to admin.
Target Behavior
Authenticating with standard staff credentials placed the session in a Front Desk Lead role.β¦