CVE-2022-1245

Critical

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.

SeverityCritical
CVSS9.8
Exploit probability—
ProductRedhat Keycloak
PublishedJul 8, 2022
First seenJul 8, 2022

How to fix

Update
  • redhat keycloak18.0.0 or later
  • org.keycloak:keycloak-services18.0.0 or later

Affected products

ProductAffected versionsFixed in
redhat keycloakv < 18.0.018.0.0
org.keycloak:keycloak-servicesMavenv < 18.0.018.0.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2022-1245 · Redhat Keycloak · Dark Radar