Hash: SHA256

             AUSCERT External Security Bulletin Redistribution

         salt -- Maliciously crafted minion IDs can cause unwanted
                  directory traversals on the Salt-master
                             24 November 2017


        AusCERT Security Bulletin Summary

Product:           SaltStack
Publisher:         FreeBSD
Operating System:  FreeBSD
                   UNIX variants (UNIX, Linux, OSX)
Impact/Access:     Denial of Service        -- Remote/Unauthenticated
                   Access Confidential Data -- Remote/Unauthenticated
                   Unauthorised Access      -- Remote/Unauthenticated
Resolution:        Patch/Upgrade
CVE Names:         CVE-2017-14696 CVE-2017-14695 CVE-2017-12791

Original Bulletin: 

Comment: This advisory references vulnerabilities in products which run on 
         platforms other than FreeBSD. It is recommended that administrators
         running salt check for an updated version of the software for their
         operating system.

Revision History:  November 24 2017: Original fix introduced new vulnerabilities;
                                     these have been patched
                   August   23 2017: Initial Release

- --------------------------BEGIN INCLUDED TEXT--------------------

FreeBSD VuXML: Documenting security issues in FreeBSD and the FreeBSD Ports

salt -- multiple vulnerabilities

Affected packages
            py27-salt < 2016.11.8
2017.7.0 <= py27-salt < 2017.7.2
            py32-salt < 2016.11.8
2017.7.0 <= py32-salt < 2017.7.2
            py33-salt < 2016.11.8
2017.7.0 <= py33-salt < 2017.7.2
            py34-salt < 2016.11.8
2017.7.0 <= py34-salt < 2017.7.2
            py35-salt < 2016.11.8
2017.7.0 <= py35-salt < 2017.7.2
            py36-salt < 2016.11.8
2017.7.0 <= py36-salt < 2017.7.2


VuXML ID  50127e44-7b88-4ade-8e12-5d57320823f1
Discovery 2017-10-09
Entry     2017-11-23

SaltStack reports:

    Directory traversal vulnerability in minion id validation in SaltStack.
    Allows remote minions with incorrect credentials to authenticate to a
    master via a crafted minion ID. Credit for discovering the security flaw
    goes to: Julian Brost (julian@0x4a42.net). NOTE: this vulnerability exists
    because of an incomplete fix for CVE-2017-12791.

    Remote Denial of Service with a specially crafted authentication request.
    Credit for discovering the security flaw goes to: Julian Brost


CVE     CVE-2017-14695
CVE     CVE-2017-14696
URL     https://docs.saltstack.com/en/2016.11/topics/releases/2016.11.8.html
URL     https://docs.saltstack.com/en/latest/topics/releases/2017.7.2.html
URL     https://github.com/saltstack/salt/commit/
URL     https://github.com/saltstack/salt/commit/

- ------------------------------------------------------------

salt -- Maliciously crafted minion IDs can cause unwanted directory traversals
on the Salt-master

Affected packages

py27-salt < 2016.11.7

2017.7.0 <= py27-salt < 2017.7.1

py32-salt < 2016.11.7

2017.7.0 <= py32-salt < 2017.7.1

py33-salt < 2016.11.7

2017.7.0 <= py33-salt < 2017.7.1

py34-salt < 2016.11.7

2017.7.0 <= py34-salt < 2017.7.1

py35-salt < 2016.11.7

2017.7.0 <= py35-salt < 2017.7.1

py36-salt < 2016.11.7

2017.7.0 <= py36-salt < 2017.7.1


VuXML ID 3531141d-a708-477c-954a-2a0549e49ca9

Discovery 2017-08-16

Entry 2017-08-22

SaltStack reports:

Correct a flaw in minion id validation 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. Credit for 
discovering the security flaw goes to: Vernhk@qq.com


CVE Name CVE-2017-12791

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

URL https://docs.saltstack.com/en/latest/topics/releases/2017.7.1.html

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:


Australian Computer Emergency Response Team
The University of Queensland
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
Comment: http://www.auscert.org.au/render.html?it=1967