Skip to content
OpenAdvisories
Critical · 9.8 CVE-2022-1245 EUVD-2022-1660GHSA-75p6-52g3-rqc8

Keycloak vulnerable to privilege escalation on Token Exchange feature

Published Jul 7, 2022 · Updated Aug 2, 2024 · Assigned by redhat

Description

A privilege escalation flaw was found in the token exchange feature of keycloak. Missing authorization allows a client application holding a valid access token to exchange tokens for any target client by passing the client_id of the target. This could allow a client to gain unauthorized access to additional services.

Affected products

VendorProductAffectedFixed
— keycloak keycloak versions prior to 18.0.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Red Hat Single Sign On 7 rh-sso7-keycloak +1 15.0.6-1.redhat_00002.1.el7sso RHSA-2022:1712, RHSA-2022:1711

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.keycloak:keycloak-services < 18.0.0 18.0.0 GHSA-75p6-52g3-rqc8

Advisories 3

References