Permissions, Privileges, and Access Controls in OpenStack Keystone - CVE-2020-12691
Published: May 7, 2020 / Updated: October 6, 2021
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
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
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