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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | org.keycloak:keycloak-services | 22.0.10 | GHSA-72vp-xfrc-42xm |
| Maven | org.keycloak:keycloak-services | 24.0.3 | GHSA-72vp-xfrc-42xm |
Affected products (as reported)
Weakness: CWE-22 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
References
- RHSA-2024:1860 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:1861 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:1862 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:1864 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:1866 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:1867 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:1868 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:2945 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:3752 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:3762 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:3919 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:3989 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2024-1132 vdb-entry, x_refsource_REDHAT
- RHBZ#2262117 issue-tracking, x_refsource_REDHAT