CVE-2020-12691
JSON

8.8high

OpenStack Keystone V3 /credentials endpoint policy logic allows to change credentials owner or target project ID

Severity
8.8high CVSS:3.1 by NVD
Exploit likelihood
4.92% (higher than 92% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-4427-7f3w-mqv6PYSEC-2020-55

Description

An issue was discovered in OpenStack Keystone before 15.0.1, and 16.0.0. Any authenticated user can create an EC2 credential for themselves for a project that they have a specified role on, and then perform an update to the credential user and project, allowing them to masquerade as another user. This potentially allows a malicious user to act as the admin on a project another user has the admin role on, which can effectively grant that user global admin privileges.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
keystone (PyPI)before 15.0.1, from 16.0.0 before 16.0.1GitHub Advisory Database, PyPA Advisory Database
openstack keystonebefore 15.0.1, 16.0.0NVD
canonical ubuntu_linux18.04NVD

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
GitHubhigh CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
NVD8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD6.5medium CVSS:2.0AV:N/AC:L/Au:S/C:P/I:P/A:P

Classification

What each source says

CVE List

An issue was discovered in OpenStack Keystone before 15.0.1, and 16.0.0. Any authenticated user can create an EC2 credential for themselves for a project that they have a specified role on, and then perform an update to the credential user and project, allowing them to masquerade as another user. This potentially allows a malicious user to act as the admin on a project another user has the admin role on, which can effectively grant that user global admin privileges.

NVD (es)

Se detectó un problema en OpenStack Keystone versiones anteriores a 15.0.1 y 16.0.0. Cualquier usuario autenticado puede crear una credencial EC2 para sí mismo para un proyecto en el que posee un rol específico, y luego llevar a cabo una actualización para el usuario y el proyecto de la credencial, permitiéndole hacerse pasar por otro usuario. Esto permite potencialmente a un usuario malicioso actuar como el administrador en un proyecto en el que otro usuario presenta la función de administrador, que puede otorgarle efectivamente a ese usuario privilegios de administrador global.

References

https://security.openstack.org/ossa/OSSA-2020-004.htmlvendor-advisory, web
https://www.openwall.com/lists/oss-security/2020/05/06/5mailing-list, third-party-advisory, web
https://bugs.launchpad.net/keystone/+bug/1872733patch, third-party-advisory, web
http://www.openwall.com/lists/oss-security/2020/05/07/2mailing-list, third-party-advisory, web
https://lists.apache.org/thread.html/re4ffc55cd2f1b55a26e07c83b3c22c3fe4bae6054d000a57fb48d8c2%40%3Ccommits.druid.apache.org%3Emailing-list
https://usn.ubuntu.com/4480-1/third-party-advisory, vendor-advisory, web
https://lists.apache.org/thread.html/re237267da268c690df5e1c6ea6a38a7fc11617725e8049490f58a6fa%40%3Ccommits.druid.apache.org%3Emailing-list
https://nvd.nist.gov/vuln/detail/CVE-2020-12691advisory
https://github.com/openstack/keystone/commit/37e9907a176dad6843819b1bec4946c3aecc4548web
https://github.com/openstack/keystone/commit/40cbb7bebd50276412daa1981ff5a7c7b3b899a5web
https://github.com/openstack/keystone/commit/95b2bbeab113d9f04d1c81f7f1b48bf692bce979web
https://github.com/openstack/keystonepackage

Sources

SourceRecordLicence
CVE ListCVE-2020-12691 changed 2024-08-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-4427-7f3w-mqv6 changed 2024-09-27CC-BY-4.0
NVDCVE-2020-12691 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2020-55 changed 2026-06-10CC-BY-4.0