CVE-2020-12691
published 2020-05-07CVE-2020-12691: 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…
PriorityP353high8.8CVSS 3.1
AVNACLPRLUINSUCHIHAH
EPSS
4.92%
91.1th percentile
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
11 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| canonical | ubuntu_linux | — | — |
| debian | keystone | < keystone 2:17.0.0~rc2-1 (bookworm) | keystone 2:17.0.0~rc2-1 (bookworm) |
| openstack | keystone | < 15.0.1 | 15.0.1 |
| openstack | keystone | — | — |
| openstack | keystone | >= 0 < 2:17.0.0~rc2-1 | 2:17.0.0~rc2-1 |
| openstack | keystone | >= 0 < 2:17.0.0~rc2-1 | 2:17.0.0~rc2-1 |
| openstack | keystone | >= 0 < 2:17.0.0~rc2-1 | 2:17.0.0~rc2-1 |
| openstack | keystone | >= 0 < 2:17.0.0~rc2-1 | 2:17.0.0~rc2-1 |
| openstack | keystone | >= 0 < 15.0.1 | 15.0.1 |
| openstack | keystone | >= 0 < 2:13.0.4-0ubuntu1 | 2:13.0.4-0ubuntu1 |
| openstack | keystone | >= 16.0.0 < 16.0.1 | 16.0.1 |
CVSS provenance
nvdv3.18.8HIGHCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvdv2.06.5MEDIUMAV:N/AC:L/Au:S/C:P/I:P/A:P
osv8.8HIGH
vendor_debian8.8HIGH
vendor_redhat8.8HIGH
vendor_ubuntu8.8HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
OpenStack Keystone V3 /credentials endpoint policy logic allows to change credentials owner or target project ID
osv·2022-05-24
CVE-2020-12691 [HIGH] OpenStack Keystone V3 /credentials endpoint policy logic allows to change credentials owner or target project ID
OpenStack Keystone V3 /credentials endpoint policy logic allows to change credentials owner or target project ID
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.
GHSA
OpenStack Keystone V3 /credentials endpoint policy logic allows to change credentials owner or target project ID
ghsa·2022-05-24
CVE-2020-12691 [HIGH] CWE-311 OpenStack Keystone V3 /credentials endpoint policy logic allows to change credentials owner or target project ID
OpenStack Keystone V3 /credentials endpoint policy logic allows to change credentials owner or target project ID
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.
OSV
keystone vulnerabilities
osv·2020-09-01·CVSS 8.8
CVE-2020-12689 [HIGH] keystone vulnerabilities
keystone vulnerabilities
It was discovered that OpenStack Keystone incorrectly handled EC2
credentials. An authenticated attacker with a limited scope could possibly
create EC2 credentials with escalated permissions. (CVE-2020-12689,
CVE-2020-12691)
It was discovered that OpenStack Keystone incorrectly handled the list of
roles provided with OAuth1 access tokens. An authenticated user could
possibly end up with more role assignments than intended. (CVE-2020-12690)
It was discovered that OpenStack Keystone incorrectly handled EC2 signature
TTL checks. A remote attacker could possibly use this issue to reuse
Authorization headers. (CVE-2020-12692)
OSV
CVE-2020-12691: An issue was discovered in OpenStack Keystone before 15
osv·2020-05-07·CVSS 8.8
CVE-2020-12691 [HIGH] CVE-2020-12691: An issue was discovered in OpenStack Keystone before 15
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.
Ubuntu
OpenStack Keystone vulnerabilities
vendor_ubuntu·2020-09-01·CVSS 8.8
CVE-2020-12689 [HIGH] OpenStack Keystone vulnerabilities
Title: OpenStack Keystone vulnerabilities
Summary: Several security issues were fixed in OpenStack Keystone.
It was discovered that OpenStack Keystone incorrectly handled EC2
credentials. An authenticated attacker with a limited scope could possibly
create EC2 credentials with escalated permissions. (CVE-2020-12689,
CVE-2020-12691)
It was discovered that OpenStack Keystone incorrectly handled the list of
roles provided with OAuth1 access tokens. An authenticated user could
possibly end up with more role assignments than intended. (CVE-2020-12690)
It was discovered that OpenStack Keystone incorrectly handled EC2 signature
TTL checks. A remote attacker could possibly use this issue to reuse
Authorization headers. (CVE-2020-12692)
Instructions: In general, a standard system update will m
Red Hat
openstack-keystone: Credentials endpoint policy logic allows changing credential owner and target project ID
vendor_redhat·2020-05-06·CVSS 8.8
CVE-2020-12691 [HIGH] CWE-863 openstack-keystone: Credentials endpoint policy logic allows changing credential owner and target project ID
openstack-keystone: Credentials endpoint policy logic allows changing credential owner and target project ID
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.
A vulnerability was found in Keystone's EC2 credentials API. This flaw allows any authenticated user to create an EC2 credential for themselves for a project that they have a specified role, and then perform an update
Debian
CVE-2020-12691: keystone - An issue was discovered in OpenStack Keystone before 15.0.1, and 16.0.0. Any aut...
vendor_debian·2020·CVSS 8.8
CVE-2020-12691 [HIGH] CVE-2020-12691: keystone - An issue was discovered in OpenStack Keystone before 15.0.1, and 16.0.0. Any aut...
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.
Scope: local
bookworm: resolved (fixed in 2:17.0.0~rc2-1)
bullseye: resolved (fixed in 2:17.0.0~rc2-1)
forky: resolved (fixed in 2:17.0.0~rc2-1)
sid: resolved (fixed in 2:17.0.0~rc2-1)
trixie: resolved (fixed in 2:17.0.0~rc2-1)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2020-12691 openstack-keystone: Credentials endpoint policy logic allows changing credential owner and target project ID [openstack-rdo]
bugzilla·2020-05-06·CVSS 8.8
CVE-2020-12691 [HIGH] CVE-2020-12691 openstack-keystone: Credentials endpoint policy logic allows changing credential owner and target project ID [openstack-rdo]
CVE-2020-12691 openstack-keystone: Credentials endpoint policy logic allows changing credential owner and target project ID [openstack-rdo]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of openstack-rdo.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg comm
Bugzilla
CVE-2020-12691 openstack-keystone: Credentials endpoint policy logic allows changing credential owner and target project ID
bugzilla·2020-05-01·CVSS 8.8
CVE-2020-12691 [HIGH] CVE-2020-12691 openstack-keystone: Credentials endpoint policy logic allows changing credential owner and target project ID
CVE-2020-12691 openstack-keystone: Credentials endpoint policy logic allows changing credential owner and target project ID
A vulnerability was found in Keystone's EC2 credentials API. Any authenticated user could create an EC2 credential for themselves for a project that they have a specified role on, then perform an update to the credential user and project, allowing them to masquerade as another user.
This potentially allows the malicious user to act as the admin on a project another user has the admin role on, which can effectively grant the user
global admin privileges.
Discussion:
Created attachment 1683810
propossed patch
Created attachment 1683810 [details]
0001-Disable-altering-credential-owner-attributes.patch-train
---
Created attachment 1683811
propossed patch
Created at
http://www.openwall.com/lists/oss-security/2020/05/07/2https://bugs.launchpad.net/keystone/+bug/1872733https://lists.apache.org/thread.html/re237267da268c690df5e1c6ea6a38a7fc11617725e8049490f58a6fa%40%3Ccommits.druid.apache.org%3Ehttps://lists.apache.org/thread.html/re4ffc55cd2f1b55a26e07c83b3c22c3fe4bae6054d000a57fb48d8c2%40%3Ccommits.druid.apache.org%3Ehttps://security.openstack.org/ossa/OSSA-2020-004.htmlhttps://usn.ubuntu.com/4480-1/https://www.openwall.com/lists/oss-security/2020/05/06/5http://www.openwall.com/lists/oss-security/2020/05/07/2https://bugs.launchpad.net/keystone/+bug/1872733https://lists.apache.org/thread.html/re237267da268c690df5e1c6ea6a38a7fc11617725e8049490f58a6fa%40%3Ccommits.druid.apache.org%3Ehttps://lists.apache.org/thread.html/re4ffc55cd2f1b55a26e07c83b3c22c3fe4bae6054d000a57fb48d8c2%40%3Ccommits.druid.apache.org%3Ehttps://security.openstack.org/ossa/OSSA-2020-004.htmlhttps://usn.ubuntu.com/4480-1/https://www.openwall.com/lists/oss-security/2020/05/06/5
2020-05-07
Published