{"id":"CVE-2023-2422","published":"2023-10-04T10:59:30Z","modified":"2024-08-02T06:19:15Z","title":"Keycloak: oauth client impersonation","vendor":"Red Hat","product":"Red Hat Single Sign-On 7","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00522,"percentile":0.45221,"provenance":"source"},"cwes":[{"id":"CWE-295","name":"Improper Certificate Validation"}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2023:3883","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2023:3884","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2023:3885","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2023:3888","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2023:3892","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/security/cve/CVE-2023-2422","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2191668","tags":["issue-tracking","x_refsource_REDHAT"]}],"priority":{"score":12.9,"factors":[{"name":"EPSS percentile","points":9.04},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"red-hat","affectedVersions":[{"vendor":"Red Hat","product":"Red Hat Single Sign-On 7.6 for RHEL 7","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Single Sign-On 7.6 for RHEL 8","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Single Sign-On 7.6 for RHEL 9","versions":["all versions"]},{"vendor":"Red Hat","product":"RHEL-8 based Middleware Containers","versions":["all versions"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-05-03T18:15:34.385890Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.keycloak:keycloak-services","vulnerableRanges":["<21.1.2"],"patched":["21.1.2"],"from":["GHSA-3qh5-qqj2-c78f"],"provenance":"source"}],"summary":{"text":"A flaw in Red Hat Single Sign-On 7 (Keycloak) lies in its handling of mTLS client authentication for OAuth/OpenID clients, where the server does not properly verify the client certificate chain. An attacker holding a validly issued certificate can authenticate as any other client and gain access to data belonging to those clients, provided the server is configured to use mTLS for client authentication and the attacker has an existing client certificate.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:48:54Z"},"euvd":{"id":"EUVD-2023-1672","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2022-1274","published":"2023-03-29","fixed":"20.0.5","kev":false},{"cve":"CVE-2023-0264","published":"2023-08-04","fixed":"21.0.1","kev":false,"link":{"from":"CVE-2023-0264","to":"CVE-2023-2422","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.keycloak:keycloak-services","fromFixed":"21.0.1","toFixed":"21.1.2","daysApart":61}]}},{"cve":"CVE-2022-4361","published":"2023-07-07","fixed":"21.1.2","kev":false},{"cve":"CVE-2023-2422","published":"2023-10-04","fixed":"21.1.2","kev":false},{"cve":"CVE-2023-2585","published":"2023-12-21","fixed":"21.1.2","kev":false},{"cve":"CVE-2022-2232","published":"2024-11-14","fixed":"23.0.1","kev":false},{"cve":"CVE-2023-6134","published":"2023-12-14","fixed":"23.0.3","kev":false}],"package":"Maven:org.keycloak:keycloak-services"}}