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
| Package | Versions |
|---|---|
| Maven · org.keycloak:keycloak-services | introduced 0, fixed 22.0.12 |
| Maven · org.keycloak:keycloak-services | introduced 23.0.0, fixed 24.0.7 |
| Maven · org.keycloak:keycloak-services | introduced 25.0.0, fixed 25.0.5 |
References
- https://github.com/keycloak/keycloak/security/advisories/GHSA-5rxp-2rhr-qwqv WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-7341 ADVISORY
- https://github.com/keycloak/keycloak/commit/5e06da2f6794c695051605e26a01affa3a18f66b WEB
- https://github.com/keycloak/keycloak/commit/5b3de0c7e7f367103affe2f5167913a2ce021cf1 WEB
- https://github.com/keycloak/keycloak/commit/2341d6ee7a3567c58fd6a04a419fe4403e13374c WEB
- https://github.com/keycloak/keycloak PACKAGE
- https://bugzilla.redhat.com/show_bug.cgi?id=2302064 WEB
- https://access.redhat.com/security/cve/CVE-2024-7341 WEB
- https://access.redhat.com/errata/RHSA-2024:6503 WEB
- https://access.redhat.com/errata/RHSA-2024:6502 WEB
- https://access.redhat.com/errata/RHSA-2024:6501 WEB
- https://access.redhat.com/errata/RHSA-2024:6500 WEB
- https://access.redhat.com/errata/RHSA-2024:6499 WEB
- https://access.redhat.com/errata/RHSA-2024:6497 WEB
- https://access.redhat.com/errata/RHSA-2024:6495 WEB
- https://access.redhat.com/errata/RHSA-2024:6494 WEB
- https://access.redhat.com/errata/RHSA-2024:6493 WEB
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — GitHub Advisory Database |