CVE-2024-7341
7.1
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
0 < 22.0.12 | affected | ||
23.0.0 < 24.0.7 | affected | ||
25.0.0 < 25.0.5 | affected | ||
| Red Hat | Red Hat build of Keycloak 22 | 22.0.12-1 < * | unaffected |
| Red Hat | Red Hat build of Keycloak 22 | 22-17 < * | unaffected |
| Red Hat | Red Hat build of Keycloak 22 | 22-20 < * | unaffected |
| Red Hat | Red Hat build of Keycloak 24 | 24.0.7-4 < * | unaffected |
| Red Hat | Red Hat build of Keycloak 24 | 24-16 < * | unaffected |
| Red Hat | Red Hat build of Keycloak 24 | 24-16 < * | unaffected |
| Red Hat | Red Hat Single Sign-On 7.6 for RHEL 7 | 0:18.0.16-1.redhat_00001.1.el7sso < * | unaffected |
| Red Hat | Red Hat Single Sign-On 7.6 for RHEL 8 | 0:18.0.16-1.redhat_00001.1.el8sso < * | unaffected |
| Red Hat | Red Hat Single Sign-On 7.6 for RHEL 9 | 0:18.0.16-1.redhat_00001.1.el9sso < * | unaffected |
| Red Hat | RHEL-8 based Middleware Containers | 7.6-52 < * | unaffected |
Weaknesses
- CWE-384: Session Fixation
Workarounds
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: none
- Automatable: no
- Technical Impact: total
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
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.