ESB-2017.2793 - [Appliance] F5 Product: Execute arbitrary code/commands - Remote with user interaction 2017-11-02

Printable version
PGP/GPG verifiable version

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

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

                               ESB-2017.2793
                K22183127: Vim vulnerability CVE-2016-1248
                              2 November 2017

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

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

Product:           F5 Product
Publisher:         F5 Networks
Operating System:  Network Appliance
Impact/Access:     Execute Arbitrary Code/Commands -- Remote with User Interaction
Resolution:        Mitigation
CVE Names:         CVE-2016-1248  

Reference:         ESB-2017.2080
                   ESB-2017.0196
                   ESB-2016.3063
                   ESB-2016.2827
                   ESB-2016.2789

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

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

K22183127: Vim vulnerability CVE-2016-1248

Security Advisory

Original Publication Date: Mar 21, 2017
Updated Date: Nov 01, 2017

Applies to (see versions):

  o Product: BIG-IQ, BIG-IQ Cloud, BIG-IQ Device, BIG-IQ Security, BIG-IQ ADC,
    BIG-IQ Centralized Management
      5.3.0, 5.2.0, 5.1.0, 5.0.0, 4.6.0, 4.5.0, 4.4.0, 4.3.0, 4.2.0, 4.1.0,
      4.0.0
  o Product: BIG-IP, BIG-IP AAM, BIG-IP AFM, BIG-IP Analytics, BIG-IP APM,
    BIG-IP ASM, BIG-IP DNS, BIG-IP Edge Gateway, BIG-IP GTM, BIG-IP Link
    Controller, BIG-IP LTM, BIG-IP PEM, BIG-IP PSM, BIG-IP WebAccelerator
      13.0.0, 12.1.2, 12.1.1, 12.1.0, 12.0.0, 11.6.2, 11.6.1, 11.6.0, 11.5.5,
      11.5.4, 11.5.3, 11.5.2, 11.5.1, 11.5.0, 11.4.1, 11.4.0, 11.2.1
  o Product: Enterprise Manager
      3.1.1
  o Product: F5 iWorkflow
      2.3.0, 2.2.0, 2.1.0, 2.0.2, 2.0.1, 2.0.0
  o Product: LineRate
      2.6.2, 2.6.1, 2.6.0, 2.5.3, 2.5.2, 2.5.1, 2.5.0
  o Product: ARX, ARX
      6.4.0, 6.3.0, 6.2.0
  o Product: F5 WebSafe
      1.0.0
  o Product: Traffix SDC
      5.1.0, 4.4.0, 4.0.5, 4.0.2, 4.0.0
  o Product: BIG-IQ Cloud and Orchestration
      1.0.0

Security Advisory Description

vim before patch 8.0.0056 does not properly validate values for the 'filetype',
'syntax' and 'keymap' options, which may result in the execution of arbitrary
code if a file with a specially crafted modeline is opened. (CVE-2016-1248)

Impact

A local attacker may abuse this vulnerability, by way of a crafted file, to run
arbitrary commands with privileges of the user who is using vim with the 
modeline feature enabled. By default, the UID 0 is not exposed to this
vulnerability. In BIG-IP, Enterprise Manager, BIG-IQ, and iWorkflow systems,
the shell access is performed by way of UID 0, hence the vulnerability is not
exposed. However, this default setting may be overridden by way of the user
customizable .vimrc configuration file.

Security Advisory Status

F5 Product Development has assigned ID 635314 (BIG-IP), 651261 (Enterprise
Manager), 651287 (BIG-IQ), 651658 (iWorkflow) and CPF-23577 (Traffix) to this
vulnerability. Additionally, BIG-IP iHealth may list Heuristic H22183127 on the
Diagnostics > Identified > Low screen.

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:

