Input validation error in Keycloak - CVE-2024-9666

 

Input validation error in Keycloak - CVE-2024-9666

Published: November 25, 2024


Vulnerability identifier: #VU100909
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2024-9666
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to insufficient validation of HTTP 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 can lead to costly DNS resolution operations, which an attacker could exploit to tie up IO threads and potentially cause a denial of service.


Affected software

Keycloak
IBM Business Automation Manager Open Editions
Red Hat build of Keycloak

How to mitigate CVE-2024-9666

Install updates from vendor's website.

Keycloak - update to 26.0.6
IBM Business Automation Manager Open Editions - update to 9.2.1
Red Hat build of Keycloak - addressed in versions 24.0.9, 26.0.6

External References

Related Security Bulletins