What’s Vulnerable › Vulnerabilities
CVE-2024-7341: Wildfly-elytron: org.keycloak/keycloak-services: session fixation in elytron saml adapters
- Severity: high (CVSS 7.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.8% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-09-09 · updated 2026-08-27
- Weakness: CWE-384
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 products
- Red Hat build of Keycloak 26.4: from 22.0 before 22.0.12; from 24.0 before 24.0.7 — fixed in 22.0.12, 24.0.7
- Keycloak: through 25.0.2
- Red Hat Single Sign-On: from 7.6 before 7.6.10 — fixed in 7.6.10
How to fix
Upgrade to a fixed version: Red Hat build of Keycloak 26.4 22.0.12, 24.0.7; Red Hat Single Sign-On 7.6.10. Check the vendor advisory for mitigations.
References
- https://access.redhat.com/errata/RHSA-2024:6493
- https://access.redhat.com/errata/RHSA-2024:6494
- https://access.redhat.com/errata/RHSA-2024:6495
- https://access.redhat.com/errata/RHSA-2024:6497
- https://access.redhat.com/errata/RHSA-2024:6499
- https://access.redhat.com/errata/RHSA-2024:6500
- https://access.redhat.com/errata/RHSA-2024:6501
- https://access.redhat.com/errata/RHSA-2024:6502
- https://access.redhat.com/errata/RHSA-2024:6503
- https://access.redhat.com/security/cve/CVE-2024-7341
- https://bugzilla.redhat.com/show_bug.cgi?id=2302064
- https://github.com/advisories/GHSA-j76j-rqwj-jmvv
Get alerted when CVE-2024-7341 or the next vulnerability affects your stack