high8.1
CVE-2024-1132
Keycloak path traversal vulnerability in redirection validation
Impact
A flaw was found in Keycloak, where it does not properly validate URLs included in a redirect. An attacker can use this flaw to construct a malicious request to bypass validation and access other URLs and potentially sensitive information within the domain or possibly conduct further attacks. This flaw affects any client that utilizes a wildcard in the Valid Redirect URIs field. #### Acknowledgements: Special thanks to Axel Flamcourt for reporting this issue and helping us improve our project.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| maven | org.keycloak:keycloak-services | < 22.0.10 | 22.0.10 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Redhat | Build Of Keycloak | All versions |
| Redhat | Jboss Middleware Text-Only Advisories | Version 1.0 |
| Redhat | Keycloak | from 21.1.0 before 22.0.10 from 23.0.0 before 24.0.3 |
| Redhat | Migration Toolkit For Applications | Version 1.0 |
| Redhat | Migration Toolkit For Runtimes | All versions |
| Redhat | Openshift Container Platform | Versions 4.11, 4.12 |
| Redhat | Openshift Container Platform For Ibm Z | Versions 4.9, 4.10 |
| Redhat | Openshift Container Platform For Linuxone | Versions 4.9, 4.10 |
| Redhat | Openshift Container Platform For Power | Versions 4.9, 4.10 |
| Redhat | Single Sign-On | All versions Version 7.6 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://access.redhat.com/errata/RHSA-2024:1860
- https://access.redhat.com/errata/RHSA-2024:1861
- https://access.redhat.com/errata/RHSA-2024:1862
- https://access.redhat.com/errata/RHSA-2024:1864
- https://access.redhat.com/errata/RHSA-2024:1866
- https://access.redhat.com/errata/RHSA-2024:1867
- https://access.redhat.com/errata/RHSA-2024:1868
- https://access.redhat.com/errata/RHSA-2024:2945
- https://access.redhat.com/errata/RHSA-2024:3752
- https://access.redhat.com/errata/RHSA-2024:3762
- https://access.redhat.com/errata/RHSA-2024:3919
- https://access.redhat.com/errata/RHSA-2024:3989
- https://access.redhat.com/security/cve/CVE-2024-1132
- https://bugzilla.redhat.com/show_bug.cgi?id=2262117
- https://github.com/advisories/GHSA-72vp-xfrc-42xm
- https://github.com/keycloak/keycloak/security/advisories/GHSA-72vp-xfrc-42xm
- https://nvd.nist.gov/vuln/detail/CVE-2024-1132