+---------------+----------------+-----------------+----------+----------------+
|               |Versions known  |Versions known to|          |Vulnerable      |
|Product        |to be vulnerable|be not vulnerable|Severity  |component or    |
|               |                |                 |          |feature         |
+---------------+----------------+-----------------+----------+----------------+
|               |13.0.0          |                 |          |                |
|BIG-IP LTM     |12.0.0 - 12.1.2 |11.6.2           |Low       |Vim             |
|               |11.4.0 - 11.6.1 |                 |          |                |
|               |11.2.1          |                 |          |                |
+---------------+----------------+-----------------+----------+----------------+
|               |13.0.0          |                 |          |                |
|BIG-IP AAM     |12.0.0 - 12.1.2 |11.6.2           |Low       |Vim             |
|               |11.4.0 - 11.6.1 |                 |          |                |
+---------------+----------------+-----------------+----------+----------------+
|               |13.0.0          |                 |          |                |
|BIG-IP AFM     |12.0.0 - 12.1.2 |11.6.2           |Low       |Vim             |
|               |11.4.0 - 11.6.1 |                 |          |                |
+---------------+----------------+-----------------+----------+----------------+
|               |13.0.0          |                 |          |                |
|BIG-IP         |12.0.0 - 12.1.2 |11.6.2           |Low       |Vim             |
|Analytics      |11.4.0 - 11.6.1 |                 |          |                |
|               |11.2.1          |                 |          |                |
+---------------+----------------+-----------------+----------+----------------+
|               |13.0.0          |                 |          |                |
|BIG-IP APM     |12.0.0 - 12.1.2 |11.6.2           |Low       |Vim             |
|               |11.4.0 - 11.6.1 |                 |          |                |
|               |11.2.1          |                 |          |                |
+---------------+----------------+-----------------+----------+----------------+
|               |13.0.0          |                 |          |                |
|BIG-IP ASM     |12.0.0 - 12.1.2 |11.6.2           |Low       |Vim             |
|               |11.4.0 - 11.6.1 |                 |          |                |
|               |11.2.1          |                 |          |                |
+---------------+----------------+-----------------+----------+----------------+
|BIG-IP DNS     |13.0.0          |None             |Low       |Vim             |
|               |12.0.0 - 12.1.2 |                 |          |                |
+---------------+----------------+-----------------+----------+----------------+
|BIG-IP Edge    |11.2.1          |None             |Low       |Vim             |
|Gateway        |                |                 |          |                |
+---------------+----------------+-----------------+----------+----------------+
|BIG-IP GTM     |11.4.0 - 11.6.1 |11.6.2           |Low       |Vim             |
|               |11.2.1          |                 |          |                |
+---------------+----------------+-----------------+----------+----------------+
|               |13.0.0          |                 |          |                |
|BIG-IP Link    |12.0.0 - 12.1.2 |11.6.2           |Low       |Vim             |
|Controller     |11.4.0 - 11.6.1 |                 |          |                |
|               |11.2.1          |                 |          |                |
+---------------+----------------+-----------------+----------+----------------+
|               |13.0.0          |                 |          |                |
|BIG-IP PEM     |12.0.0 - 12.1.2 |11.6.2           |Low       |Vim             |
|               |11.4.0 - 11.6.1 |                 |          |                |
+---------------+----------------+-----------------+----------+----------------+
|BIG-IP PSM     |11.4.0 - 11.4.1 |None             |Low       |Vim             |
+---------------+----------------+-----------------+----------+----------------+
|BIG-IP         |11.2.1          |None             |Low       |Vim             |
|WebAccelerator |                |                 |          |                |
+---------------+----------------+-----------------+----------+----------------+
|               |13.0.0          |                 |          |                |
|BIG-IP WebSafe |12.0.0 - 12.1.2 |11.6.2           |Low       |Vim             |
|               |11.6.0 - 11.6.1 |                 |          |                |
+---------------+----------------+-----------------+----------+----------------+
|ARX            |None            |6.2.0 - 6.4.0    |Not       |None            |
|               |                |                 |vulnerable|                |
+---------------+----------------+-----------------+----------+----------------+
|Enterprise     |3.1.1           |None             |Low       |Vim             |
|Manager        |                |                 |          |                |
+---------------+----------------+-----------------+----------+----------------+
|BIG-IQ Cloud   |4.0.0 - 4.5.0   |                 |Low       |Vim             |
|               |                |None             |          |                |
+---------------+----------------+-----------------+----------+----------------+
|BIG-IQ Device  |4.2.0 - 4.5.0   |None             |Low       |Vim             |
+---------------+----------------+-----------------+----------+----------------+
|BIG-IQ Security|4.0.0 - 4.5.0   |None             |Low       |Vim             |
+---------------+----------------+-----------------+----------+----------------+
|BIG-IQ ADC     |4.5.0           |None             |Low       |Vim             |
+---------------+----------------+-----------------+----------+----------------+
|BIG-IQ         |5.0.0 - 5.3.0   |                 |          |                |
|Centralized    |4.6.0           |None             |Low       |Vim             |
|Management     |                |                 |          |                |
+---------------+----------------+-----------------+----------+----------------+
|BIG-IQ Cloud   |                |                 |          |                |
|and            |1.0.0           |None             |Low       |Vim             |
|Orchestration  |                |                 |          |                |
+---------------+----------------+-----------------+----------+----------------+
|F5 iWorkflow   |2.0.0 - 2.3.0   |None             |Low       |Vim             |
+---------------+----------------+-----------------+----------+----------------+
|LineRate       |None            |2.5.0 - 2.6.2    |Not       |None            |
|               |                |                 |vulnerable|                |
+---------------+----------------+-----------------+----------+----------------+
|Traffix SDC    |5.0.0 - 5.1.0   |None             |Medium    |Vim             |
|               |4.0.0 - 4.4.0   |                 |          |                |
+---------------+----------------+-----------------+----------+----------------+

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 Versions known to be not vulnerable 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 modeline on the .vimrc
configuration file if the file has been customized in the affected systems.

