Bug 1450302 (CVE-2016-7404)

Summary: CVE-2016-7404 openstack-magnum: Magnum created instances have full API access to creating user's OpenStack account
Product: [Other] Security Response Reporter: Andrej Nemec <anemec>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: aortega, apevec, ayoung, chrisw, cvsbot-xmlrpc, jjoyce, jschluet, kbasil, lhh, lpeer, markmc, rbryant, sclewis, tdecacqu
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-05-24 05:48:15 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: 1455030    
Bug Blocks: 1450303    

Description Andrej Nemec 2017-05-12 08:27:51 UTC
Multiple potential vulnerabilities were found in openstack-magnum.

* Permissions for /etc/sysconfig/heat-params inside Magnum created instances were 0755
* The cluster's Keystone trust id was passed into instances for clusters where it was not needed.
* Clusters that need trust_id to be passed into instances to work could be created.

Upstream patch:

https://git.openstack.org/cgit/openstack/magnum/commit/?id=0bb0d6486d6771ee21bbf897a091b1aa59e01b22

Comment 1 Summer Long 2017-05-24 05:48:15 UTC
Fixed in magnum 3.2.0- https://docs.openstack.org/releasenotes/magnum/newton.html

Comment 2 Summer Long 2017-05-24 05:50:12 UTC
Created openstack-magnum tracking bugs for this issue:

Affects: openstack-rdo [bug 1455030]