ADVISORIES

GitHub Advisory Database

GHSA-5rxp-2rhr-qwqv

Keycloak has session fixation in Elytron SAML adapters

Details

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.

Affected packages

EcosystemPackageAffected versions
Mavenorg.keycloak:keycloak-services
All versions before 22.0.12 (fixed in 22.0.12)
Mavenorg.keycloak:keycloak-services
From 23.0.0 before 24.0.7 (fixed in 24.0.7)
Mavenorg.keycloak:keycloak-services
From 25.0.0 before 25.0.5 (fixed in 25.0.5)

References