Keycloak Session Fixation vulnerability
High severity
GitHub Reviewed
Published
Sep 9, 2024
to the GitHub Advisory Database
•
Updated Sep 27, 2024
Package
Affected versions
< 22.0.12
>= 23.0.0, < 24.0.7
>= 25.0.0, < 25.0.5
Patched versions
22.0.12
24.0.7
25.0.5
Description
Published by the National Vulnerability Database
Sep 9, 2024
Published to the GitHub Advisory Database
Sep 9, 2024
Reviewed
Sep 9, 2024
Last updated
Sep 27, 2024
A session fixation issue was discovered in the SAML adapters provided by Keycloak. The session ID and JSESSIONID cookie are not changed at login time, even when
the turnOffChangeSessionIdOnLogin
option is configured. This flaw allows an attacker who hijacks the current session before authentication to trigger session fixation.References