Bug 1482006 (CVE-2017-12791)

Summary: CVE-2017-12791 salt: Directory traversal vulnerability on salt-master via crafted minion IDs
Product: [Other] Security Response Reporter: Adam Mariš <amaris>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: andrewniemants, erik, jeff, sisharma
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: salt 2016.3.7, salt 2016.11.7, salt 2017.7.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-09-06 11:15:54 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 1482007, 1482008    
Bug Blocks: 1482011    

Description Adam Mariš 2017-08-16 09:20:04 UTC
A flaw in minion id validation was found which could allow certain minions to authenticate to a master despite not having the correct credentials. To exploit the vulnerability, an attacker must create a salt-minion with an ID containing characters that will cause a directory traversal.

External References:

https://docs.saltstack.com/en/2016.11/topics/releases/2016.11.7.html

Comment 1 Adam Mariš 2017-08-16 09:20:30 UTC
Created salt tracking bugs for this issue:

Affects: epel-all [bug 1482007]
Affects: fedora-all [bug 1482008]