{"id":"CVE-2023-0657","published":"2024-11-17T10:19:03Z","modified":"2024-11-17T16:18:51Z","title":"Keycloak: impersonation via logout token exchange","vendor":"Red Hat","product":"Red Hat build of Keycloak 22","tier":"tail","description":{"text":"A flaw was found in Keycloak. This issue occurs due to improperly enforcing token types when validating signatures locally. This could allow an authenticated attacker to exchange a logout token for an access token and possibly gain access to data outside of enforced permissions.","provenance":"source","from":"CVE.org"},"cvss":{"score":3.4,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:A/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.003,"percentile":0.23335,"provenance":"source"},"cwes":[{"id":"CWE-273","name":"Improper Check for Dropped Privileges"}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2024:1867","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2024:1868","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/security/cve/CVE-2023-0657","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2166728","tags":["issue-tracking","x_refsource_REDHAT"]}],"priority":{"score":7.0,"factors":[{"name":"EPSS percentile","points":4.67},{"name":"CVSS severity","points":2.38}]},"vendorSlug":"red-hat","affectedVersions":[{"vendor":null,"product":null,"versions":["< 22.0.10",">= 23.0.0, < 24.0.3"]},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 22","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 22","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 22","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Single Sign-On 7","versions":["all versions"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-11-17T16:18:32.777591Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.keycloak:keycloak-services","vulnerableRanges":["<22.0.10",">=23.0.0, <24.0.3"],"patched":["22.0.10","24.0.3"],"from":["GHSA-7fpj-9hr8-28vh"],"provenance":"source"}],"summary":{"text":"The flaw is in the token validation logic of Red Hat build of Keycloak 22, where token types are not properly enforced when signatures are checked locally. Exploitation requires an authenticated attacker who can reach the server over the network and needs a user to interact with the process, and it can allow that attacker to exchange a logout token for an access token and potentially reach data beyond their permitted scope.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:18:01Z"},"euvd":{"id":"EUVD-2024-1142","exploited":false,"provenance":"source"}}