REDHAT-BUG-2430879: High severity pypi/keystonemiddleware vulnerability
An issue was discovered in OpenStack keystonemiddleware 10.5 through 10.7 before 10.7.2, 10.8 and 10.9 before 10.9.1, and 10.10 through 10.12 before 10.12.1. The externaloauth2token middleware fails to sanitize incoming authentication headers before processing OAuth 2.0 tokens. By sending forged identity headers such as X-Is-Admin-Project, X-Roles, or X-User-Id, an authenticated attacker may escalate privileges or impersonate other users. All deployments using the externaloauth2token middleware are affected.
Affected Software
Event History
Frequently Asked Questions
Which deployments are exposed?
All deployments using the external_oauth2_token middleware are affected. Deployments not using that middleware are not identified as affected by the available information.
What does an attacker need to exploit this issue?
The attacker must be authenticated and able to send forged identity headers with an OAuth 2.0 token request. Headers named in the report include X-Is-Admin-Project, X-Roles, and X-User-Id.
What could successful exploitation allow?
An authenticated attacker may escalate privileges or impersonate other users by supplying forged identity headers that are processed without sanitization.
Which versions contain fixes?
The issue is fixed in 10.7.2, 10.9.1, and 10.12.1. Affected version ranges are 10.5 through 10.7 before 10.7.2, 10.8 and 10.9 before 10.9.1, and 10.10 through 10.12 before 10.12.1.