ESB-2018.1172 - [Appliance] F5 products: Execute arbitrary code/commands - Remote/unauthenticated 2018-04-17

Printable version
PGP/GPG verifiable version

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

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

                               ESB-2018.1172
                             PHP vulnerability
                               17 April 2018

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

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

Product:           F5 products
Publisher:         F5 Networks
Operating System:  Network Appliance
Impact/Access:     Execute Arbitrary Code/Commands -- Remote/Unauthenticated
                   Denial of Service               -- Remote/Unauthenticated
Resolution:        Patch/Upgrade
CVE Names:         CVE-2016-5771  

Reference:         ESB-2018.0867
                   ESB-2017.0119
                   ESB-2016.2007
                   ESB-2016.1747

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

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

K30363030: PHP vulnerability CVE-2016-5771

Security Advisory

Original Publication Date: Dec 22, 2016
Updated Date: Apr 17, 2018

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.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.6,
        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,
        10.2.4, 10.2.3, 10.2.2, 10.2.1
  o Product: Enterprise Manager
      - 3.1.1
  o Product: F5 iWorkflow
      - 2.0.2, 2.0.1, 2.0.0
  o Product: LineRate
      - 2.6.1, 2.6.0, 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

spl_array.c in the SPL extension in PHP before 5.5.37 and 5.6.x before 5.6.23
improperly interacts with the unserialize implementation and garbage
collection, which allows remote attackers to execute arbitrary code or cause a
denial of service (use-after-free and application crash) via crafted serialized
data. (CVE-2016-5771)

Impact

BIG-IP and BIG-IQ

The vulnerable code exists and may be exposed through customer customization.
However, these systems are not vulnerable in the default, standard, or
recommended configuration.

Enterprise Manager

The vulnerability can allow unauthorized disclosure of information,
unauthorized modification, or disruption of service.

F5 WebSafe Alert Server

The impact is currently unknown. F5 is still researching the issue and will
update this article when the information has been confirmed. F5 Technical
Support has no additional information about this issue.

Security Advisory Status

