Vulnerability · Published Apr 17, 2024 · Assigned by redhat

CVE-2024-1132Keycloak: path transversal in redirection validation

High 8.1

In plain English

A high-severity path traversal in keycloak. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.6% (higher than 75% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.1High
Exploit odds (30 days)1.6%top 24.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Mavenorg.keycloak:keycloak-services22.0.10GHSA-72vp-xfrc-42xm
Mavenorg.keycloak:keycloak-services24.0.3GHSA-72vp-xfrc-42xm

Affected products (as reported)

VendorProductVersions
keycloak 21.1.0 – before 22.0.1023.0.0 – before 24.0.3
Red Hat Migration Toolkit for Runtimes 1 on RHEL 8 see references
Red Hat Migration Toolkit for Runtimes 1 on RHEL 8 see references
Red Hat Migration Toolkit for Runtimes 1 on RHEL 8 see references
Red Hat Migration Toolkit for Runtimes 1 on RHEL 8 see references
Red Hat MTA-6.2-RHEL-9 see references
Red Hat Red Hat AMQ Broker 7 see references
Red Hat Red Hat AMQ Broker 7 see references
Red Hat Red Hat AMQ Broker 7 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 22.0.10 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 RHSSO 7.6.8 see references
Red Hat Red Hat build of Apicurio Registry 2 see references
Red Hat Red Hat build of Quarkus see references
Red Hat Red Hat build of Quarkus see references
Red Hat Red Hat Data Grid 8 see references
Red Hat Red Hat Decision Manager 7 see references
Red Hat Red Hat Fuse 7 see references
Red Hat Red Hat JBoss Data Grid 7 see references
Red Hat Red Hat JBoss Enterprise Application Platform 6 see references
Red Hat Red Hat JBoss Enterprise Application Platform 7 see references
Red Hat Red Hat Process Automation 7 see references

Weakness: CWE-22 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N

References