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

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

                              ESB-2019.2329.3
               K40378764:F5 tmsh vulnerability CVE-2019-6642
                             25 September 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:  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

Security Advisory

Original Publication Date: 28 Jun, 2019

Latest   Publication Date: 25 Sep, 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, 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 -  |None      |          |      |          |
|                   |      |15.0.1    |          |          |      |          |
|                   +------+----------+----------+          |      |          |
|BIG-IP (LTM, AAM,  |14.x  |14.0.0 -  |14.1.2.1  |          |      |          |
|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 -  |None      |          |      |          |
|                   |      |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.

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

iQIVAwUBXYqnFWaOgq3Tt24GAQiMqg/9HN3ROLGIzZCWIIRVJMNrHJKzlxYRaVFJ
uDtiGoqCGjhCEflwTtztqepoYg3d8S3es8Qfmw2Kx+EK0TWsoNk0Bpn3Kb5gfpTy
dulfI3UAHPATCali1ts+ovsVrO4RjHGnUkTn/8moBHKbMnkLTQ3BgY/FNuH4HUUv
afSPjwdB1Emn4VZTfIDVBtB7DNwjZAcaUsipgQrG/NEdkiz1eku+TJvCjAPChaeZ
qDwaVhPvKC8f5Y7M3FWdOCsgxZvh5W+v2j7jW5/0yla/mgqvLwdSlvpBjGAMjwva
WxSbAgh8qAHO0t+3GMElVoIlJhXcdvbgxsAy5mTNrPA1cUgIXRgOZz8RyEMwl4qL
khITxm8CTA9N4ppC7b80Awt47rSylf/Ps5GAbbpY3QKBIc0idtcgD+BRHrEY3zmP
Idn9vzqvuu5REy5eWo0patLS+TO67IsK8Y5PSeoV/z4N0qb5vBCZVADgrZno9dZB
Ajn+eQn+og3De8lPaJET3uuiIon58CS4h/Qq/YdODEE66YZpy5ekLltIT4rh0r/w
QITOLqsEVPveQQZqjOEHb3/Fjg91OGNUcV4kEgquDwmlYYoHJ1s+nr0EUg7nBtJD
LbIQUhfrLNAgbT0L4St9TvNVr5kUDArf8Gu/sWqf/9NXaS0p/+1wfCs0KAJEKCe1
NP+EOtUjkwc=
=LC/E
-----END PGP SIGNATURE-----