Russell Bryant (rbryant) reports: Title: Keystone EC2-style authentication accepts disabled user/tenants Reporter: Nathanael Burton (National Security Agency) Products: Keystone Affects: All versions Description: Nathanael Burton reported a vulnerability in EC2-style authentication in Keystone. Keystone fails to check whether a user, tenant, or domain is enabled before authenticating a user using the EC2 api. Authenticated, but disabled users (or authenticated users in disabled tenants or domains) could therefore retain access rights that were thought removed. Only setups enabling EC2-style authentication are affected. To disable EC2-style authentication to work around the issue, remove the EC2 extension (keystone.contrib.ec2:Ec2Extension.factory) from the keystone API pipeline in keystone.conf. Proposed patches: See attached patches. Unless a flaw is discovered in them, these patches will be merged to Keystone master (Grizzly), stable/folsom, and stable/essex branches on the public disclosure date.
Created attachment 697333 [details] keystone-ensure-user-tenant-enabled-ec2.essex.201302121030-CVE-2013-0282.txt
Created attachment 697334 [details] keystone-ensure-user-tenant-enabled-ec2.folsom.201302121030-CVE-2013-0282.txt
Created attachment 697335 [details] keystone-validate-auth-info.grizzly.201302121030-CVE-2013-0282.txt
Acknowledgements: Red Hat would like to thank the OpenStack project for reporting this issue. Upstream acknowledges Nathanael Burton (National Security Agency) as the original reporter.
External References: http://lists.openstack.org/pipermail/openstack-announce/2013-February/000079.html
Created openstack-keystone tracking bugs for this issue Affects: fedora-all [bug 912826] Affects: epel-6 [bug 912827]
openstack-keystone-2012.2.3-3.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.
This issue has been addressed in following products: OpenStack Folsom for RHEL 6 Via RHSA-2013:0596 https://rhn.redhat.com/errata/RHSA-2013-0596.html
openstack-keystone-2012.2.3-4.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.