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

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

                               ESB-2016.2285
        sol35520031: BIG-IP virtual server with HTTP Explicit Proxy
                 and/or SOCKS vulnerability CVE-2016-5700
                             29 September 2016

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

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

Product:           F5 BIG-IP products
Publisher:         F5 Networks
Operating System:  Network Appliance
                   Virtualisation
Impact/Access:     Execute Arbitrary Code/Commands -- Remote/Unauthenticated
                   Modify Arbitrary Files          -- Remote/Unauthenticated
                   Access Confidential Data        -- Remote/Unauthenticated
Resolution:        Patch/Upgrade
CVE Names:         CVE-2016-5700  

Original Bulletin: 
   https://support.f5.com/kb/en-us/solutions/public/k/35/sol35520031.html

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

sol35520031: BIG-IP virtual server with HTTP Explicit Proxy and/or SOCKS 
vulnerability CVE-2016-5700

Security Advisory

Original Publication Date: 09/28/2016

Vulnerability Description

BIG-IP virtual servers with a configuration using the HTTP Explicit Proxy 
functionality and/or SOCKS profile are vulnerable to an unauthenticated, 
remote attack that allows modification of BIG-IP system configuration, 
extraction of sensitive system files, and/or possible remote command execution
on the BIG-IP system. (CVE-2016-5700)

F5 Technical Support has no additional information about this issue.

Impact

When this vulnerability is successfully exploited, a remote attacker may be 
able to modify the system configuration or extract sensitive system files.

CVSS v3.0 metrics for CVE-2016-5700

CVSS V3 score: 9.0 (base) / 7.8 (temporal)

CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H/E:U/RL:O/RC:C

Note: Due to details unique to CVE-2016-5700, we have included CVSS v3.0 
metrics in this article. We have not included CVSS v3.0 metrics in Security 
Advisory articles published on AskF5 for other vulnerabilities.

Security Issue Status

F5 Product Development has assigned IDs 599168 and 598983 (BIG-IP) to this 
vulnerability.

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:

Product                         Versions known to be vulnerable    Versions known to be not vulnerable    Severity        Vulnerable component or feature
BIG-IP LTM                      12.0.0 - 12.1.0                    12.1.1                                 Severe          Virtual server with HTTP Explicit Proxy and/or a SOCKS profile enabled
                                11.5.0 - 11.6.1                    12.1.0 HF2
                                                                   12.0.0 HF4
								   11.6.1 HF1
								   11.6.0 HF8
								   11.5.4 HF2
								   11.5.1 HF11
								   11.2.1 - 11.4.1
								   10.2.1 - 10.2.4
BIG-IP AAM                      12.0.0 - 12.1.0                    12.1.1                                 Severe          Virtual server with HTTP Explicit Proxy and/or a SOCKS profile enabled
                                11.5.0 - 11.6.1                    12.1.0 HF2
                                                                   12.0.0 HF4
								   11.6.1 HF1
								   11.6.0 HF8
								   11.5.4 HF2
								   11.5.1 HF11
								   11.4.0 - 11.4.1
BIG-IP AFM                      12.0.0 - 12.1.0                    12.1.1                                 Severe          Virtual server with HTTP Explicit Proxy and/or a SOCKS profile enabled
                                11.5.0 - 11.6.1                    12.1.0 HF2
                                                                   12.0.0 HF4
								   11.6.1 HF1
								   11.6.0 HF8
								   11.5.4 HF2
								   11.5.1 HF11
								   11.4.0 - 11.4.1
BIG-IP Analytics                None                               12.0.0 - 12.1.1                        Not vulnerable  None
                                                                   11.4.0 - 11.6.1
								   11.2.1
BIG-IP APM                      12.0.0 - 12.1.0                    12.1.1                                 Severe          Virtual server with HTTP Explicit Proxy and/or a SOCKS profile enabled
                                11.5.0 - 11.6.1                    12.1.0 HF2
                                                                   12.0.0 HF4
								   11.6.1 HF1
								   11.6.0 HF8
								   11.5.4 HF2
								   11.5.1 HF11
								   11.2.1 - 11.4.1
								   10.2.1 - 10.2.4
BIG-IP ASM                      12.0.0 - 12.1.0                    12.1.1                                 Severe          Virtual server with HTTP Explicit Proxy and/or a SOCKS profile enabled
                                11.5.0 - 11.6.1                    12.1.0 HF2
                                                                   12.0.0 HF4
								   11.6.1 HF1
								   11.6.0 HF8
								   11.5.4 HF2
								   11.5.1 HF11
								   11.2.1 - 11.4.1
								   10.2.1 - 10.2.4
