Re:Hell Is Overconfident Developers Writing Encryption Code
by Filligree on Saturday February 01, 2025 @07:08AM
(#42897764)
Proving your point, but: What is fixation?
[ Parent
| on HN ]
Re:Hell Is Overconfident Developers Writing Encryption Code
by Calzifer on Saturday February 01, 2025 @08:19AM
(#42898072)
https://en.wikipedia.org/wiki/Session_fixation
In short, in at least one variation, the attacker is able to smuggle in a known (unauthenticated) session token into the victims browser. Once the victim logs in the session token is authenticated and known to the attacker.
The easy countermeasure is to renew the session token on login and not reuse a previously unauthenticated session token. Or your application has no session at all before login.