NetSight
high7.1

CVE-2024-7341

Keycloak has session fixation in Elytron SAML adapters

Impact

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

EcosystemPackageAffectedFixed in
mavenorg.keycloak:keycloak-services<= 22.0.1122.0.12

Affected products

VendorProductAffected versions
RedhatKeycloak
through 25.0.2
RedhatSingle Sign-On
from 7.6 before 7.6.10
All versions
RedhatBuild Of Keycloak
from 22.0 before 22.0.12
from 24.0 before 24.0.7

Weakness classification

References