CVE-2020-27826
JSON

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 packageVersionsReported by
keycloakkeycloak 12.0.0CVE List
org.keycloak:keycloak-core (Maven)before 12.0.0GitHub Advisory Database
redhat keycloakbefore 12.0.0NVD
redhat single_sign-on7.4, 7.4.4NVD

All scores

GitHub8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD4.2medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
NVD4.9medium CVSS:2.0AV: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

SourceRecordLicence
CVE ListCVE-2020-27826 changed 2024-08-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-m9cj-v55f-8x26 changed 2023-11-08CC-BY-4.0
NVDCVE-2020-27826 changed 2026-06-17Public domain