Session fixation
A bug where the session ID stays the same after login, so a planted ID becomes a logged-in session.
Definition
If an attacker can put a known session ID into the victim's browser before login, and the app keeps that ID after login, the attacker is logged in too. The fix is simple: issue a new session ID at login and when privileges change. Testers compare the session cookie's value before and after logging in.
In practice
The session cookie is s_9f2c41e7 before login and still s_9f2c41e7 after it.
Learn it in context
Lessons that use this term.