Skip to main content
← All vulnerabilities
CVE-2024-9666GHSA-JGWC-JH89-RPGQ

Org.keycloak/keycloak-quarkus-server: keycloak proxy header handling denial-of-service (dos) vulnerability

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 24.0.9, 26.0.6
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

A vulnerability was found in the Keycloak Server. The Keycloak Server is vulnerable to a denial of service (DoS) attack due to improper handling of proxy headers. When Keycloak is configured to accept incoming proxy headers, it may accept non-IP values, such as obfuscated identifiers, without proper validation. This issue can lead to costly DNS resolution operations, which an attacker could exploit to tie up IO threads and potentially cause a denial of service. The attacker must have access to send requests to a Keycloak instance that is configured to accept proxy headers, specifically when reverse proxies do not overwrite incoming headers, and Keycloak is configured to trust these headers.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • keycloak

    fixed in 24.0.9; From 25.0.0 · fixed in 26.0.6

  • rhbk/keycloak-operator-bundle

    Version range not reported

  • rhbk/keycloak-rhel9

    Version range not reported

  • rhbk/keycloak-rhel9-operator

    Version range not reported

  • Red Hat Red Hat build of Keycloak 24.0.9

    Version range not reported

  • rhbk/keycloak-operator-bundle

    Version range not reported

  • rhbk/keycloak-rhel9

    Version range not reported

  • rhbk/keycloak-rhel9-operator

    Version range not reported

  • Red Hat Red Hat build of Keycloak 26.0.6

    Version range not reported

  • keycloak-quarkus-server

    Version range not reported

  • keycloak-quarkus-server

    Version range not reported

  • org.keycloak:keycloak-quarkus-serverMaven

    All versions

  • org.keycloak:keycloak-quarkus-serverMaven

    From 25.0.0 · fixed in 26.0.6

References 6

access.redhat.com

bugzilla.redhat.com