ESB-2017.2115.2 - UPDATE [Win][UNIX/Linux][FreeBSD] SaltStack: Multiple vulnerabilities 2017-11-24

Printable version
PGP/GPG verifiable version

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                              ESB-2017.2115.2
         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)
                   Windows
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: 
   http://www.vuxml.org/freebsd/3531141d-a708-477c-954a-2a0549e49ca9.html
   http://www.vuxml.org/freebsd/50127e44-7b88-4ade-8e12-5d57320823f1.html

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
Collection

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

Details

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
    (julian@0x4a42.net)

References

CVE     CVE-2017-14695
Name
CVE     CVE-2017-14696
Name
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/
        5f8b5e1a0f23fe0f2be5b3c3e04199b57a53db5b
URL     https://github.com/saltstack/salt/commit/
        80d90307b07b3703428ecbb7c8bb468e28a9ae6d

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

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

Details

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

References

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:

        https://www.auscert.org.au/bulletins/

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
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.
===========================================================================
-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967

iQIVAwUBWhdw9ox+lLeg9Ub1AQg4VQ/9FBuF5JUZn0m4JTaA9If0dwzZAmOywBTM
3r4SdUUiChvgAYOLi6hEedMAYdiBgzi3Rne56dSY6+iZvH+JmztMXnYSw+UFooX8
Z1sUfLKFLvfpUvAMJ4CDnzzY8thz+BcxTPtyObxgJXz8djoWy5nvIUJkNmUlTbK9
Zn8v5PMLI6TDU5fNfVdvOEdbZKXqUjgmlcdNmtCp3iXY68MQx7CZc8HLIGL19IQ2
xtgLM12kvIBUM8peEMif72BLTqeqpgfV7d7dh7tZQpbZ2V800bYbuXkAge3EMDOt
hhUClimx3LV89i4Cczpl5e7POkaO+01XfqntnhP5Ek8OKiA0vnTI/t1QKpgY5m7l
N/Jfv3zRiGCv0DzGd9U2oloZFu3Fp78qQ8f65s50fkwYebS0LotzgOvqJJMsLTtz
yPxySy7cfQVTy4FUtRreAi8lExjrPLh38pfIwoRYHHqRXdxz8UKR0X+GWx+SRheG
q3+dGk13vUnsQtExGAj04hsaFDlQhuxE/KZlLEWrPDBAOE3TyWQWFzVGReB1sTeI
VAdGgMsp7tnwaaSyzcIqS5sHbYZLbtt+P6VJeoJC/oy/5FRDDUQ+w/ZR1eQFc8Xp
7Wl8LFNMbs6hwjIU5Jw+nkVPeGG02aItKmTDZ7KQYUqQuMWgxKscVrTVJC7/a54y
+INbw5STb5U=
=F01z
-----END PGP SIGNATURE-----

« Back to bulletins