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

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

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

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

K40378764:F5 tmsh vulnerability CVE-2019-6642

Security Advisory

Original Publication Date: 28 Jun, 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 -  |None      |          |      |          |
|Gateway, FPS, GTM, |      |13.1.1    |          |High      |7.8   |tmsh bash |
|Link Controller,   +------+----------+----------+          |      |          |
|PEM,               |12.x  |12.1.0 -  |None      |          |      |          |
|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.

Supplemental Information

o K51812227: Understanding Security Advisory versioning
  o K41942608: Overview of Security Advisory articles
  o K4602: Overview of the F5 security vulnerability response policy
  o K4918: Overview of the F5 critical issue hotfix policy
  o K9502: BIG-IP hotfix and point release matrix
  o K13123: Managing BIG-IP product hotfixes (11.x - 15.x)
  o K15106: Managing BIG-IQ product hotfixes
  o K15113: BIG-IQ hotfix and point release matrix
  o K48955220: Installing an OPSWAT Endpoint Security update on BIG-IP APM
    systems (11.4.x and later)
  o K167: Downloading software and firmware from F5
  o K9970: Subscribing to email notifications regarding F5 products
  o K9957: Creating a custom RSS feed to view new and updated documents
  o K21232150: Considerations for upgrading BIG-IQ or F5 iWorkflow systems

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

iQIVAwUBXRVYCmaOgq3Tt24GAQjp0xAA3acg7jB0ZqZe5UKUCRoMkeVcy+Zi0fzj
7e2rVjxcHRwJBAWyKQYmvwQlCb3JfX2YOSm1CJh1ZWZZgHF1SjCi32pbwWoGZ3+L
Q5UHiWbqgrC+2BlGRuZmWakFQCbLrsSiwr4b8wZF/NIoF9X0BZaCGg38xj8mtGc5
d/m40I24MKMnJ6eTeeIBJeB2e0xWBuPtP43d8wO07WReO0BYDc5UL8LsXXOdXr9b
84lhVrFI18zI+A/Mbq9Ao+8S/ePjjdLsX5BuSL87ZEEC+M/xEo9JoThIZgdvJfim
3PeZEU0czlragoMA/fDPs1N5xtbHZkMQQ02lgSoe8qPTPzYRblsfIAHB+bvLZ9dO
I/9Mw06hIyAhVx/IDGascb4NA9uEE8oNlEAoj2G4dmikg05H+911jUMa0lNg8XqR
HGSwhShOO97kGenITbSW8Xo/6rK9LDeEi/202rvZE9InpQybfDk1vbIbYX3j9mlp
4gzB30Qw5S+Ehds5ZQ3hT77oXiTpzPNPbuDDWZ/ST5XgPVPV1tY4G8LiuKi4rEL5
OFb42eM4XWHo5Ge0nYt7cSdeKp04NIgySRpjCBTO07wd5IN4Q7aOb5XvBAbDUqVi
eq00xCNlstf0lY9yMXbGv0WwHG9W5N1Vrr64feolMSxJhk805o7aSlBqTM3/8CA8
BnFayW8Mj4Y=
=LwgV
-----END PGP SIGNATURE-----