Lucene search

K
osvGoogleOSV:GHSA-C892-CWQ6-QRQF
HistoryMay 26, 2023 - 6:30 p.m.

Keycloak vulnerable to untrusted certificate validation

2023-05-2618:30:21
Google
osv.dev
15
keycloak
vulnerability
certificate validation
reverse proxy
truststore
attacker
server
environment
consumer applications
integrity
confidentiality

EPSS

0.001

Percentile

18.4%

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.

EPSS

0.001

Percentile

18.4%