CVE-2020-12689
published 2020-05-07CVE-2020-12689: 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…
PriorityP348high8.8CVSS 3.1
AVNACLPRLUINSUCHIHAH
EPSS
1.56%
72.3th percentile
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
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 EC2 and/or credential endpoints are not protected from a scoped context
osv·2022-05-24
CVE-2020-12689 [HIGH] OpenStack Keystone EC2 and/or credential endpoints are not protected from a scoped context
OpenStack Keystone EC2 and/or credential endpoints are not protected from a scoped context
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.
GHSA
OpenStack Keystone EC2 and/or credential endpoints are not protected from a scoped context
ghsa·2022-05-24
CVE-2020-12689 [HIGH] CWE-269 OpenStack Keystone EC2 and/or credential endpoints are not protected from a scoped context
OpenStack Keystone EC2 and/or credential endpoints are not protected from a scoped context
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.
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-12689: An issue was discovered in OpenStack Keystone before 15
osv·2020-05-07·CVSS 8.8
CVE-2020-12689 [HIGH] CVE-2020-12689: 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 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.
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: EC2 and credential endpoints are not protected from a scoped context
vendor_redhat·2020-05-06·CVSS 8.8
CVE-2020-12689 [HIGH] CWE-863 openstack-keystone: EC2 and credential endpoints are not protected from a scoped context
openstack-keystone: EC2 and credential endpoints are not protected from a scoped context
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.
A vulnerability was found in Keystone's EC2 credentials API. This flaw allows any user authenticated within a limited scope (trust/OAuth/application credential) to create an EC2 credential with escalated permissions, for example, obtaining an "admin" ro
Debian
CVE-2020-12689: keystone - An issue was discovered in OpenStack Keystone before 15.0.1, and 16.0.0. Any use...
vendor_debian·2020·CVSS 8.8
CVE-2020-12689 [HIGH] CVE-2020-12689: keystone - An issue was discovered in OpenStack Keystone before 15.0.1, and 16.0.0. Any use...
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.
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-12689 openstack-keystone: EC2 and credential endpoints are not protected from a scoped context [openstack-rdo]
bugzilla·2020-05-06·CVSS 8.8
CVE-2020-12689 [HIGH] CVE-2020-12689 openstack-keystone: EC2 and credential endpoints are not protected from a scoped context [openstack-rdo]
CVE-2020-12689 openstack-keystone: EC2 and credential endpoints are not protected from a scoped context [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 commit message.
Discus
Bugzilla
CVE-2020-12689 openstack-keystone: EC2 and credential endpoints are not protected from a scoped context
bugzilla·2020-05-01·CVSS 8.8
CVE-2020-12689 [HIGH] CVE-2020-12689 openstack-keystone: EC2 and credential endpoints are not protected from a scoped context
CVE-2020-12689 openstack-keystone: EC2 and credential endpoints are not protected from a scoped context
A vulnerability was found Keystone's EC2 credentials API. 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.
Discussion:
Created attachment 1683826
propossed patch
Created attachment 1683826 [details]
0001-Respect-token-roles-when-creating-EC2-credentials.patch-master
---
References:
https://launchpad.net/bugs/1872735
---
Created openstack-keystone tracking bugs for this issue:
Affects: openstack-rdo [bug 1832399]
---
External References:
https://security.openstack.org/ossa/OSSA-2020-004.html
---
Acknowledgments:
http://www.openwall.com/lists/oss-security/2020/05/07/2https://bugs.launchpad.net/keystone/+bug/1872735https://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/1872735https://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