8.8high
OpenStack Keystone EC2 and/or credential endpoints are not protected from a scoped context
- Severity
- 8.8high CVSS:3.1 by NVD
- Exploit likelihood
- 1.56% (higher than 76% of CVEs)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-chgw-36xv-47cwPYSEC-2020-53
Description
An issue was discovered in OpenStack Keystone before 15.0.1, and 16.0.0. Any user authenticated within a limited scope (trust/oauth/application credential) can create an EC2 credential with an escalated permission, such as obtaining admin while the user is on a limited viewer role. 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 package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| keystone (PyPI) | before 15.0.1, from 16.0.0 before 16.0.1 | GitHub Advisory Database, PyPA Advisory Database |
| openstack keystone | before 15.0.1, 16.0.0 | NVD |
| canonical ubuntu_linux | 18.04 | 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 |
| GitHub | high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| NVD | 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 | 6.5medium CVSS:2.0 | AV: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 user authenticated within a limited scope (trust/oauth/application credential) can create an EC2 credential with an escalated permission, such as obtaining admin while the user is on a limited viewer role. 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 en versiones anteriores a la 15.0.1 y 16.0.0. Cualquier usuario autenticado dentro de un alcance limitado (credencial de confianza/autorización/aplicación) puede crear una credencial EC2 con un permiso escalado, como obtener administrador mientras el usuario tiene un rol de visor limitado. Potencialmente, esto permite que un usuario malintencionado actúe como administrador en un proyecto en el que otro usuario tiene la función de administrador, lo que efectivamente puede otorgarle a ese usuario privilegios de administrador global.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2020-12689 changed 2024-08-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-chgw-36xv-47cw changed 2024-09-27 | CC-BY-4.0 |
| NVD | CVE-2020-12689 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2020-53 changed 2026-06-10 | CC-BY-4.0 |