MEDIUM · 6.5

CVE-2023-1664

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. Us...

Vulnerability 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.

CVSS Score

6.5

MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
LOW
Integrity
LOW
Availability
NONE

Affected Products

VendorProductVersions
RedhatBuild Of Quarkus-
RedhatJboss A-Mq7
RedhatKeycloak-
RedhatMigration Toolkit For Runtimes-
RedhatSingle Sign-On7.0

Related Weaknesses (CWE)

References

FAQ

What is CVE-2023-1664?

CVE-2023-1664 is a vulnerability with a CVSS score of 6.5 (MEDIUM). 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. Us...

How severe is CVE-2023-1664?

CVE-2023-1664 has been rated MEDIUM with a CVSS base score of 6.5/10. Review the CVSS metrics above for detailed severity breakdown.

Is there a patch for CVE-2023-1664?

Check the references section above for vendor advisories and patch information. Affected products include: Redhat Build Of Quarkus, Redhat Jboss A-Mq, Redhat Keycloak, Redhat Migration Toolkit For Runtimes, Redhat Single Sign-On.