Skip to content
Fencer Vulns
high 8.1

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-core
    affected: workaround, no fix available “No current mitigation is available for this vulnerability.”
  • Red Hat Decision Manager 7 keycloak keycloak
    affected: workaround, no fix planned “No current mitigation is available for this vulnerability.”
  • Red Hat Fuse 7 keycloak keycloak
    affected: 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 keycloak
    affected: 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-46
    fixed: 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-14
    fixed: 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-2
    fixed: vendor fix “No current mitigation is available for this vulnerability.” RHSA-2024:3989
  • Red Hat AMQ Broker 7
    fixed: vendor fix “No current mitigation is available for this vulnerability.” RHSA-2024:2945
show 7 more
  • Red Hat build of Keycloak 22 rhbk/keycloak-rhel9 22-13, rhbk/keycloak-rhel9-operator 22-16, rhbk/keycloak-operator-bundle 22.0.10-1
    fixed: vendor fix “No current mitigation is available for this vulnerability.” RHSA-2024:1867
  • Red Hat build of Keycloak 22.0.10
    fixed: 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.el7sso
    fixed: 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.el8sso
    fixed: 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.el9sso
    fixed: vendor fix “No current mitigation is available for this vulnerability.” RHSA-2024:1862
  • Red Hat RHSSO 7.6.8
    fixed: 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-core
    not 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

Sources

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.