F5 Product Development has assigned ID 601268 (BIG-IP), ID 608721 (BIG-IQ), and
ID 608723 (Enterprise Manager) to this vulnerability. Additionally, BIG-IP
iHealth may list Heuristic H625808 on the Diagnostics > Identified > Low |
Medium page. 

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         |
+---------------+----------------+-----------------+----------+----------------+
|               |12.0.0 - 12.1.2 |13.0.0           |          |                |
|               |11.6.0 - 11.6.1 |12.1.2 HF1       |          |                |
|BIG-IP LTM     |11.4.0 - 11.5.5 |11.6.2           |Low       |PHP             |
|               |11.2.1          |11.5.6           |          |                |
|               |10.2.1 - 10.2.4 |                 |          |                |
+---------------+----------------+-----------------+----------+----------------+
|               |12.0.0 - 12.1.2 |13.0.0           |          |                |
|BIG-IP AAM     |11.6.0 - 11.6.1 |12.1.2 HF1       |Low       |PHP             |
|               |11.4.0 - 11.5.5 |11.6.2           |          |                |
|               |                |11.5.6           |          |                |
+---------------+----------------+-----------------+----------+----------------+
|               |12.0.0 - 12.1.2 |13.0.0           |          |                |
|BIG-IP AFM     |11.6.0 - 11.6.1 |12.1.2 HF1       |Low       |PHP             |
|               |11.4.0 - 11.5.5 |11.6.2           |          |                |
|               |                |11.5.6           |          |                |
+---------------+----------------+-----------------+----------+----------------+
|               |12.0.0 - 12.1.2 |13.0.0           |          |                |
|BIG-IP         |11.6.0 - 11.6.1 |12.1.2 HF1       |Low       |PHP             |
|Analytics      |11.4.0 - 11.5.5 |11.6.2           |          |                |
|               |11.2.1          |11.5.6           |          |                |
+---------------+----------------+-----------------+----------+----------------+
|               |12.0.0 - 12.1.2 |13.0.0           |          |                |
|               |11.6.0 - 11.6.1 |12.1.2 HF1       |          |                |
|BIG-IP APM     |11.4.0 - 11.5.5 |11.6.2           |Low       |PHP             |
|               |11.2.1          |11.5.6           |          |                |
|               |10.2.1 - 10.2.4 |                 |          |                |
+---------------+----------------+-----------------+----------+----------------+
|               |12.0.0 - 12.1.2 |13.0.0           |          |                |
|               |11.6.0 - 11.6.1 |12.1.2 HF1       |          |                |
|BIG-IP ASM     |11.4.0 - 11.5.5 |11.6.2           |Low       |PHP             |
|               |11.2.1          |11.5.6           |          |                |
|               |10.2.1 - 10.2.4 |                 |          |                |
+---------------+----------------+-----------------+----------+----------------+
|BIG-IP DNS     |12.0.0 - 12.1.2 |13.0.0           |Low       |PHP             |
|               |                |12.1.2 HF1       |          |                |
+---------------+----------------+-----------------+----------+----------------+
|BIG-IP Edge    |11.2.1          |None             |Low       |PHP             |
|Gateway        |10.2.1 - 10.2.4 |                 |          |                |
+---------------+----------------+-----------------+----------+----------------+
|               |11.6.0 - 11.6.1 |                 |          |                |
|BIG-IP GTM     |11.4.0 - 11.5.5 |11.6.2           |Low       |PHP             |
|               |11.2.1          |11.5.6           |          |                |
|               |10.2.1 - 10.2.4 |                 |          |                |
+---------------+----------------+-----------------+----------+----------------+
|               |12.0.0 - 12.1.2 |13.0.0           |          |                |
|BIG-IP Link    |11.6.0 - 11.6.1 |12.1.2 HF1       |          |                |
|Controller     |11.4.0 - 11.5.5 |11.6.2           |Low       |PHP             |
|               |11.2.1          |11.5.6           |          |                |
|               |10.2.1 - 10.2.4 |                 |          |                |
+---------------+----------------+-----------------+----------+----------------+
|               |12.0.0 - 12.1.2 |13.0.0           |          |                |
|BIG-IP PEM     |11.6.0 - 11.6.1 |12.1.2 HF1       |Low       |PHP             |
|               |11.4.0 - 11.5.5 |11.6.2           |          |                |
|               |                |11.5.6           |          |                |
+---------------+----------------+-----------------+----------+----------------+
|BIG-IP PSM     |11.4.0 - 11.4.1 |None             |Low       |PHP             |
|               |10.2.1 - 10.2.4 |                 |          |                |
+---------------+----------------+-----------------+----------+----------------+
|BIG-IP         |11.2.1          |None             |Low       |PHP             |
|WebAccelerator |10.2.1 - 10.2.4 |                 |          |                |
+---------------+----------------+-----------------+----------+----------------+
|               |12.0.0 - 12.1.2 |13.0.0           |          |                |
|BIG-IP WebSafe |11.6.0 - 11.6.1 |12.1.2 HF1       |Low       |PHP             |
|               |                |11.6.2           |          |                |
+---------------+----------------+-----------------+----------+----------------+
|ARX            |None            |6.2.0 - 6.4.0    |Not       |None            |
|               |                |                 |vulnerable|                |
+---------------+----------------+-----------------+----------+----------------+
|Enterprise     |3.1.1           |None             |Medium    |PHP             |
|Manager        |                |                 |          |                |
+---------------+----------------+-----------------+----------+----------------+
|BIG-IQ Cloud   |4.0.0 - 4.5.0   |None             |Low       |PHP             |
+---------------+----------------+-----------------+----------+----------------+
|BIG-IQ Device  |4.2.0 - 4.5.0   |None             |Low       |PHP             |
+---------------+----------------+-----------------+----------+----------------+
|BIG-IQ Security|4.0.0 - 4.5.0   |None             |Low       |PHP             |
+---------------+----------------+-----------------+----------+----------------+
|BIG-IQ ADC     |4.5.0           |None             |Low       |PHP             |
+---------------+----------------+-----------------+----------+----------------+
|BIG-IQ         |5.0.0 - 5.1.0   |                 |          |                |
|Centralized    |4.6.0           |None             |Low       |PHP             |
|Management     |                |                 |          |                |
+---------------+----------------+-----------------+----------+----------------+
|BIG-IQ Cloud   |                |                 |          |                |
|and            |1.0.0           |None             |Low       |PHP             |
|Orchestration  |                |                 |          |                |
+---------------+----------------+-----------------+----------+----------------+
|F5 iWorkflow   |None            |2.0.0 - 2.0.2    |Not       |None            |
|               |                |                 |vulnerable|                |
+---------------+----------------+-----------------+----------+----------------+
|LineRate       |None            |2.5.0 - 2.6.1    |Not       |None            |
|               |                |                 |vulnerable|                |
+---------------+----------------+-----------------+----------+----------------+
|Traffix SDC    |None            |5.0.0 - 5.1.0    |Not       |None            |
|               |                |4.0.0 - 4.4.0    |vulnerable|                |
+---------------+----------------+-----------------+----------+----------------+
|F5 WebSafe     |**              |**               |**        |**              |
|Alert Server   |                |                 |          |                |
+---------------+----------------+-----------------+----------+----------------+

**Confirmation of vulnerability or non-vulnerability is not presently
available. F5 is still researching the issue for the products indicated and
will update this article with the most current information as soon as it has
been confirmed. F5 Technical Support has no additional information about this
issue.

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.

