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

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

                              ESB-2019.2329.2
               K40378764:F5 tmsh vulnerability CVE-2019-6642
                              12 August 2019

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:           F5 products
Publisher:         F5 Networks
Operating System:  Network Appliance
Impact/Access:     Root Compromise -- Existing Account
Resolution:        Mitigation
CVE Names:         CVE-2019-6642  

Original Bulletin: 
   https://support.f5.com/csp/article/K40378764

Revision History:  August 12 2019: Vendor advises that fixes are available
                                   for some versions
                   June   28 2019: Initial Release

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

K40378764:F5 tmsh vulnerability CVE-2019-6642

Security Advisory

Original Publication Date: 28 Jun, 2019

Latest   Publication Date: 10 Aug, 2019

Security Advisory Description

Authenticated users with the ability to upload files (via scp, for example) can
escalate their privileges to allow root shell access from within the TMOS Shell
(tmsh) interface. The tmsh interface allows users to execute a secondary
program via tools like sftp or scp. (CVE-2019-6642)

Impact

BIG-IP, BIG-IQ, F5 iWorkflow, and Enterprise Manager
The affected systems are incidentally protected against direct access to the
Advanced Shell (bash), however, users who can upload an executable file (or
script) can bypass this protection.

Traffix SDC
There is no impact for this product as it is not affected by this
vulnerability.

Security Advisory Status

F5 Product Development has assigned ID 771873 (BIG-IP) and ID 772713 (BIG-IQ,
F5 iWorkflow, and Enterprise Manager) to this vulnerability.

To determine if your product and version have been evaluated for this
vulnerability, refer to the Applies to (see versions) box. To determine if your
release is known to be vulnerable, the components or features that are affected
by the vulnerability, and for information about releases or hotfixes that
address the vulnerability, refer to the following table. For more information
about security advisory versioning, refer to K51812227: Understanding Security
Advisory versioning.

+-------------------+------+----------+----------+----------+------+----------+
|                   |      |Versions  |Fixes     |          |CVSSv3|Vulnerable|
|Product            |Branch|known to  |introduced|Severity  |score^|component |
|                   |      |be        |in        |          |1     |or feature|
|                   |      |vulnerable|          |          |      |          |
+-------------------+------+----------+----------+----------+------+----------+
|                   |15.x  |15.0.0    |None      |          |      |          |
|                   +------+----------+----------+          |      |          |
|                   |14.x  |14.0.0 -  |None      |          |      |          |
|BIG-IP (LTM, AAM,  |      |14.1.0    |          |          |      |          |
|AFM, Analytics,    +------+----------+----------+          |      |          |
|APM, ASM, DNS, Edge|13.x  |13.0.0 -  |13.1.3    |          |      |          |
|Gateway, FPS, GTM, |      |13.1.1    |          |High      |7.8   |tmsh bash |
|Link Controller,   +------+----------+----------+          |      |          |
|PEM,               |12.x  |12.1.0 -  |12.1.5    |          |      |          |
|WebAccelerator)    |      |12.1.4    |          |          |      |          |
|                   +------+----------+----------+          |      |          |
|                   |11.x  |11.5.2 -  |None      |          |      |          |
|                   |      |11.6.4    |          |          |      |          |
+-------------------+------+----------+----------+----------+------+----------+
|Enterprise Manager |3.x   |3.1.1     |None      |High      |7.8   |tmsh bash |
+-------------------+------+----------+----------+----------+------+----------+
|                   |6.x   |6.0.0 -   |None      |          |      |          |
|BIG-IQ Centralized |      |6.1.0     |          |          |      |          |
|Management         +------+----------+----------+High      |7.8   |tmsh bash |
|                   |5.x   |5.1.0 -   |None      |          |      |          |
|                   |      |5.4.0     |          |          |      |          |
+-------------------+------+----------+----------+----------+------+----------+
|F5 iWorkflow       |2.x   |2.3.0     |None      |High      |7.8   |tmsh bash |
+-------------------+------+----------+----------+----------+------+----------+
|Traffix SDC        |5.x   |None      |Not       |Not       |None  |None      |
|                   |      |          |applicable|vulnerable|      |          |
+-------------------+------+----------+----------+----------+------+----------+

^1The CVSSv3 score link takes you to a resource outside of AskF5, and it is
possible that the document may be removed without our knowledge.

Security Advisory Recommended Actions

If you are running a version listed in the Versions known to be vulnerable
column, you can eliminate this vulnerability by upgrading to a version listed
in the Fixes introduced in column. If the table lists only an older version
than what you are currently running, or does not list a non-vulnerable version,
then no upgrade candidate currently exists.

Mitigation

To mitigate this vulnerability, you can disable the TMOS Shell (tmsh) access on
all user accounts associated with the Resource Administrator role. For more
information about disabling tmsh access, refer to K12029: Accessing the TMOS
Shell.

Acknowledgements

F5 would like to acknowledge Lukasz Juszczyk and Robert Podsiadlo of ING Tech
Poland for bringing this issue to our attention, and for following the highest
standards of responsible disclosure.

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

iQIVAwUBXVCvSGaOgq3Tt24GAQgCsRAAofFhRTAE/RioVNmvYiOeHYkctWscajO4
oFyRaXyTcksp5BFucCZNs6KALor0wk0zECyjPbHqhWf2Tyopu5Mi9mX4oqP+O9eS
xjCJZNotG7r0Nuy5x9qO48UtDDdE9xj1nwutYqYzXlnVgR1BGrdGeS+aY9j1l7MH
e17YKjalJofNXD9eNKuZq5vfnTEpMgRnnPV9mKyAYAk04QRVJBa7y8R9N8gj//xh
IgXHF4ai+APmsPKnzeFSXta6p1WFtfpCZrLqBE8+cxYXIU5Z7JQXRZ3Am7hRbdeq
q+WxvkVazrFG6aXyAFw+bU8y72ucl8giYdpI7adDk7Z+vrjPdeip9x4vrDZogHh7
Uu+xJMtHmBIyax7LvlKAXyCh+FZaqLSCsa8TqDlVnWop3XE4twmiQ2HgB42tESYD
HeWqy0cy9sr4TOlUUpv+cjWOeZF2O4HtDrrAkzu1U6rvfX74kHwWARqa8cRG1xG3
AqgLCufIImj80PeyuA9z0GSl9wZtSFU+n1cdmJoIDW6mDrAO9CTwVzA+YWNMTc8W
kHK8UtiC2hMZZ5pwS+wM2AtHYyvnkM059LxUTHjHnTus3RI0ZC+/cv4nk7z0jLFS
/VnfFUt4g5sJo1KC74EEbnCry/fyzzJkQgeaLNKtjI3o8ibGuaMgEYBR+V+6mAha
sjyGgarogN4=
=RDBf
-----END PGP SIGNATURE-----