BIG-IP DNS                      None                               12.0.0 - 12.1.0                        Not vulnerable  None
BIG-IP Edge Gateway             None                               11.2.1                                 Not vulnerable  None
                                                                   10.2.1 - 10.2.4
BIG-IP GTM                      None                               11.4.0 - 11.6.1                        Not vulnerable  None
                                                                   11.2.1
								   10.2.1 - 10.2.4
BIG-IP Link Controller          12.0.0 - 12.1.0                    12.1.1                                 Severe          Virtual server with HTTP Explicit Proxy and/or a SOCKS profile enabled
                                11.5.0 - 11.6.1                    12.1.0 HF2
                                                                   12.0.0 HF4
								   11.6.1 HF1
								   11.6.0 HF8
								   11.5.4 HF2
								   11.5.1 HF11
								   11.4.0 - 11.4.1
								   11.2.1
								   10.2.1 - 10.2.4
BIG-IP PEM                      12.0.0 - 12.1.0                    12.1.1                                 Severe          Virtual server with HTTP Explicit Proxy and/or a SOCKS profile enabled
                                11.5.0 - 11.6.1                    12.1.0 HF2
                                                                   12.0.0 HF4
								   11.6.1 HF1
								   11.6.0 HF8
								   11.5.4 HF2
								   11.5.1 HF11
								   11.4.0 - 11.4.1
BIG-IP PSM                      None                               11.4.0 - 11.4.1                        Not vulnerable  None
                                                                   10.2.1 - 10.2.4
BIG-IP WebAccelerator           None                               11.2.1                                 Not vulnerable  None
                                                                   10.2.1 - 10.2.4
BIG-IP WOM                      None                               11.2.1                                 Not vulnerable  None
                                                                   10.2.1 - 10.2.4
BIG-IP WebSafe                  12.0.0 - 12.1.0                    12.1.1                                 Severe          Virtual server with HTTP Explicit Proxy and/or a SOCKS profile enabled
                                11.6.0 - 11.6.1                    12.1.0 HF2
                                                                   12.0.0 HF4
								   11.6.1 HF1
								   11.6.0 HF8
ARX                             None                               6.2.0 - 6.4.0                          Not vulnerable  None
Enterprise Manager              None                               3.1.1                                  Not vulnerable  None
FirePass                        None                               7.0.0                                  Not vulnerable  None
BIG-IQ Cloud                    None                               4.0.0 - 4.5.0                          Not vulnerable  None
BIG-IQ Device                   None                               4.2.0 - 4.5.0                          Not vulnerable  None
BIG-IQ Security                 None                               4.0.0 - 4.5.0                          Not vulnerable  None
BIG-IQ ADC                      None                               4.5.0                                  Not vulnerable  None
BIG-IQ Centralized Management   None                               5.0.0                                  Not vulnerable  None
                                                                   4.6.0
BIG-IQ Cloud and Orchestration  None                               1.0.0                                  Not vulnerable  None
F5 iWorkflow                    None                               2.0.0                                  Not vulnerable  None
LineRate                        None                               2.5.0 - 2.6.1                          Not vulnerable  None
Traffix SDC                     None                               5.0.0                                  Not vulnerable  None
                                                                   4.0.0 - 4.4.0

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

Only virtual servers with configurations using the HTTP Explicit Proxy 
functionality and/or SOCKS profile are vulnerable. The HTTP Explicit Proxy 
functionality is enabled when an HTTP profile associated with a virtual server
has the Proxy Mode setting configured with the Explicit value. In the 
following HTTP profile configuration snippet example, an HTTP profile is 
configured with the Explicit Proxy functionality:

ltm profile http /Common/My_HTTP_explicit_profile {
    app-service none
    defaults-from /Common/http-explicit
    explicit-proxy {
        default-connect-handling allow
        dns-resolver /Common/My_DNS_resolver
    }
    proxy-type explicit
}

The following profile configuration snippet example shows a typical SOCKS 
profile:

ltm profile socks My_SOCKS_profile {
    app-service none
    defaults-from socks
    dns-resolver My_DNS_resolver
}

To determine if your BIG-IP system has a virtual server configuration using 
the HTTP Explicit Proxy functionality and/or SOCKS profile, perform the 
following procedures:

