Hash: SHA256

             AUSCERT External Security Bulletin Redistribution

          salt -- multiple vulnerabilities in salt-master process
                                18 May 2020


        AusCERT Security Bulletin Summary

Product:           salt
Publisher:         FreeBSD
Operating System:  FreeBSD
Impact/Access:     Root Compromise                 -- Remote/Unauthenticated
                   Execute Arbitrary Code/Commands -- Remote/Unauthenticated
                   Access Confidential Data        -- Remote/Unauthenticated
                   Unauthorised Access             -- Remote/Unauthenticated
Resolution:        Patch/Upgrade
CVE Names:         CVE-2020-11652 CVE-2020-11651 

Reference:         ESB-2020.1607.2

Original Bulletin: 

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

salt -- multiple vulnerabilities in salt-master process

Affected packages
        py27-salt < 2019.2.4
3000 <= py27-salt < 3000.2
        py32-salt < 2019.2.4
3000 <= py32-salt < 3000.2
        py33-salt < 2019.2.4
3000 <= py33-salt < 3000.2
        py34-salt < 2019.2.4
3000 <= py34-salt < 3000.2
        py35-salt < 2019.2.4
3000 <= py35-salt < 3000.2
        py36-salt < 2019.2.4
3000 <= py36-salt < 3000.2
        py37-salt < 2019.2.4
3000 <= py37-salt < 3000.2
        py38-salt < 2019.2.4
3000 <= py38-salt < 3000.2


VuXML ID  6bf55af9-973b-11ea-9f2c-38d547003487
Discovery 2020-04-30
Entry     2020-05-16

F-Secure reports:

    CVE-2020-11651 - Authentication bypass vulnerabilities

    The ClearFuncs class processes unauthenticated requests and unintentionally
    exposes the _send_pub() method, which can be used to queue messages
    directly on the master publish server. Such messages can be used to trigger
    minions to run arbitrary commands as root.

    The ClearFuncs class also exposes the method _prep_auth_info(), which
    returns the "root key" used to authenticate commands from the local root
    user on the master server. This "root key" can then be used to remotely
    call administrative commands on the master server. This unintentional
    exposure provides a remote un-authenticated attacker with root-equivalent
    access to the salt master.

    CVE-2020-11652 - Directory traversal vulnerabilities

    The wheel module contains commands used to read and write files under
    specific directory paths. The inputs to these functions are concatenated
    with the target directory and the resulting path is not canonicalized,
    leading to an escape of the intended path restriction.

    The get_token() method of the salt.tokens.localfs class (which is exposed
    to unauthenticated requests by the ClearFuncs class) fails to sanitize the
    token input parameter which is then used as a filename, allowing insertion
    of ".." path elements and thus reading of files outside of the intended
    directory. The only restriction is that the file has to be deserializable
    by salt.payload.Serial.loads().



CVE  CVE-2020-11651
CVE  CVE-2020-11652
URL  https://blog.f-secure.com/
URL  https://docs.saltstack.com/en/latest/topics/releases/2019.2.4.html
URL  https://labs.f-secure.com/advisories/saltstack-authorization-bypass
URL  https://nvd.nist.gov/vuln/detail/CVE-2020-11651
URL  https://nvd.nist.gov/vuln/detail/CVE-2020-11652
URL  https://www.tenable.com/blog/

- --------------------------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