CVE-2023-1664

MEDIUM

Keycloak - Auth Bypass

Title source: llm
STIX 2.1

Description

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.

References (1)

Core 1
Core References

Scores

CVSS v3 6.5
EPSS 0.0025
EPSS Percentile 48.7%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

CISA SSVC

Vulnrichment
Exploitation none
Automatable yes
Technical Impact partial

Details

CWE
CWE-295
Status published
Products (6)
org.keycloak/keycloak-core 0 - 21.1.2Maven
redhat/build_of_quarkus
redhat/jboss_a-mq 7
redhat/keycloak
redhat/migration_toolkit_for_runtimes
redhat/single_sign-on 7.0
Published May 26, 2023
Tracked Since Feb 18, 2026