WaratekVRT Sign in

CVE-2024-1132 Keycloak

Affected softwareKeycloak
Severity8.1 High CVSS 3.1
Fixed in22.0.10, 24.0.3
WeaknessPath traversal (CWE-22)
Published17 Apr 2024
Updated4 Nov 2026

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.

Exploitation status

Proof of concept only

A proof of concept exists, but no reviewed exploit catalogue lists this CVE.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: poc CISA recorded that an exploit has been demonstrated. Automatable: no, technical impact: total.
  • Indexed PoC none indexed
  • EPSS 1.6% chance in 30 days

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

Decided by A vulnerability class already blocked by an ARMR security rule
Finding Protected by Waratek's ARMR path-traversal security rule, which blocks this class of attack at the JVM level without a rule written for this CVE specifically. The CVE's weakness is CWE-22: Path Traversal.
Candidate fix https://bugzilla.redhat.com/show_bug.cgi?id=2262117 : a Red Hat bug: the triage, which links onward to the fix

How to mitigate CVE-2024-1132

Upgrade Keycloak to a release that fixes it: 22.0.10 or 24.0.3. Until you can, Waratek RASP blocks exploitation with its path traversal rule. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.keycloak:keycloak-services 0 22.0.10 unbounded
org.keycloak:keycloak-services 23.0.0 24.0.3 unbounded

Products and versions

11 products, 18 version entries
SourceVendorProductSchemeAffected versions
osv org.keycloak keycloak-services generic < 22.0.10 · ≥ 23.0.0 and < 24.0.3
nvd redhat build of keycloak generic any version
nvd redhat jboss middleware text-only advisories generic 1.0
nvd redhat keycloak generic ≥ 21.1.0 and < 22.0.10 · ≥ 23.0.0 and < 24.0.3
nvd redhat migration toolkit for applications generic 1.0
nvd redhat migration toolkit for runtimes generic any version
nvd redhat openshift container platform generic 4.11 · 4.12
nvd redhat openshift container platform for ibm z generic 4.9 · 4.10
nvd redhat openshift container platform for linuxone generic 4.9 · 4.10
nvd redhat openshift container platform for power generic 4.9 · 4.10
nvd redhat single sign-on generic any version · 7.6

References

URLTags
https://bugzilla.redhat.com/show_bug.cgi?id=2262117 bugzilla
https://github.com/keycloak/keycloak/security/advisories/GHSA-72vp-xfrc-42xm WEB
https://github.com/keycloak/keycloak PACKAGE
https://access.redhat.com/security/cve/CVE-2024-1132 WEB
https://access.redhat.com/errata/RHSA-2024:3989 WEB
https://access.redhat.com/errata/RHSA-2024:3919 WEB
https://access.redhat.com/errata/RHSA-2024:3762 WEB
https://access.redhat.com/errata/RHSA-2024:3752 WEB
https://access.redhat.com/errata/RHSA-2024:2945 WEB
https://access.redhat.com/errata/RHSA-2024:1868 WEB

Timeline

Published2024-04-17By the CVE Program.
NVD record modified2026-11-04NVD's own last-modified date for this record.