OpenStack Keystone Essex before 2012.1.2 and Folsom before folsom-3 does not properly handle authorization tokens for disabled tenants, which allows remote authenticated users to access the tenant's resources by requesting a token for the tenant.
Jason Xu (yinyangxu) discovered several vulnerabilities in OpenStack Keystone token verification:
The first occurs in the API /v2.0/OS-KSADM/services and /v2.0/OS-KSADM/services/{serviceid}, the second occurs in /v2.0/tenants/{tenantid}/users/{userid}/roles
In both cases the OpenStack Keystone code fails to check if the tokens are valid. These issues have been addressed by adding checks in the form of testservicecrudrequiresauth() and testuserrolelistrequiresauth().
External references: https://bugs.launchpad.net/keystone/+bug/1006822 https://bugs.launchpad.net/keystone/+bug/1006815