CVE-2024-1132Keycloak: path transversal in redirection validation
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.
What to do
Fixed builds are available from Maven: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Maven library | org.keycloak:keycloak-services | Fixed | 24.0.3 | GHSA-72vp-xfrc-42xm |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- keycloak: affected: 21.1.0 to before 22.0.10, 23.0.0 to before 24.0.3; fixed in
22.0.10,24.0.3 - Red Hat Migration Toolkit for Runtimes 1 on RHEL 8
- Red Hat MTA-6.2-RHEL-9
- Red Hat AMQ Broker 7
- Red Hat build of Keycloak 22
- Red Hat build of Keycloak 22.0.10
- Red Hat Single Sign-On 7.6 for RHEL 7
- Red Hat Single Sign-On 7.6 for RHEL 8
- 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 build of Apicurio Registry 2
Workaround: No current mitigation is available for this vulnerability.
Vendor advisories:
- https://access.redhat.com/errata/RHSA-2024:1860 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2024:1861 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2024:1862 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2024:1864 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2024:1866 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2024:1867 (vendor-advisory)
References
- 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
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.