Wildfly-elytron: org.keycloak/keycloak-services: session fixation in elytron saml adapters (org.keycloak:keycloak-services)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.85 % · percentile 58 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- redhat
- NVD status
- Modified
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.
Weaknesses (CWE)
- CWE-384 — Session Fixation
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
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H | redhat |
| CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H | NVD · secalert@redhat.com (Secondary) |
| CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H | NVD · nvd@nist.gov (Primary) |
Advisories
- GHSA-5rxp-2rhr-qwqv — Keycloak has session fixation in Elytron SAML adapters
- GHSA-j76j-rqwj-jmvv — Duplicate Advisory: Keycloak Session Fixation vulnerability
European references
- ENISA EUVD · EUVD-2024-2954
- GCVE · GCVE-0-2024-7341
Affected configurations (NVD CPE)
cpe:2.3:a:redhat:keycloak:*:*:*:*:*:*:*:*≤ 25.0.2cpe:2.3:a:redhat:single_sign-on:*:*:*:*:*:*:*:*≥ 7.6 < 7.6.10cpe:2.3:a:redhat:build_of_keycloak:*:*:*:*:*:*:*:*≥ 22.0 < 22.0.12cpe:2.3:a:redhat:build_of_keycloak:*:*:*:*:*:*:*:*≥ 24.0 < 24.0.7cpe:2.3:a:redhat:single_sign-on:-:*:*:*:text-only:*:*:*
Affected products
| Product | Versions |
|---|---|
| org.keycloak:keycloak-services | affected 0 < 22.0.12 ; affected 23.0.0 < 24.0.7 ; affected 25.0.0 < 25.0.5 |
| Red Hat · Red Hat Build of Keycloak | |
| Red Hat · Red Hat Build of Keycloak | |
| Red Hat · Red Hat build of Keycloak 22 | unaffected 22.0.12-1 < * |
| Red Hat · Red Hat build of Keycloak 22 | unaffected 22-17 < * |
| Red Hat · Red Hat build of Keycloak 22 | unaffected 22-20 < * |
| Red Hat · Red Hat build of Keycloak 24 | unaffected 24.0.7-4 < * |
| Red Hat · Red Hat build of Keycloak 24 | unaffected 24-16 < * |
| Red Hat · Red Hat build of Keycloak 24 | unaffected 24-16 < * |
| Red Hat · Red Hat Single Sign-On 7 | |
| Red Hat · Red Hat Single Sign-On 7.6 for RHEL 7 | unaffected 0:18.0.16-1.redhat_00001.1.el7sso < * |
| Red Hat · Red Hat Single Sign-On 7.6 for RHEL 8 | unaffected 0:18.0.16-1.redhat_00001.1.el8sso < * |
| Red Hat · Red Hat Single Sign-On 7.6 for RHEL 9 | unaffected 0:18.0.16-1.redhat_00001.1.el9sso < * |
| Red Hat · RHEL-8 based Middleware Containers | unaffected 7.6-52 < * |
| Red Hat · Red Hat JBoss Enterprise Application Platform 8 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |