CVE-2023-2422: Keycloak: oauth client impersonation
A flaw was found in Keycloak. A Keycloak server configured to support mTLS authentication for OAuth/OpenID clients does not properly verify the client certificate chain. A client that possesses a proper certificate can authorize itself as any other client, therefore, access data that belongs to other clients.
Other sources
A Keycloak server configured to support mTLS authentication for OAuth/OpenID clients does not properly verify the client certificate chain. A client that possesses a proper certificate can authorize itself as any other client and therefore access data that belongs to other clients.
— Red Hat
When a Keycloak server is configured to support mTLS authentication for OAuth/OpenID clients, it does not properly verify the client certificate chain. A client that possesses a proper certificate can authorize itself as any other client and therefore access data that belongs to other clients.
Affected Software
Event History
Frequently Asked Questions
What is CVE-2023-2422?
CVE-2023-2422 is a vulnerability in Keycloak that allows a client with a proper certificate to authorize itself as any other client and access data belonging to other clients.
How severe is CVE-2023-2422?
CVE-2023-2422 has a severity rating of 7.1 (high).
Which software versions are affected by CVE-2023-2422?
CVE-2023-2422 affects Keycloak versions up to and excluding 21.1.2, as well as Redhat Keycloak versions up to and excluding 18.0.
How can I fix CVE-2023-2422?
To fix CVE-2023-2422, update your Keycloak server to version 21.1.2 or later, or update your Redhat Keycloak version to 18.0 or later.
Where can I find more information about CVE-2023-2422?
You can find more information about CVE-2023-2422 on the Keycloak security advisories page and the NVD website.