Skip to content

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

HighCVSS 8.8 EPSS 4.9%
Published
Updated
Exploit status
No public exploit known
Technology
UbuntuDebian

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.

Upgrade path

8 packages: 6 fixed, 1 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/keystone(Ubuntu Pro 16.04) = 2:8.0.0-0ubuntu1; = 2:9.0.0-0ubuntu1; = 2:9.0.0~b1-0ubuntu1; = 2:9.0.0~b2-0ubuntu1 +13 more No fix listed No fix yet
debian/keystone(Debian 12) < 2:17.0.0~rc2-1 2:17.0.0~rc2-1 Fixed
debian/keystone(Debian 13) < 2:17.0.0~rc2-1 2:17.0.0~rc2-1 Fixed
debian/keystone(Debian 14) < 2:17.0.0~rc2-1 2:17.0.0~rc2-1 Fixed
OpenStack Keystone < 15.0.1; = 16.0.0 15.0.1 Fixed
pypi keystone(PyPI) < 15.0.1; = 12.0.2; = 12.0.3; = 13.0.2 +11 more 15.0.1, 16.0.1 Fixed
ubuntu/keystone(Ubuntu 18.04) < 2:13.0.4-0ubuntu1; = 2:12.0.0-0ubuntu1; = 2:13.0.0-0ubuntu1; = 2:13.0.0~b1-0ubuntu1 +7 more 2:13.0.4-0ubuntu1 Fixed
Canonical Ubuntu Linux = 18.04 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
pypi keystone(PyPI) < 15.0.1 15.0.1
pypi keystone(PyPI) = 12.0.2 No fix listed
pypi keystone(PyPI) = 12.0.3 No fix listed
pypi keystone(PyPI) = 13.0.2 No fix listed
pypi keystone(PyPI) = 13.0.3 No fix listed
pypi keystone(PyPI) = 13.0.4 No fix listed
pypi keystone(PyPI) = 14.0.0 No fix listed
pypi keystone(PyPI) = 14.0.1 No fix listed
pypi keystone(PyPI) = 14.1.0 No fix listed
pypi keystone(PyPI) = 14.2.0 No fix listed
pypi keystone(PyPI) = 15.0.0 No fix listed
pypi keystone(PyPI) = 15.0.0.0rc1 No fix listed
pypi keystone(PyPI) = 15.0.0.0rc2 No fix listed
pypi keystone(PyPI) >= 16.0.0, < 16.0.1 16.0.1
pypi keystone(PyPI) = 16.0.0 No fix listed
debian/keystone(Debian:12) < 2:17.0.0~rc2-1 2:17.0.0~rc2-1
debian/keystone(Debian:13) < 2:17.0.0~rc2-1 2:17.0.0~rc2-1
debian/keystone(Debian:14) < 2:17.0.0~rc2-1 2:17.0.0~rc2-1
OpenStack Keystone < 15.0.1 15.0.1
OpenStack Keystone = 16.0.0 No fix listed
Canonical Ubuntu Linux = 18.04 No fix listed
ubuntu/keystone(Ubuntu:Pro:16.04) All versions No fix listed
ubuntu/keystone(Ubuntu:Pro:16.04) = 2:8.0.0-0ubuntu1 No fix listed
ubuntu/keystone(Ubuntu:Pro:16.04) = 2:9.0.0~b1-0ubuntu1 No fix listed
ubuntu/keystone(Ubuntu:Pro:16.04) = 2:9.0.0~b2-0ubuntu1 No fix listed
Show 24 more
ProductAffected versionsFixed in
ubuntu/keystone(Ubuntu:Pro:16.04) = 2:9.0.0~b3-0ubuntu1 No fix listed
ubuntu/keystone(Ubuntu:Pro:16.04) = 2:9.0.0~rc1-0ubuntu1 No fix listed
ubuntu/keystone(Ubuntu:Pro:16.04) = 2:9.0.0-0ubuntu1 No fix listed
ubuntu/keystone(Ubuntu:Pro:16.04) = 2:9.0.2-0ubuntu1 No fix listed
ubuntu/keystone(Ubuntu:Pro:16.04) = 2:9.0.2-0ubuntu2 No fix listed
ubuntu/keystone(Ubuntu:Pro:16.04) = 2:9.1.0-0ubuntu1 No fix listed
ubuntu/keystone(Ubuntu:Pro:16.04) = 2:9.2.0-0ubuntu1 No fix listed
ubuntu/keystone(Ubuntu:Pro:16.04) = 2:9.3.0-0ubuntu1 No fix listed
ubuntu/keystone(Ubuntu:Pro:16.04) = 2:9.3.0-0ubuntu2 No fix listed
ubuntu/keystone(Ubuntu:Pro:16.04) = 2:9.3.0-0ubuntu3 No fix listed
ubuntu/keystone(Ubuntu:Pro:16.04) = 2:9.3.0-0ubuntu3.1 No fix listed
ubuntu/keystone(Ubuntu:Pro:16.04) = 2:9.3.0-0ubuntu3.2 No fix listed
ubuntu/keystone(Ubuntu:Pro:16.04) = 2:9.3.0-0ubuntu3.2+esm2 No fix listed
ubuntu/keystone(Ubuntu:18.04) < 2:13.0.4-0ubuntu1 2:13.0.4-0ubuntu1
ubuntu/keystone(Ubuntu:18.04) = 2:12.0.0-0ubuntu1 No fix listed
ubuntu/keystone(Ubuntu:18.04) = 2:13.0.0~b1-0ubuntu1 No fix listed
ubuntu/keystone(Ubuntu:18.04) = 2:13.0.0~b2-0ubuntu1 No fix listed
ubuntu/keystone(Ubuntu:18.04) = 2:13.0.0~b3-0ubuntu1 No fix listed
ubuntu/keystone(Ubuntu:18.04) = 2:13.0.0~rc1-0ubuntu1 No fix listed
ubuntu/keystone(Ubuntu:18.04) = 2:13.0.0~rc2-0ubuntu1 No fix listed
ubuntu/keystone(Ubuntu:18.04) = 2:13.0.0-0ubuntu1 No fix listed
ubuntu/keystone(Ubuntu:18.04) = 2:13.0.1-0ubuntu1 No fix listed
ubuntu/keystone(Ubuntu:18.04) = 2:13.0.2-0ubuntu1 No fix listed
ubuntu/keystone(Ubuntu:18.04) = 2:13.0.2-0ubuntu3 No fix listed

References