Supplemental Information

  o K9970: Subscribing to email notifications regarding F5 products
  o K9957: Creating a custom RSS feed to view new and updated documents
  o K4602: Overview of the F5 security vulnerability response policy
  o K4918: Overview of the F5 critical issue hotfix policy
  o K167: Downloading software and firmware from F5

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

iQIVAwUBWfq1Cox+lLeg9Ub1AQicOw//bXqew+cFSeDGN9u3hZ8Q7VhpIYtuZkVk
LZ0j8RhLU27htTZ1D1uddRbsAw7x4W62EBYppRaoyesXs+mE96ssDtxlpDpzUxVo
zDxf3EE/B7LhMzbkmESbTo6+GZH24iwW14+x1YLpqec+iWnMnnqsgntlewALCK4+
7zyVChsR4W3Z2Ih2iSY4fOzcYS0hKtxikzc0cBfuy2pkDgJ+WbH+ROY5fHXRyoYc
MmbQNfZHIvBbC2TS2gdGhWYoikKUOFqkWT+a7lESq+MWkXb3a/B+tXeAOayc4NG/
+hIbo69dAd5UPajx/jiT1bca97Y3pArHFIkic+zNeN02H+Bi2OImgDeulHNB0Sli
M33aHs3YmOUtIimjfoFpyKxe15yDSs+1qsaecuVBWmaliWVhdTq+sABTeORp9U5I
zVTukqU/YyXXivk5LAR76kTu/0ya3cXvSTKo4P5eTQFEZtD5DrPMI5NbkOwbVoFs
5IcOb9yGrHX6DnBaV+CjIaCX1+KKDCTxTYKUriIGBpNeJC52paUo8lNN2oZ5e6VV
W6R5MiK0BXk22PfUBXyTejLMZ6Fe5v2k9jWLRFvq03waR4rYEsvFJuGKvdmu/7sX
kWzUGymPaHb7BSh3q3fbrnicjVj1hDaRl3Hd0seORvHEzMhEE62ohEpf3yDzVdSd
D0X68ijeQUw=
=W17Z
-----END PGP SIGNATURE-----

« Back to bulletins