GHSA-4427-7f3w-mqv6

Suggest an improvement
Source
https://github.com/advisories/GHSA-4427-7f3w-mqv6
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-4427-7f3w-mqv6/GHSA-4427-7f3w-mqv6.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-4427-7f3w-mqv6
Aliases
Published
2022-05-24T17:17:23Z
Modified
2024-04-29T10:43:29.243088Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
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.

References

Affected packages

PyPI / keystone

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
15.0.1

Affected versions

12.*

12.0.2
12.0.3

13.*

13.0.2
13.0.3
13.0.4

14.*

14.0.0
14.0.1
14.1.0
14.2.0

15.*

15.0.0.0rc1
15.0.0.0rc2
15.0.0

PyPI / keystone

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
16.0.0
Fixed
16.0.1

Affected versions

16.*

16.0.0