VDB
KO
HIGH 7.1

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven / org.keycloak:keycloak-services
Introduced in: 0 Fixed in: 22.0.12
Fix # pom.xml: bump <version>22.0.12</version> for org.keycloak:keycloak-services
Maven / org.keycloak:keycloak-services
Introduced in: 23.0.0 Fixed in: 24.0.7
Fix # pom.xml: bump <version>24.0.7</version> for org.keycloak:keycloak-services
Maven / org.keycloak:keycloak-services
Introduced in: 25.0.0 Fixed in: 25.0.5
Fix # pom.xml: bump <version>25.0.5</version> for org.keycloak:keycloak-services

References