Keycloak: oauth client impersonation (Red Hat Red Hat Single Sign-On 7)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.52 % · percentile 44 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- redhat
- NVD status
- Modified
Description
A flaw was found in Keycloak. A Keycloak server configured to support mTLS authentication for OAuth/OpenID clients does not properly verify the client certificate chain. A client that possesses a proper certificate can authorize itself as any other client, therefore, access data that belongs to other clients.
Weaknesses (CWE)
- CWE-295 — Improper Certificate Validation
References
- https://access.redhat.com/errata/RHSA-2023:3883
- https://access.redhat.com/errata/RHSA-2023:3884
- https://access.redhat.com/errata/RHSA-2023:3885
- https://access.redhat.com/errata/RHSA-2023:3888
- https://access.redhat.com/errata/RHSA-2023:3892
- https://access.redhat.com/security/cve/CVE-2023-2422
- https://bugzilla.redhat.com/show_bug.cgi?id=2191668
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:L/A:N | redhat |
| CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:L/A:N | NVD · secalert@redhat.com (Secondary) |
| CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N | NVD · nvd@nist.gov (Primary) |
Advisories
- GHSA-3qh5-qqj2-c78f — Keycloak vulnerable to Improper Client Certificate Validation for OAuth/OpenID clients
European references
- ENISA EUVD · EUVD-2023-1672
- GCVE · GCVE-0-2023-2422
Affected configurations (NVD CPE)
cpe:2.3:a:redhat:keycloak:-:*:*:*:*:*:*:*cpe:2.3:a:redhat:openshift_container_platform:4.9:*:*:*:*:*:*:*cpe:2.3:a:redhat:openshift_container_platform:4.10:*:*:*:*:*:*:*cpe:2.3:a:redhat:openshift_container_platform:4.11:*:*:*:*:*:*:*cpe:2.3:a:redhat:openshift_container_platform:4.12:*:*:*:*:*:*:*cpe:2.3:a:redhat:single_sign-on:7.6:*:*:*:*:*:*:*
Affected products
| Product | Versions |
|---|---|
| Red Hat · Red Hat Single Sign-On 7 | |
| Red Hat · Red Hat Single Sign-On 7.6 for RHEL 7 | unaffected 0:18.0.8-1.redhat_00001.1.el7sso < * |
| Red Hat · Red Hat Single Sign-On 7.6 for RHEL 8 | unaffected 0:18.0.8-1.redhat_00001.1.el8sso < * |
| Red Hat · Red Hat Single Sign-On 7.6 for RHEL 9 | unaffected 0:18.0.8-1.redhat_00001.1.el9sso < * |
| Red Hat · RHEL-8 based Middleware Containers | unaffected 7.6-24 < * |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |