GitHub Advisoryadvisory · Maven

GHSA-75p6-52g3-rqc8 Keycloak vulnerable to privilege escalation on Token Exchange feature

CRITICAL Published 2022-04-26 Modified 2022-07-21 Official page ↗
Aliases
CVE-2022-1245
Ecosystem
Maven
Packages
org.keycloak:keycloak-services
Severity
Critical
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-639, CWE-862, CWE-863
Reviewed
2022-04-26

Affected packages

• Maven org.keycloak:keycloak-services: < 18.0.0 → fixed in 18.0.0

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.

Related

Alias · CVE (1)

  • CVE-2022-1245 A privilege escalation flaw was found in the token exchange feature of keycloak. vulnerability

Weakness · CWE (3)

  • CWE-639 Authorization Bypass Through User-Controlled Key weakness
  • CWE-862 Missing Authorization weakness
  • CWE-863 Incorrect Authorization weakness

References