Permissions, Privileges, and Access Controls in OpenStack Keystone - CVE-2020-12691

 

Permissions, Privileges, and Access Controls in OpenStack Keystone - CVE-2020-12691

Published: May 7, 2020 / Updated: October 6, 2021


Vulnerability identifier: #VU27605
CSH Severity: Medium
CVSS v4 BT: 1.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:U/U:Green]
CVE-ID: CVE-2020-12691
CWE-ID: CWE-264
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to escalate privileges on the system.

The vulnerability exists due to application does not properly impose security restrictions, which leads to security restrictions bypass and privilege escalation. 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 software

OpenStack Keystone
Red Hat OpenStack for IBM Power
Red Hat OpenStack
keystone (Debian package)
openstack-keystone (Red Hat package)
keystone (Ubuntu package)
python-keystone (Ubuntu package)
Ubuntu

How to mitigate CVE-2020-12691

Install update from vendor's website.

keystone (Debian package) - update to 2:14.2.0-0+deb10u1
openstack-keystone (Red Hat package) - update to 13.0.4-3.el7ost
keystone (Ubuntu package) - update to 2:13.0.4-0ubuntu1
python-keystone (Ubuntu package) - update to 2:13.0.4-0ubuntu1

External References

Related Security Bulletins