An issue was discovered in OpenStack Keystone before 29.0.2. POST /v3/credentials did not validate that the caller-supplied project_id for an EC2-type credential matched the project of the authenticating application credential. This allowed an attacker holding an unrestricted application credential for project A to create an EC2 credential targeting project B; a subsequent /v3/ec2tokens exchange would then issue a Keystone token scoped to project B while still carrying the original app_cred_id, enabling cross-project lateral movement within the credential owner's role footprint.
Attack Parameters
Impact Assessment
CVSS Vector v3.1
Weakness Type (CWE)
Vulnerable Products 3
| Configuration | From (including) | Up to (excluding) |
|---|---|---|
|
Openstack Keystone
cpe:2.3:a:openstack:keystone:*:*:*:*:*:*:*:*
|
14.0.0
|
27.0.2
|
|
Openstack Keystone
cpe:2.3:a:openstack:keystone:*:*:*:*:*:*:*:*
|
28.0.0
|
28.0.2
|
|
Openstack Keystone
cpe:2.3:a:openstack:keystone:*:*:*:*:*:*:*:*
|
29.0.0
|
29.0.2
|