CVE-2024-7341
Wildfly-elytron: org.keycloak/keycloak-services: session fixation in elytron saml adapters
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.
Description as published by the source, in English.
Key facts
- Published
- 2024-09-09
- Last modified
- 2026-08-27
- Assigned by
- redhat
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H- Scored by
- CVE Program
- Probability of exploitation
-
0.8 %
higher than 53 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Not registered in the sources
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Red Hat | Red Hat Build of Keycloak | all versions listed | Not affected |
| Red Hat | Red Hat build of Keycloak 22 | ≥ 22-17, < * | Not affected |
| Red Hat | Red Hat build of Keycloak 22 | ≥ 22-20, < * | Not affected |
| Red Hat | Red Hat build of Keycloak 22 | ≥ 22.0.12-1, < * | Not affected |
| Red Hat | Red Hat build of Keycloak 24 | ≥ 24-16, < * | Not affected |
| Red Hat | Red Hat build of Keycloak 24 | ≥ 24.0.7-4, < * | Not affected |
| Red Hat | Red Hat JBoss Enterprise Application Platform 8 | all versions listed | Not affected |
| Red Hat | Red Hat Single Sign-On 7 | all versions listed | Not affected |
| Red Hat | Red Hat Single Sign-On 7.6 for RHEL 7 | ≥ 0:18.0.16-1.redhat_00001.1.el7sso, < * | Not affected |
| Red Hat | Red Hat Single Sign-On 7.6 for RHEL 8 | ≥ 0:18.0.16-1.redhat_00001.1.el8sso, < * | Not affected |
| Red Hat | Red Hat Single Sign-On 7.6 for RHEL 9 | ≥ 0:18.0.16-1.redhat_00001.1.el9sso, < * | Not affected |
| Red Hat | RHEL-8 based Middleware Containers | ≥ 7.6-52, < * | Not affected |
Weakness type
-
CWE-384: Session Fixation
Authenticating a user, or otherwise establishing a new user session, without invalidating any existing session identifier gives an attacker the opportunity to steal authenticated sessions.
Attack techniques
Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.
- T1134: Access Token Manipulation
- T1134.001: Token Impersonation/Theft
- T1134.002: Create Process with Token
- T1134.003: Make and Impersonate Token
- T1528: Steal Application Access Token
- T1539: Steal Web Session Cookie
- T1550.004: Web Session Cookie
- T1606: Forge Web Credentials
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
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.