Improper certificate validation in Keycloak - CVE-2023-2422
Published: June 28, 2023
Vulnerability details
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.
Affected software
Red Hat Single Sign-On
rh-sso7-keycloak (Red Hat package)
How to mitigate CVE-2023-2422
Red Hat Single Sign-On - update to 7.6.4
rh-sso7-keycloak (Red Hat package) - addressed in versions 18.0.8-1.redhat_00001.1.el7sso, 18.0.8-1.redhat_00001.1.el8sso, 18.0.8-1.redhat_00001.1.el9sso