Bug 1084868 (CVE-2014-0167)

Summary: CVE-2014-0167 openstack-nova: RBAC policy not properly enforced in Nova EC2 API
Product: [Other] Security Response Reporter: Garth Mollett <gmollett>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: abaron, aortega, apevec, ayoung, chrisw, gkotton, jrusnack, lhh, markmc, mmcallis, ndipanov, rbryant, sclewis, security-response-team, yeylon
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
It was found that RBAC policies were not enforced in certain methods of the OpenStack Compute EC2 (Amazon Elastic Compute Cloud) API. A remote attacker could use this flaw to escalate their privileges beyond the user group they were originally restricted to. Note that only certain setups using non-default RBAC rules for OpenStack Compute were affected.
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-21 05:00:19 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: 1086265, 1086266, 1120316    
Bug Blocks: 1084871, 1112500    

Description Garth Mollett 2014-04-07 05:40:50 UTC
Tristan Cacqueray reports:

Title: RBAC policy not properly enforced in Nova EC2 API
Reporter: Marc Heckmann (Ubisoft)
Products: Nova
Versions: 2013.1 versions up to 2013.2.3

Description:
Marc Heckmann from Ubisoft reported a vulnerability in the Nova EC2 API
security group implementation. RBAC policies are not enforced when using
the EC2 API, in particular the add_rules, remove_rules and destroy
methods. A restricted user may overcome his limitation by using EC2 API
resulting in unauthorized action on security groups. Only setups using
non-default RBAC rules for Nova may be affected.

Comment 1 Murray McAllister 2014-04-10 13:36:28 UTC
Acknowledgements:

Red Hat would like to thank the Openstack Project for reporting this issue. Upstream acknowledges Marc Heckmann of Ubisoft as the original reporter.

Comment 2 Murray McAllister 2014-04-10 13:39:05 UTC
This issue is public now:

http://www.openwall.com/lists/oss-security/2014/04/09/26

Comment 4 Murray McAllister 2014-04-10 13:40:27 UTC
Created openstack-nova tracking bugs for this issue:

Affects: fedora-all [bug 1086265]

Comment 5 Fedora Update System 2014-07-12 02:22:24 UTC
openstack-nova-2013.2.3-2.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Martin Prpič 2014-08-15 07:07:06 UTC
IssueDescription:

It was found that RBAC policies were not enforced in certain methods of the OpenStack Compute EC2 (Amazon Elastic Compute Cloud) API. A remote attacker could use this flaw to escalate their privileges beyond the user group they were originally restricted to. Note that only certain setups using non-default RBAC rules for OpenStack Compute were affected.

Comment 8 errata-xmlrpc 2014-08-21 00:40:03 UTC
This issue has been addressed in following products:

  OpenStack 4 for RHEL 6

Via RHSA-2014:1084 https://rhn.redhat.com/errata/RHSA-2014-1084.html