LDAP injection in Keycloak - CVE-2022-2232

 

LDAP injection in Keycloak - CVE-2022-2232

Published: November 29, 2023


Vulnerability identifier: #VU83573
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-2232
CWE-ID: CWE-90
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to bypass authentication process.

The vulnerability exists due to improper input validation when processing DLAP queries on the UsernameForm login. A remote non-authenticated attacker can send a specially crafted LDAP query to the application, bypass authentication process and gain unauthorized access to the application.


Affected software

Keycloak

How to mitigate CVE-2022-2232

Install updates from vendor's website.

Keycloak - update to 23.0.1

External References

Related Security Bulletins