#VU77766 Improper certificate validation in Keycloak


Published: 2023-06-28

Vulnerability identifier: #VU77766

Vulnerability risk: Medium

CVSSv3.1: 6.2 [CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2023-2422

CWE-ID: CWE-295

Exploitation vector: Network

Exploit availability: No

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

Vendor: Keycloak

Description

The vulnerability allows a remote user to bypass authorization process.

The vulnerability exists due to improper certificate validation chain when a Keycloak server is configured to support mTLS authentication for OAuth/OpenID clients. A remote user that possesses a proper certificate can authorize itself as any other client and therefore access data that belongs to other clients.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

Keycloak: 10.0.0 - 21.1.1


External links
http://github.com/keycloak/keycloak/security/advisories/GHSA-3qh5-qqj2-c78f


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote authenticated user 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