Bug 1135361 (CVE-2014-3563)

Summary: CVE-2014-3563 salt: insecure tmp file creation in seed.py, salt-ssh, and salt-cloud
Product: [Other] Security Response Reporter: David Jorm <djorm>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: jrusnack, mjc, weli
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: 2014-09-09 03:44:01 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:    
Bug Blocks: 1132768    

Description David Jorm 2014-08-29 07:08:24 UTC
It was found that seed.py, salt-ssh and salt-cloud read files from predictable file names in /tmp. The contents of these files were then used as input to other processes, or directly executed. A local attacker could overwrite these files with malicious versions before they are read by salt, potentially leading to a variety of impacts, including code execution. If salt is running as root (which is the default), code execution as root may be possible.

Comment 1 David Jorm 2014-08-29 07:12:59 UTC
Statement:

Inktank Ceph Enterprise 1.2 only receives qualified Important and Critical impact security fixes. This issue has been rated as having Moderate security impact and is not currently planned to be addressed in future updates. For additional information, refer to the Inktank Ceph Enterprise Support Matrix: http://www.inktank.com/enterprise/support/

Comment 3 Kurt Seifried 2014-09-02 19:52:17 UTC
Upstream has released an updated version:

Salt 2014.1.10 fixes security issues documented by CVE-2014-3563: "Insecure tmp-file creation in seed.py, salt-ssh, and salt-cloud." Upgrading is recommended.

External References:

http://docs.saltstack.com/en/latest/topics/releases/2014.1.10.html
https://github.com/saltstack/salt/releases/tag/v2014.1.10