CVE-2022-1245
highpriority · track · 39OT risk · elevatedEPSS 0.014 · 73 %ileDEEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · high–critical · 7.5–9.8
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (7)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2024-0794Dell ECS: Mehrere SchwachstellenDeutsch2024-04-04csaf · cert_bundDE
Ein Angreifer kann mehrere Schwachstellen in Dell ECS ausnutzen, um seine Privilegien zu erweitern, beliebigen Programmcode mit Administratorrechten auszuführen, Informationen offenzulegen, Dateien zu manipulieren, einen Cross-Site-Scripting-Angriff durchzuführen, Sicherheitsvorkehrungen zu umgehen oder einen Denial of Service Zustand herbeizuführen.
- GHSA-75p6-52g3-rqc8Keycloak vulnerable to privilege escalation on Token Exchange feature2022-04-26ghsa · osvUS
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.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (12)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/cve-2022-1245cnnvd
- https://bugzilla.redhat.com/show_bug.cgi?id=2071036Patchcnnvd
- https://cxsecurity.com/cveshow/CVE-2022-1245/cnnvd
- https://github.com/keycloak/keycloak/security/advisories/GHSA-75p6-52g3-rqc8cnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2022-1245cnnvd
- https://packetstormsecurity.com/files/166955/Red-Hat-Security-Advisory-2022-1709-01.htmlcnnvd
- https://packetstormsecurity.com/files/166967/Red-Hat-Security-Advisory-2022-1713-01.htmlcnnvd
- https://vigilance.fr/vulnerability/Keycloak-privilege-escalation-via-Token-Exchange-38246cnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan