EncryptCodecencryptcodec
Simulations/Session Fixation

Session Fixation

Intermediate

Session fixation lets an attacker set a known session ID in the victim's browser. When the victim logs in, the attacker gains access using the same session. Walk through the attack flow, then enable defenses.

Progress:
1
Session Fixation Attack
2
Apply the Fix

Attack Flow

Session Activity Log
Waiting for attack to begin...

Challenges

1
Session Fixation Attack
Set a session ID in the victim's browser via URL, then authenticate to hijack the session.
hints
2
Apply the Fix
Enable session regeneration to prevent fixation attacks.
hints
How to fix session fixation
Regenerate session IDs after authentication

Frequently Asked Questions