An issue was discovered in OpenStack Keystone before 29.0.2.
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 27.0.2, 28.0.2, 29.0.2
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: partial
Summary
An issue was discovered in OpenStack Keystone before 29.0.2. The Keystone RBAC policy enforcer in enforce_call unconditionally merges the raw JSON request body into the policy enforcement dictionary via policy_dict.update(json_input.copy()), overwriting trusted target data that was previously set from database lookups. Because flask.request.get_json is called with force=True, this works regardless of Content-Type or HTTP method. Any authenticated user can inject arbitrary policy target attributes (e.g., user_id, project_id) into the request body to bypass RBAC checks and perform unauthorized operations on resources belonging to other users or projects. This was introduced in commit 5ea59f52 (Rocky/14.0.0).
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- OpenStack Keystone
From 14.0.0 · fixed in 27.0.2; From 28.0.0 · fixed in 28.0.2; From 29.0.0 · fixed in 29.0.2
- keystonePyPI
From 14.0.0 · fixed in 27.0.2; From 28.0.0 · fixed in 28.0.2; From 29.0.0 · fixed in 29.0.2
- keystonePyPI
From 14.0.0 · fixed in 27.0.2
- keystonePyPI
From 28.0.0 · fixed in 28.0.2
- keystonePyPI
From 29.0.0 · fixed in 29.0.2