GHSA-5rxp-2rhr-qwqv

Keycloak has session fixation in Elytron SAML adapters

At a glance

Published
Updated
CVE
CVE-2024-7341
Aliases
BIT-keycloak-2024-7341, GHSA-j76j-rqwj-jmvv
CVSS_V3
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H

Description

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

PackageVersions
Maven · org.keycloak:keycloak-servicesintroduced 0, fixed 22.0.12
Maven · org.keycloak:keycloak-servicesintroduced 23.0.0, fixed 24.0.7
Maven · org.keycloak:keycloak-servicesintroduced 25.0.0, fixed 25.0.5

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database