NetSight
critical9.8

CVE-2022-1245

Keycloak vulnerable to privilege escalation on Token Exchange feature

Impact

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 packages

EcosystemPackageAffectedFixed in
mavenorg.keycloak:keycloak-services< 18.0.018.0.0

Affected products

VendorProductAffected versions
RedhatKeycloak
before 18.0.0

Weakness classification

References