A flaw was found in Keycloak. This flaw depends on a non-default configuration "Revalidate Client Certificate" to be enabled and the reverse proxy is not validating the certificate before Keycloak. Using this method an attacker may choose the certificate which will be validated by the server. If this happens and the KC_SPI_TRUSTSTORE_FILE_FILE variable is missing/misconfigured, any trustfile may be accepted with the logging information of "Cannot validate client certificate trust: Truststore not available". This may not impact availability as the attacker would have no access to the server, but consumer applications Integrity or Confidentiality may be impacted considering a possible access to them. Considering the environment is correctly set to use "Revalidate Client Certificate" this flaw is avoidable.
Metrics
Affected Vendors & Products
References
History
No history.
MITRE
Status: PUBLISHED
Assigner: redhat
Published: 2023-05-26T00:00:00
Updated: 2024-08-02T05:57:24.969Z
Reserved: 2023-03-27T00:00:00
Link: CVE-2023-1664
Vulnrichment
No data.
NVD
Status : Analyzed
Published: 2023-05-26T18:15:09.740
Modified: 2023-06-03T03:56:45.087
Link: CVE-2023-1664
Redhat