{"id":"CVE-2023-0657","state":"PUBLISHED","title":"Keycloak: impersonation via logout token exchange","description":"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.","publishedAt":"2024-11-17T10:19:03.717Z","updatedAt":"2024-11-17T16:18:51.475Z","severity":{"score":3.4,"label":"Low","version":"3.1","vector":"CVSS:3.1/AV:A/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N","source":"redhat"},"assigner":"redhat","products":["keycloak","Red Hat Red Hat build of Keycloak 22","Red Hat Red Hat build of Keycloak 22.0.10","Red Hat Red Hat Single Sign-On 7"],"affected":[{"packageName":"keycloak","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"22.0.10","versionType":"semver"},{"version":"23.0.0","status":"affected","lessThan":"24.0.3","versionType":"semver"}],"collectionURL":"https://github.com/keycloak/keycloak"},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 22","packageName":"rhbk/keycloak-operator-bundle","defaultStatus":"affected","versions":[{"version":"22.0.10-1","status":"unaffected","lessThan":"*","versionType":"rpm"}],"collectionURL":"https://catalog.redhat.com/software/containers/","cpes":["cpe:/a:redhat:build_keycloak:22::el9"]},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 22","packageName":"rhbk/keycloak-rhel9","defaultStatus":"affected","versions":[{"version":"22-13","status":"unaffected","lessThan":"*","versionType":"rpm"}],"collectionURL":"https://catalog.redhat.com/software/containers/","cpes":["cpe:/a:redhat:build_keycloak:22::el9"]},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 22","packageName":"rhbk/keycloak-rhel9-operator","defaultStatus":"affected","versions":[{"version":"22-16","status":"unaffected","lessThan":"*","versionType":"rpm"}],"collectionURL":"https://catalog.redhat.com/software/containers/","cpes":["cpe:/a:redhat:build_keycloak:22::el9"]},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 22.0.10","packageName":"keycloak","defaultStatus":"unaffected","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/a:redhat:build_keycloak:22"]},{"vendor":"Red Hat","product":"Red Hat Single Sign-On 7","packageName":"keycloak","defaultStatus":"affected","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/a:redhat:red_hat_single_sign_on:7"]}],"references":["https://access.redhat.com/errata/RHSA-2024:1867","https://access.redhat.com/errata/RHSA-2024:1868","https://access.redhat.com/security/cve/CVE-2023-0657","https://bugzilla.redhat.com/show_bug.cgi?id=2166728"],"weaknesses":["CWE-273"],"ingestedAt":"2026-10-29T20:05:36.141Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/0xxx/CVE-2023-0657.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-0657","state":"PUBLISHED","datePublished":"2024-11-17T10:19:03.717Z","dateUpdated":"2024-11-17T16:18:51.475Z","assignerShortName":"redhat","assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateReserved":"2023-02-02T18:49:19.373Z"},"containers":{"cna":{"title":"Keycloak: impersonation via logout token exchange","descriptions":[{"lang":"en","value":"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."}],"affected":[{"packageName":"keycloak","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"22.0.10","versionType":"semver"},{"version":"23.0.0","status":"affected","lessThan":"24.0.3","versionType":"semver"}],"collectionURL":"https://github.com/keycloak/keycloak"},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 22","packageName":"rhbk/keycloak-operator-bundle","defaultStatus":"affected","versions":[{"version":"22.0.10-1","status":"unaffected","lessThan":"*","versionType":"rpm"}],"collectionURL":"https://catalog.redhat.com/software/containers/","cpes":["cpe:/a:redhat:build_keycloak:22::el9"]},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 22","packageName":"rhbk/keycloak-rhel9","defaultStatus":"affected","versions":[{"version":"22-13","status":"unaffected","lessThan":"*","versionType":"rpm"}],"collectionURL":"https://catalog.redhat.com/software/containers/","cpes":["cpe:/a:redhat:build_keycloak:22::el9"]},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 22","packageName":"rhbk/keycloak-rhel9-operator","defaultStatus":"affected","versions":[{"version":"22-16","status":"unaffected","lessThan":"*","versionType":"rpm"}],"collectionURL":"https://catalog.redhat.com/software/containers/","cpes":["cpe:/a:redhat:build_keycloak:22::el9"]},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 22.0.10","packageName":"keycloak","defaultStatus":"unaffected","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/a:redhat:build_keycloak:22"]},{"vendor":"Red Hat","product":"Red Hat Single Sign-On 7","packageName":"keycloak","defaultStatus":"affected","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/a:redhat:red_hat_single_sign_on:7"]}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2024:1867","name":"RHSA-2024:1867","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2024:1868","name":"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","name":"RHBZ#2166728","tags":["issue-tracking","x_refsource_REDHAT"]}],"metrics":[{"other":{"content":{"value":"Low","namespace":"https://access.redhat.com/security/updates/classification/"},"type":"Red Hat severity rating"}},{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"ADJACENT_NETWORK","availabilityImpact":"NONE","baseScore":3.4,"baseSeverity":"LOW","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:A/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N","version":"3.1"},"format":"CVSS"}],"problemTypes":[{"descriptions":[{"cweId":"CWE-273","description":"Improper Check for Dropped Privileges","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"redhat","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateUpdated":"2024-11-17T10:19:03.717Z"},"datePublic":"2024-04-16T00:00:00.000Z","x_redhatCweChain":"CWE-273: Improper Check for Dropped Privileges","timeline":[{"lang":"en","time":"2023-02-02T00:00:00.000Z","value":"Reported to Red Hat."},{"lang":"en","time":"2024-04-16T00:00:00.000Z","value":"Made public."}]},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-11-17T16:18:32.777591Z","id":"CVE-2023-0657","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-11-17T16:18:51.475Z"}}]}}}