Keycloak Redirect URI Validation Bypass via Wildcard URIs
CVE-2024-1132 Published on April 17, 2024
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.
Vulnerability Analysis
CVE-2024-1132 is exploitable with network access, requires user interaction. This vulnerability is considered to have a low attack complexity. Public availability of a proof of concept (POC) exploit exists for CVE-2024-1132. The potential impact of an exploit of this vulnerability is considered to have a high impact on confidentiality and integrity, and no impact on availability.
Weakness Type
What is a Directory traversal Vulnerability?
The software uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the software does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
CVE-2024-1132 has been classified to as a Directory traversal vulnerability or weakness.
Products Associated with CVE-2024-1132
You can be notified by email with stack.watch whenever vulnerabilities like CVE-2024-1132 are published in these products:
Vulnerable Packages
The following package name and versions may be associated with CVE-2024-1132
| Package Manager | Vulnerable Package | Versions | Fixed In |
|---|---|---|---|
| maven | org.keycloak:keycloak-services | >= 23.0.0, < 24.0.3 | 24.0.3 |
| maven | org.keycloak:keycloak-services | < 22.0.10 | 22.0.10 |
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.