Hash: SHA256

             AUSCERT External Security Bulletin Redistribution

               K40378764:F5 tmsh vulnerability CVE-2019-6642
                             28 November 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: 

Revision History:  November  28 2019: v15.x branch now fixed with
                   September 25 2019: Updated affected versions including
                                      a fix for the 14.x branch
                   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

Original Publication Date: 28 Jun, 2019
Latest   Publication Date: 27 Nov, 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)


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

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, point 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 -  |  |          |      |          |
|                   |      |15.0.1    |          |          |      |          |
|                   +------+----------+----------+          |      |          |
|BIG-IP (LTM, AAM,  |14.x  |14.0.0 -  |  |          |      |          |
|AFM, Analytics,    |      |14.1.2    |  |          |      |          |
|APM, ASM, DNS, Edge+------+----------+----------+          |      |          |
|Gateway, FPS, GTM, |13.x  |13.0.0 -  |13.1.3    |High      |7.8   |tmsh bash |
|Link Controller,   |      |13.1.2    |          |          |      |          |
|PEM,               +------+----------+----------+          |      |          |
|WebAccelerator)    |12.x  |12.1.0 -  |12.1.5    |          |      |          |
|                   |      |12.1.4    |          |          |      |          |
|                   +------+----------+----------+          |      |          |
|                   |11.x  |11.5.2 -  |  |          |      |          |
|                   |      |11.6.5    |          |          |      |          |
|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.


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


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:


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