Lucene search

K
nvd[email protected]NVD:CVE-2023-1664
HistoryMay 26, 2023 - 6:15 p.m.

CVE-2023-1664

2023-05-2618:15:09
CWE-295
web.nvd.nist.gov
5
keycloak
certificate validation
client certificate
reverse proxy
truststore
integrity
confidentiality

CVSS3

6.5

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

AI Score

7

Confidence

High

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.

Affected configurations

Nvd
Node
redhatbuild_of_quarkusMatch-
OR
redhatjboss_a-mqMatch7
OR
redhatkeycloakMatch-
OR
redhatmigration_toolkit_for_runtimesMatch-
OR
redhatsingle_sign-onMatch7.0
VendorProductVersionCPE
redhatbuild_of_quarkus-cpe:2.3:a:redhat:build_of_quarkus:-:*:*:*:*:*:*:*
redhatjboss_a-mq7cpe:2.3:a:redhat:jboss_a-mq:7:*:*:*:*:*:*:*
redhatkeycloak-cpe:2.3:a:redhat:keycloak:-:*:*:*:*:*:*:*
redhatmigration_toolkit_for_runtimes-cpe:2.3:a:redhat:migration_toolkit_for_runtimes:-:*:*:*:*:*:*:*
redhatsingle_sign-on7.0cpe:2.3:a:redhat:single_sign-on:7.0:*:*:*:*:*:*:*

CVSS3

6.5

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

AI Score

7

Confidence

High

EPSS

0.001

Percentile

18.4%