CVE-2024-1132 json
Keycloak: path transversal in redirection validation
published 2024-04-17 2 y ago modified 2026-11-04 4 d ago also GHSA-72vp-xfrc-42xm , EUVD-2024-1134
- cvss
- 8.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.6%
- EPSS 1.6% chance of exploitation in 30 days, percentile 75%
- public exploits
- 0
- none known
Summary
A flaw was found in Keycloak, where it does not properly validate URLs included in a redirect. This issue could allow an attacker to construct a malicious request to bypass validation and access other URLs and sensitive information within the domain or conduct further attacks. This flaw affects any client that utilizes a wildcard in the Valid Redirect URIs field, and requires user interaction within the malicious URL.
Patch / fix
- maven org.keycloak:keycloak-services 22.0.10, 24.0.3
- Red Hat Migration Toolkit for Runtimes 1 on RHEL 8 1.2-14, 1.2-15, 1.2-16, 1.2-23
- Red Hat MTA-6.2-RHEL-9 6.2.3-2
- Red Hat Red Hat build of Keycloak 22 22-13, 22-16, 22.0.10-1
- Red Hat Red Hat Single Sign-On 7.6 for RHEL 7 0:18.0.13-1.redhat_00001.1.el7sso
- Red Hat Red Hat Single Sign-On 7.6 for RHEL 8 0:18.0.13-1.redhat_00001.1.el8sso
- Red Hat Red Hat Single Sign-On 7.6 for RHEL 9 0:18.0.13-1.redhat_00001.1.el9sso
- Red Hat RHEL-8 based Middleware Containers 7.6-46
- rh-sso7-keycloak red hat single sign on 7.6 18.0.13-1.redhat_00001.1.el8sso
- rh-sso7-keycloak-server red hat single sign on 7.6 18.0.13-1.redhat_00001.1.el8sso
- rh-sso7-keycloak red hat single sign on 7.6 18.0.13-1.redhat_00001.1.el7sso
- rh-sso7-keycloak-server red hat single sign on 7.6 18.0.13-1.redhat_00001.1.el7sso
- rh-sso7-keycloak red hat single sign on 7.6 18.0.13-1.redhat_00001.1.el9sso
- rh-sso7-keycloak-server red hat single sign on 7.6 18.0.13-1.redhat_00001.1.el9sso
red hat advisories RHSA-2024:1861RHSA-2024:1860RHSA-2024:1862
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-1132 updated cvss 8.1
keycloak: path transversal in redirection validation
-
Red Hat build of Apicurio Registry 2 keycloak keycloak Red Hat build of Quarkus keycloak-coreaffected: workaround, no fix available “No current mitigation is available for this vulnerability.”
-
Red Hat Decision Manager 7 keycloak keycloakaffected: workaround, no fix planned “No current mitigation is available for this vulnerability.”
-
Red Hat Fuse 7 keycloak keycloakaffected: workaround, no fix available “No current mitigation is available for this vulnerability.”
-
Red Hat JBoss Enterprise Application Platform 6 keycloak keycloak Red Hat Process Automation 7 keycloak keycloakaffected: workaround, no fix planned “No current mitigation is available for this vulnerability.”
-
Red Hat Middleware Containers for OpenShift rh-sso-7/sso76-openshift-rhel8 7.6-46fixed: vendor fix “No current mitigation is available for this vulnerability.” RHSA-2024:1864
-
Red Hat Migration Toolkit for Runtimes 1 on RHEL 8 mtr/mtr-rhel8-operator 1.2-15, mtr/mtr-operator-bundle 1.2-23, mtr/mtr-web-container-rhel8 1.2-16, mtr/mtr-web-executor-container-rhel8 1.2-14fixed: vendor fix “No current mitigation is available for this vulnerability.” RHSA-2024:3919
-
Red Hat MTA 6.2 for RHEL 8 mta/mta-windup-addon-rhel9 6.2.3-2fixed: vendor fix “No current mitigation is available for this vulnerability.” RHSA-2024:3989
-
Red Hat AMQ Broker 7fixed: vendor fix “No current mitigation is available for this vulnerability.” RHSA-2024:2945
show 7 moreshow fewer
-
Red Hat build of Keycloak 22 rhbk/keycloak-rhel9 22-13, rhbk/keycloak-rhel9-operator 22-16, rhbk/keycloak-operator-bundle 22.0.10-1fixed: vendor fix “No current mitigation is available for this vulnerability.” RHSA-2024:1867
-
Red Hat build of Keycloak 22.0.10fixed: vendor fix “No current mitigation is available for this vulnerability.” RHSA-2024:1868
-
Red Hat Single Sign-On 7.6 for RHEL 7 Server rh-sso7-keycloak 18.0.13-1.redhat_00001.1.el7sso, rh-sso7-keycloak-server 18.0.13-1.redhat_00001.1.el7ssofixed: vendor fix “No current mitigation is available for this vulnerability.” RHSA-2024:1860
-
Red Hat Single Sign-On 7.6 for RHEL 8 rh-sso7-keycloak 18.0.13-1.redhat_00001.1.el8sso, rh-sso7-keycloak-server 18.0.13-1.redhat_00001.1.el8ssofixed: vendor fix “No current mitigation is available for this vulnerability.” RHSA-2024:1861
-
Red Hat Single Sign-On 7.6 for RHEL 9 rh-sso7-keycloak 18.0.13-1.redhat_00001.1.el9sso, rh-sso7-keycloak-server 18.0.13-1.redhat_00001.1.el9ssofixed: vendor fix “No current mitigation is available for this vulnerability.” RHSA-2024:1862
-
Red Hat RHSSO 7.6.8fixed: vendor fix “No current mitigation is available for this vulnerability.” RHSA-2024:1866
-
Red Hat MTA 6.2 for RHEL 8 mta/mta-ui-rhel9 6.2.3-2, mta/mta-hub-rhel9 6.2.3-1, mta/mta-rhel8-operator 6.2.3-1, mta/mta-operator-bundle 6.2.3-4, mta/mta-pathfinder-rhel9 6.2.3-1 Red Hat Data Grid 8 org.wildfly.security-wildfly-elytron-parent org.wildfly.security-wildfly-elytron-parent Red Hat JBoss Data Grid 7 keycloak keycloak Red Hat JBoss Enterprise Application Platform 7 keycloak-corenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- 2 y ago
Exploit prediction
1.55% chance of exploitation in the next 30 days, higher than 75% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N |
| GitHub | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.keycloak:keycloak-services | <22.0.10 >=23.0.0, <24.0.3 |
22.0.10 24.0.3 |
Affected products
- Red Hat Migration Toolkit for Runtimes 1 on RHEL 8
- Red Hat MTA-6.2-RHEL-9
- Red Hat Red Hat AMQ Broker 7
- Red Hat Red Hat build of Keycloak 22
- Red Hat Red Hat build of Keycloak 22.0.10
- Red Hat Red Hat Single Sign-On 7.6 for RHEL 7
- Red Hat Red Hat Single Sign-On 7.6 for RHEL 8
- Red Hat Red Hat Single Sign-On 7.6 for RHEL 9
- Red Hat RHEL-8 based Middleware Containers
- Red Hat RHSSO 7.6.8
- Red Hat Red Hat build of Apicurio Registry 2
- Red Hat Red Hat build of Quarkus
- Red Hat Red Hat Data Grid 8
- Red Hat Red Hat Decision Manager 7
- Red Hat Red Hat Fuse 7
- Red Hat Red Hat JBoss Data Grid 7
- Red Hat Red Hat JBoss Enterprise Application Platform 6
- Red Hat Red Hat JBoss Enterprise Application Platform 7
- Red Hat Red Hat Process Automation 7
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
access.redhat.com
/errata/RHSA-2024:1860
vendor-advisory, web
-
access.redhat.com
/errata/RHSA-2024:1861
vendor-advisory, web
-
access.redhat.com
/errata/RHSA-2024:1862
vendor-advisory, web
-
access.redhat.com
/errata/RHSA-2024:1864
vendor-advisory, web
-
access.redhat.com
/errata/RHSA-2024:1866
vendor-advisory, web
-
access.redhat.com
/errata/RHSA-2024:1867
vendor-advisory, web
-
access.redhat.com
/errata/RHSA-2024:1868
vendor-advisory, web
-
access.redhat.com
/errata/RHSA-2024:2945
vendor-advisory, web
-
access.redhat.com
/errata/RHSA-2024:3752
vendor-advisory, web
-
access.redhat.com
/errata/RHSA-2024:3762
vendor-advisory, web
-
access.redhat.com
/errata/RHSA-2024:3919
vendor-advisory, web
-
access.redhat.com
/errata/RHSA-2024:3989
vendor-advisory, web
-
access.redhat.com
/security/cve/CVE-2024-1132
vdb-entry, web, vendor-advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=2262117
issue-tracking, web, vendor-advisory
-
github.com
/keycloak/keycloak/security/advisories/GHSA-72vp-xfrc-42xm
web
-
nvd.nist.gov
/vuln/detail/CVE-2024-1132
advisory
-
github.com
/keycloak/keycloak
package
Sources
- CVE List CVE-2024-1132
- GitHub Advisory GHSA-72vp-xfrc-42xm
- NVD CVE-2024-1132
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.