CVE-2024-9666: medium-severity vulnerability in keycloak
Org.keycloak/keycloak-quarkus-server: keycloak proxy header handling denial-of-service (dos) vulnerability
Published · Updated
Follow this CVE+ Monitor Red Hat build of Keycloak+ Monitor Red Hat JBoss Enterprise Application Platform
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
13Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 4.7epss 0.4%
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.
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected products
keycloakRed Hat · Red Hat Build of KeycloakRed Hat · Red Hat build of Keycloak 24Red Hat · Red Hat build of Keycloak 24.0.9Red Hat · Red Hat build of Keycloak 26.0Red Hat · Red Hat build of Keycloak 26.0.6Red Hat · Red Hat JBoss Enterprise Application Platform 8Related CVEs — keycloak
In the same product, most dangerous first.
CVE-2024-1635HIGHUndertow: out-of-memory error after several closed connections with wildfly-http-client protocolEPSS 4.6%CVE-2023-5685HIGHXnio: stackoverflowexception when the chain of notifier states becomes problematically bigEPSS 3.5%CVE-2024-3656HIGHKeycloak: unguarded admin rest api endpoints allows low privilege users to use administrative functionalitiesEPSS 3.3%CVE-2024-5971HIGHUndertow: response write hangs in case of java 17 tlsv1.3 newsessionticketEPSS 2.9%CVE-2024-7885HIGHUndertow: improper state management in proxy protocol parsing causes information leakageEPSS 2.6%CVE-2024-8883MEDIUMKeycloak: vulnerable redirect uri validation results in open redirecEPSS 2.1%
References
https://access.redhat.com/errata/RHSA-2024:10175https://access.redhat.com/errata/RHSA-2024:10176https://access.redhat.com/errata/RHSA-2024:10177https://access.redhat.com/errata/RHSA-2024:10178https://access.redhat.com/security/cve/CVE-2024-9666https://bugzilla.redhat.com/show_bug.cgi?id=2317440