Auth bypass in Red Hat Keycloak
CVE-2022-1245
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.
Vulnerability class: Broken Access Control
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.014 (72.3th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 72nd percentile — 72.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.013 · newest: 0.014 · change: +0.001
Affected products
- Red Hat Keycloak
- Keycloak — versions keycloak versions prior to 18.0.0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/keycloak/keycloak/security/advisories/GHSA-75p6-52g3-rqc8 (Third Party Advisory)
Frequently asked questions
- What is CVE-2022-1245?
- CVE-2022-1245 is a critical-severity vulnerability in Red Hat Keycloak, classified under Missing Authorization. CVSS score: 9.8/10. Published 2022-07-08.
- How severe is CVE-2022-1245?
- Critical severity. CVSS v3 base score is 9.8 out of 10.
- Is CVE-2022-1245 known to be exploited?
- 2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.