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 external_oauth2_token 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 external_oauth2_token middleware are affected.
This attack-focused weakness is caused by incorrectly implemented authentication schemes that are subject to spoofing attacks.
| Name | Vendor | Start Version | End Version |
|---|---|---|---|
| Red Hat OpenShift Container Platform 4.2 | RedHat | openshift4/ose-ironic-rhel9:sha256:a000a2a94ba6f3c2698171f1cbb4d6976fd241de64857aa74bc5783301ba5165 | * |
| Red Hat OpenShift Container Platform 4.21 | RedHat | openshift4/ose-ironic-rhel9:sha256:1d1766c76d70f3378b45f9065e5576251f3fee3d56ee379a9c55af86e1e70c44 | * |
| Python-keystonemiddleware | Ubuntu | devel | * |
| Python-keystonemiddleware | Ubuntu | noble | * |
| Python-keystonemiddleware | Ubuntu | questing | * |
| Python-keystonemiddleware | Ubuntu | upstream | * |