Vulnerability · Published Sep 9, 2024 · Assigned by redhat
CVE-2024-7341Wildfly-elytron: org.keycloak/keycloak-services: session fixation in elytron saml adapters
High 7.1
In plain English
A high-severity session fixation in org.keycloak:keycloak-services. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 58% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | org.keycloak:keycloak-services | 22.0.12 | GHSA-5rxp-2rhr-qwqv |
| Maven | org.keycloak:keycloak-services | 24.0.7 | GHSA-5rxp-2rhr-qwqv |
| Maven | org.keycloak:keycloak-services | 25.0.5 | GHSA-5rxp-2rhr-qwqv |
| Maven | org.keycloak:keycloak-services | 25.0.5 | GHSA-j76j-rqwj-jmvv |
| Maven | org.keycloak:keycloak-services | 22.0.12 | GHSA-j76j-rqwj-jmvv |
| Maven | org.keycloak:keycloak-services | 24.0.7 | GHSA-j76j-rqwj-jmvv |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| org.keycloak:keycloak-services | 0 – before 22.0.1223.0.0 – before 24.0.725.0.0 – before 25.0.5 | |
| Red Hat | Red Hat Build of Keycloak | see references |
| Red Hat | Red Hat Build of Keycloak | see references |
| Red Hat | Red Hat build of Keycloak 22 | see references |
| Red Hat | Red Hat build of Keycloak 22 | see references |
| Red Hat | Red Hat build of Keycloak 22 | see references |
| Red Hat | Red Hat build of Keycloak 24 | see references |
| Red Hat | Red Hat build of Keycloak 24 | see references |
| Red Hat | Red Hat build of Keycloak 24 | see references |
| Red Hat | Red Hat Single Sign-On 7 | see references |
| Red Hat | Red Hat Single Sign-On 7.6 for RHEL 7 | see references |
| Red Hat | Red Hat Single Sign-On 7.6 for RHEL 8 | see references |
| Red Hat | Red Hat Single Sign-On 7.6 for RHEL 9 | see references |
| Red Hat | RHEL-8 based Middleware Containers | see references |
| Red Hat | Red Hat JBoss Enterprise Application Platform 8 | see references |
Weakness: CWE-384 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
References
- RHSA-2024:6493 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:6494 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:6495 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:6497 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:6499 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:6500 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:6501 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:6502 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:6503 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2024-7341 vdb-entry, x_refsource_REDHAT
- RHBZ#2302064 issue-tracking, x_refsource_REDHAT
- https://github.com/advisories/GHSA-j76j-rqwj-jmvv