#VU83573 LDAP injection in Keycloak - CVE-2022-2232


Vulnerability identifier: #VU83573

Vulnerability risk: High

CVSSv4.0: 8 [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/E:U/U:Amber]

CVE-ID: CVE-2022-2232

CWE-ID: CWE-90

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
Keycloak
Server applications / Directory software, identity management

Vendor: Keycloak

Description

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.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

Keycloak: 0.6.0, 1.0 - 19.0.3, 2.0.0.CR1 - 23.0.0, 3.0.0.CR1 - 3.4.3, 4.0 CR1 - 4.8.3, 5.0.0, 6.0.0 - 6.4.0, 7.0.0 - 7.1.0, 8.0.0 - 8.0.2, 9.0.0 - 9.0.3


External links
https://github.com/keycloak/keycloak/security/advisories/GHSA-8hc5-rmgf-qx6p


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability