CVE-2023-1664
Keycloak Untrusted Certificate Validation vulnerability
Auswirkung
A flaw was found in keycloak-core. This flaw considers the scenario when using X509 Client Certificate Authenticatior with the option "Revalidate Client Certificate". A user may be able to choose, if directly connect to keycloak (not passing via reverse proxy) a specific certificate. If there's a configuration error in KC_SPI_TRUSTSTORE_FILE_FILE the authenticator allows even with the "Cannot validate client certificate trust: Truststore not available" message as there's no certificate to trust against.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, ohne Zutun eines Nutzers. Bei Erfolg: geringes Risiko, dass Daten ausgelesen werden, geringes Risiko, dass Daten oder Systeme verändert werden.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| maven | org.keycloak:keycloak-core | < 21.1.2 | 21.1.2 |
Betroffene Produkte · Red Hat
| Produkt | Betroffene Versionen |
|---|---|
| Build Of Quarkus | Alle Versionen |
| Jboss A-mq | Version 7 |
| Keycloak | Alle Versionen |
| Migration Toolkit For Runtimes | Alle Versionen |
| Single Sign-on | Version 7.0 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2182196&comment#0
- https://github.com/advisories/GHSA-5cc8-pgp5-7mpm
- https://github.com/keycloak/keycloak/security/advisories/GHSA-5cc8-pgp5-7mpm
- https://nvd.nist.gov/vuln/detail/CVE-2023-1664
- https://access.redhat.com/security/cve/CVE-2023-1664