Skip to content
High 8.1

Path Traversal in Keycloak

CVE-2024-1132 First seen on SecPulse

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.

What is the problem

Path traversal (CWE-22) exists in Keycloak.

Affected scope

Check the vendor advisory for the affected versions of Keycloak.

Severity

Severity: High (CVSS 8.1/10). Confidential information can be exposed externally.

How to fix

Update to the patched release per vendor advisory.

Workaround

Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.

Detection

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. 1
    Identify exposureidentify
    grep -r 'Keycloak' . | grep -v node_modules

    リポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で Keycloak を grep し、稼働しているサービス・バージョンを把握する。

  2. 2
    Post-deployment verificationverify
    Confirm patched version is live in production

    パッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。

Affected packages

PackageAffected → Fixed
GitHubkeycloak
≥ 21.1.0, < 22.0.10→ 22.0.10
≥ 23.0.0, < 24.0.3→ 24.0.3
Red HatMigration Toolkit for Runtimes 1 on RHEL 8 —
Red HatMTA-6.2-RHEL-9 —
Red HatRed Hat AMQ Broker 7 —
Red HatRed Hat build of Keycloak 22 —
Red HatRed Hat build of Keycloak 22.0.10 —
Red HatRed Hat Single Sign-On 7.6 for RHEL 7 —
Red HatRed Hat Single Sign-On 7.6 for RHEL 8 —
Red HatRed Hat Single Sign-On 7.6 for RHEL 9 —
Red HatRHEL-8 based Middleware Containers —
Red HatRHSSO 7.6.8 —
Red HatRed Hat build of Apicurio Registry 2 —
Red HatRed Hat build of Quarkus —
Red HatRed Hat Data Grid 8 —
Red HatRed Hat Decision Manager 7 —
Red HatRed Hat Fuse 7 —
Red HatRed Hat JBoss Data Grid 7 —
Red HatRed Hat JBoss Enterprise Application Platform 6 —
Red HatRed Hat JBoss Enterprise Application Platform 7 —
Red HatRed Hat Process Automation 7 —
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

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details