Bug 1477403 (CVE-2017-7549)

Summary: CVE-2017-7549 instack-undercloud: uses hardcoded /tmp paths
Product: [Other] Security Response Reporter: Summer Long <slong>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: agurenko, aortega, apevec, aschultz, chrisw, cvsbot-xmlrpc, emacchi, gmollett, jjoyce, jschluet, jslagle, kbasil, lhh, lpeer, markmc, mburns, rbryant, rhel-osp-director-maint, sclewis, security-response-team, slinaber, 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:
A flaw was found in instack-undercloud where pre-install and security policy scripts used insecure temporary files. A local user could exploit this flaw to conduct a symbolic-link attack, allowing them to overwrite the contents of arbitrary files.
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-14 01:16:02 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: 1477414, 1477415, 1477416, 1477417, 1477418, 1477419, 1477420, 1481447    
Bug Blocks: 1470192    

Description Summer Long 2017-08-02 01:44:45 UTC
Description of problem:
* /usr/share/instack-undercloud/ipxe/post-install.d/86-selinux uses: /tmp/ipxe.mod
  to compile the selinux policy
* isolated-build/pre-install.d/00-disable-external-installs uses /tmp/yum-blacklist (all versions)

Comment 1 Summer Long 2017-08-02 01:44:56 UTC
Acknowledgments:

Name: Matthew Booth (Red Hat)

Comment 6 Summer Long 2017-08-14 22:02:20 UTC
Created instack-undercloud tracking bugs for this issue:

Affects: openstack-rdo [bug 1481447]

Comment 7 errata-xmlrpc 2017-08-30 13:48:30 UTC
This issue has been addressed in the following products:

  Red Hat OpenStack Platform 9.0 (Mitaka) director

Via RHSA-2017:2557 https://access.redhat.com/errata/RHSA-2017:2557

Comment 8 errata-xmlrpc 2017-09-06 17:04:03 UTC
This issue has been addressed in the following products:

  Red Hat OpenStack Platform 10.0 (Newton)

Via RHSA-2017:2649 https://access.redhat.com/errata/RHSA-2017:2649

Comment 9 errata-xmlrpc 2017-09-12 16:58:49 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux OpenStack Platform director 7.0 for RHEL 7

Via RHSA-2017:2693 https://access.redhat.com/errata/RHSA-2017:2693

Comment 10 errata-xmlrpc 2017-09-12 17:11:22 UTC
This issue has been addressed in the following products:

  Red Hat OpenStack Platform 8.0 (Liberty) director

Via RHSA-2017:2687 https://access.redhat.com/errata/RHSA-2017:2687

Comment 11 errata-xmlrpc 2017-09-13 21:47:59 UTC
This issue has been addressed in the following products:

  Red Hat OpenStack Platform 11.0 (Ocata)

Via RHSA-2017:2726 https://access.redhat.com/errata/RHSA-2017:2726