ADVISORIES

GitHub Advisory Database

GHSA-4427-7f3w-mqv6

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

Details

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 packages

EcosystemPackageAffected versions
PyPIkeystone
All versions before 15.0.1 (fixed in 15.0.1)
PyPIkeystone
From 16.0.0 before 16.0.1 (fixed in 16.0.1)

References