- - Determining the HTTP profiles configured with the Explicit Proxy 
functionality

- - Determining the SOCKS profiles configured on the system

- - Determining the virtual servers that are enabled with the HTTP Explicit 
Proxy functionality and/or SOCKS profile

Determining the HTTP profiles configured with the Explicit Proxy functionality

Impact of action: Performing the following procedure should not have a 
negative impact on your system.

1. Log in to the Traffic Management Shell (tmsh) by typing the following 
command:

    tmsh

2. List the HTTP profiles that are configured with the Explicit Proxy 
functionality by typing the following command:

    list ltm profile http proxy-type | grep -B 1 explicit

3. Note the names of the HTTP profiles. You will use the noted profile names
to determine which virtual server is enabled with the HTTP Explicit Proxy 
functionality in the final procedure.

Determining the SOCKS profiles configured on the system

Impact of action: Performing the following procedure should not have a 
negative impact on your system.

1. Log in to the tmsh utility by typing the following command:

    tmsh

2. List the SOCKS profile configured on your BIG-IP system by typing the 
following command:

    list ltm profile socks

3. Note the names of the configured SOCKS profiles. You will use the profile 
names to determine which virtual server is enabled with the SOCKS profile in 
the final procedure.

Determining the virtual servers that are enabled with the HTTP Explicit Proxy
functionality and/or SOCKS profile

Impact of action: Performing the following procedure should not have a 
negative impact on your system.

1. Log in to the tmsh utility by typing the following command:

    tmsh

2. Using the profile names obtained from the previous procedures, determine 
the virtual servers that are enabled with the HTTP Explicit Proxy 
functionality and/or SOCKS profile by using the following command syntax:

    list ltm virtual all profiles | grep -B 2 <profile name>

For example, you would type the following command to determine which 
virtual server is using the My_HTTP_explicit_profile profile:

    list ltm virtual all profiles | grep -B 2 My_HTTP_explicit_profile

3. Repeat step 2 for the remaining profile names obtained from previous 
procedures.

Supplemental Information

Common Vulnerability Scoring System v3.0: Specification Document

Note: This link takes you to a resource outside of AskF5. The third party 
could remove the document without our knowledge.

SOL9970: Subscribing to email notifications regarding F5 products

SOL9957: Creating a custom RSS feed to view new and updated documents

SOL4602: Overview of the F5 security vulnerability response policy

SOL4918: Overview of the F5 critical issue hotfix policy

SOL167: Downloading software and firmware from F5

SOL13123: Managing BIG-IP product hotfixes (11.x - 12.x)

SOL9502: BIG-IP hotfix matrix

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

        http://www.auscert.org.au/render.html?cid=1980

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

iQIVAwUBV+yXLYx+lLeg9Ub1AQjzuw//YYlUZmEknSAyodYJYiQ+r/m46fNfibOb
nq7oCyyU0T5Y/FbAjcChykQYSSMC1AfHjg+Y+fg1d1NvR47WCdglH9W0s24Cigkx
NvDyntmFRh19U8ZHkAY4nJE6BiEOdgvisB/N27Ggcajkt98IQDDyBs4SGXkc1jkU
D0+UXMx2Q5w6LRh6GetjCBkRbIrMLp0GV2uDvO7bIpUKEVB4hDxeGIUSQwprpjvW
GXrC+t0eotPONTwzljM3MXbz/QNrdnBZXXEJ3YXF2QSdgIckUjyzPmNYCjIa3xJW
pbMG4d5dsJitQ56scDEU/cWTUXdOv3jOTaGyWSl5cWqBLhtzjxGTEALxm0aDH2ZI
ohvZa8qJs03P4wgoR1Z1uKlfrSGKBA3udhgqugqc9Sd2xjAPXwHFlS2pTL+vXqi/
ucifudtTJ54jt/UWXL5iCTm5GKTmgR2EAxmBb9A2OCSiZ1zqFpZurcNQH6PGkP8X
PFAZqoxNrwP1im+a0CoxsFp62NvcvvqkWAmVJtHvnUfKmG590QRbLSyjJEIIZXn4
3ARLM06GpJDM8+pEh72Jc1MiOQ/RoX+70n2BF7l6DrgCaMaX+qwj0vSmGBedUYST
67cMDpLASicgvubBy/uMuTwlabeY5k1wLjikiwUhVK2doZmqKlzPvj6tX/9GvdS/
iDNPOcMHqCk=
=dwm8
-----END PGP SIGNATURE-----