ADVISORIES

GitHub Advisory Database

GHSA-75p6-52g3-rqc8

Keycloak vulnerable to privilege escalation on Token Exchange feature

Critical CVE-2022-1245

Details

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

EcosystemPackageAffected versions
Mavenorg.keycloak:keycloak-services
All versions before 18.0.0 (fixed in 18.0.0)

References