To determine the necessary upgrade path for your BIG-IQ system, you should
understand the BIG-IQ product offering name changes. For more information,
refer to K21232150: Considerations for upgrading BIG-IQ or F5 iWorkflow systems
.

Mitigation

None

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

Applies to (see versions):

  o ARX:
      - 6.4.0, 6.3.0, 6.2.0
  o BIG-IP AAM:
      - 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.6,
        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,
        10.2.4, 10.2.3, 10.2.2, 10.2.1
  o BIG-IP AFM:
      - 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.6,
        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,
        10.2.4, 10.2.3, 10.2.2, 10.2.1
  o BIG-IP APM:
      - 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.6,
        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,
        10.2.4, 10.2.3, 10.2.2, 10.2.1
  o BIG-IP ASM:
      - 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.6,
        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,
        10.2.4, 10.2.3, 10.2.2, 10.2.1
  o BIG-IP Analytics:
      - 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.6,
        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,
        10.2.4, 10.2.3, 10.2.2, 10.2.1
  o BIG-IP DNS:
      - 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.6,
        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,
        10.2.4, 10.2.3, 10.2.2, 10.2.1
  o BIG-IP Edge Gateway:
      - 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.6,
        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,
        10.2.4, 10.2.3, 10.2.2, 10.2.1
  o BIG-IP GTM:
      - 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.6,
        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,
        10.2.4, 10.2.3, 10.2.2, 10.2.1
  o BIG-IP LTM:
      - 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.6,
        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,
        10.2.4, 10.2.3, 10.2.2, 10.2.1
  o BIG-IP Link Controller:
      - 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.6,
        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,
        10.2.4, 10.2.3, 10.2.2, 10.2.1
  o BIG-IP PEM:
      - 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.6,
        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,
        10.2.4, 10.2.3, 10.2.2, 10.2.1
  o BIG-IP PSM:
      - 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.6,
        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,
        10.2.4, 10.2.3, 10.2.2, 10.2.1
  o 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.6,
        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,
        10.2.4, 10.2.3, 10.2.2, 10.2.1
  o BIG-IQ ADC:
      - 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 BIG-IQ Centralized Management:
      - 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 BIG-IQ Cloud:
      - 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 BIG-IQ Cloud and Orchestration:
      - 1.0.0
  o BIG-IQ Device:
      - 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 BIG-IQ Security:
      - 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 Enterprise Manager:
      - 3.1.1
  o F5 WebSafe:
      - 1.0.0
  o F5 iWorkflow:
      - 2.0.0, 2.0.1, 2.0.2
  o LineRate:
      - 2.6.0, 2.5.1, 2.6.1, 2.5.2, 2.5.0
  o Traffix SDC:
      - 4.0.2, 5.1.0, 4.0.0, 4.4.0, 4.0.5

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

iQIVAwUBWtWISYx+lLeg9Ub1AQgDixAAjw+fN17rtgZNyGkF7RvWSTx5RzBAaaz6
O5IelJ6ovx5SJN2EuhW2k76jmC3VAD6+C9iwT85IYzgdkGQvtvGwXi1SUe4rbW6s
2uXZAX7JUdnqpG5wIf7T7J1KBUqqGVJUD0yaZLHGZMOomqzH5bUfS/Bcpqeq6EX/
ZwntSZw+ZHu8tt7hXGktlwF98GZ0sGCL0vDOdasLIud9P6Yg0q103XPHDiUwOKxi
/1rW6jMdj2qpeVlXKC8YRJ+KGjs8TKPYkWX3OgKCtrhYajwI4spkZE+EO2ggIJGy
Apu8OblYfRqZPnga6pHrVhmhWtZCaCkG/y4xL8JiTUZYhvRhRPFEyYWgwep15nbf
wnm3NyWLHs6BbQxto7+ylC1YSpnggNFzmggz1pH3pGXo1kS5J8xc310nl6pZBw3s
aIMxFRDDo8mycgiKB60kon5nq/DMKXbyDgfWHK0Ai8dNRlM6R/7wp4HVnySh/279
e9f6o4p68yIddzDG8J5mTSh9eCDM+K558ndK1oBMw6xcOw8YUaqEmfAO/U/kLPPM
pBn/Ct9cvFFY/EfZOrfRAIvJSPBOmfcLDOyS9enWzK9MtIUJPp0lH5uPTEtMmGUO
SSpWwGJ0RLZ2+LK3NhVEACHs2/p6lAVFGTe73pytEWVDVy5qEtbu5GOhrQtB4Bk2
B9r7QGTJ4Mk=
=uyrJ
-----END PGP SIGNATURE-----

« Back to bulletins