Bug 910928 (CVE-2013-0282)

Summary: CVE-2013-0282 OpenStack Keystone: EC2-style authentication accepts disabled user/tenants
Product: [Other] Security Response Reporter: Kurt Seifried <kseifried>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: apevec, ayoung, cpelland, markmc, rbryant, security-response-team
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-04-03 18:31:42 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 912512, 912826, 912827    
Bug Blocks: 910930, 916494    
Attachments:
Description Flags
keystone-ensure-user-tenant-enabled-ec2.essex.201302121030-CVE-2013-0282.txt
none
keystone-ensure-user-tenant-enabled-ec2.folsom.201302121030-CVE-2013-0282.txt
none
keystone-validate-auth-info.grizzly.201302121030-CVE-2013-0282.txt none

Description Kurt Seifried 2013-02-13 21:47:05 UTC
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.

Comment 1 Kurt Seifried 2013-02-14 18:36:47 UTC
Created attachment 697333 [details]
keystone-ensure-user-tenant-enabled-ec2.essex.201302121030-CVE-2013-0282.txt

Comment 2 Kurt Seifried 2013-02-14 18:37:21 UTC
Created attachment 697334 [details]
keystone-ensure-user-tenant-enabled-ec2.folsom.201302121030-CVE-2013-0282.txt

Comment 3 Kurt Seifried 2013-02-14 18:37:35 UTC
Created attachment 697335 [details]
keystone-validate-auth-info.grizzly.201302121030-CVE-2013-0282.txt

Comment 4 Murray McAllister 2013-02-17 09:08:05 UTC
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.

Comment 6 Vincent Danen 2013-02-19 19:06:10 UTC
External References:

http://lists.openstack.org/pipermail/openstack-announce/2013-February/000079.html

Comment 7 Vincent Danen 2013-02-19 19:09:44 UTC
Created openstack-keystone tracking bugs for this issue

Affects: fedora-all [bug 912826]
Affects: epel-6 [bug 912827]

Comment 8 Fedora Update System 2013-03-04 22:38:58 UTC
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.

Comment 9 errata-xmlrpc 2013-03-05 21:01:51 UTC
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

Comment 10 Fedora Update System 2013-03-28 18:38:50 UTC
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.