Path Traversal in Keycloak
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
A vulnerability tracked as CVE-2024-1132 has been found in Keycloak.
Confidential information can be exposed externally. CVSS score: 8.1/10.
What to do: apply the vendor's official patched release.
If unsure, ask your IT team or search "Keycloak CVE-2024-1132" on the vendor's site.
CVE-2024-1132 (Keycloak) — CWE-22 / CVSS v3 8.1
Attack vector: remote (network-reachable) / unauthenticated
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
Path traversal (CWE-22) exists in Keycloak.
Check the vendor advisory for the affected versions of Keycloak.
Severity: High (CVSS 8.1/10). Confidential information can be exposed externally.
Update to the patched release per vendor advisory.
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r 'Keycloak' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1
Identify exposureidentify
grep -r 'Keycloak' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
Keycloakを grep し、稼働しているサービス・バージョンを把握する。 -
2
Post-deployment verificationverify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| GitHubkeycloak |
≥ 21.1.0, < 22.0.10→ 22.0.10 ≥ 23.0.0, < 24.0.3→ 24.0.3 |
22.0.10 24.0.3 |
| Red HatMigration Toolkit for Runtimes 1 on RHEL 8 | — | Not listed |
| Red HatMTA-6.2-RHEL-9 | — | Not listed |
| Red HatRed Hat AMQ Broker 7 | — | Not listed |
| Red HatRed Hat build of Keycloak 22 | — | Not listed |
| Red HatRed Hat build of Keycloak 22.0.10 | — | Not listed |
| Red HatRed Hat Single Sign-On 7.6 for RHEL 7 | — | Not listed |
| Red HatRed Hat Single Sign-On 7.6 for RHEL 8 | — | Not listed |
| Red HatRed Hat Single Sign-On 7.6 for RHEL 9 | — | Not listed |
| Red HatRHEL-8 based Middleware Containers | — | Not listed |
| Red HatRHSSO 7.6.8 | — | Not listed |
| Red HatRed Hat build of Apicurio Registry 2 | — | Not listed |
| Red HatRed Hat build of Quarkus | — | Not listed |
| Red HatRed Hat Data Grid 8 | — | Not listed |
| Red HatRed Hat Decision Manager 7 | — | Not listed |
| Red HatRed Hat Fuse 7 | — | Not listed |
| Red HatRed Hat JBoss Data Grid 7 | — | Not listed |
| Red HatRed Hat JBoss Enterprise Application Platform 6 | — | Not listed |
| Red HatRed Hat JBoss Enterprise Application Platform 7 | — | Not listed |
| Red HatRed Hat Process Automation 7 | — | Not listed |
Original description The description as published by the source.
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.
Source: NIST National Vulnerability Database NVD GitHub Advisory
References
- advisory access.redhat.com
- advisory access.redhat.com
- advisory access.redhat.com
- advisory access.redhat.com
- advisory access.redhat.com
- advisory access.redhat.com
- advisory access.redhat.com
- advisory access.redhat.com
- advisory access.redhat.com
- advisory access.redhat.com
- advisory access.redhat.com
- advisory access.redhat.com
- advisory access.redhat.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- report bugzilla.redhat.com
- web access.redhat.com
- web access.redhat.com
- web catalog.redhat.com