4.2medium
Authentication Bypass in keycloak
- Severity
- 4.2medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.57% (higher than 48% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- redhat
- Also known as
- GHSA-m9cj-v55f-8x26
Description
A flaw was found in Keycloak before version 12.0.0 where it is possible to update the user's metadata attributes using Account REST API. This flaw allows an attacker to change its own NameID attribute to impersonate the admin user for any particular application.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| keycloak | keycloak 12.0.0 | CVE List |
| org.keycloak:keycloak-core (Maven) | before 12.0.0 | GitHub Advisory Database |
| redhat keycloak | before 12.0.0 | NVD |
| redhat single_sign-on | 7.4, 7.4.4 | NVD |
All scores
| GitHub | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 4.2medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N |
| NVD | 4.9medium CVSS:2.0 | AV:N/AC:M/Au:S/C:P/I:P/A:N |
Classification
What each source says
CVE List
A flaw was found in Keycloak before version 12.0.0 where it is possible to update the user's metadata attributes using Account REST API. This flaw allows an attacker to change its own NameID attribute to impersonate the admin user for any particular application.
NVD (es)
Se encontró un fallo en Keycloak versiones anteriores a 12.0.0, donde es posible actualizar los atributos de metadatos del usuario usando la API REST de la cuenta. Este fallo permite a un atacante cambiar su propio atributo NameID para hacerse pasar por el usuario administrador de cualquier aplicación en particular
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2020-27826 changed 2024-08-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-m9cj-v55f-8x26 changed 2023-11-08 | CC-BY-4.0 |
| NVD | CVE-2020-27826 changed 2026-06-17 | Public domain |