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

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

                               ESB-2018.1171
                             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 with User Interaction
                   Denial of Service               -- Remote with User Interaction
Resolution:        Patch/Upgrade
CVE Names:         CVE-2016-5766  

Reference:         ESB-2017.2174
                   ESB-2017.0119
                   ESB-2016.1930
                   ESB-2016.1757

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

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

K43267483: PHP vulnerability CVE-2016-5766

Security Advisory

Original Publication Date: Oct 14, 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,
    BIG-IP WOM
      - 13.1.0, 13.0.1, 13.0.0, 12.1.3, 12.1.2, 12.1.1, 12.1.0, 12.0.0, 11.6.3,
        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.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
      - 4.4.0, 4.1.0, 4.0.5, 4.0.2, 4.0.0
  o Product: Legacy Products, FirePass
      - 7.0.0
  o Product: BIG-IQ Cloud and Orchestration
      - 1.0.0

Security Advisory Description

Integer overflow in the _gd2GetHeader function in gd_gd2.c in the GD Graphics
Library (aka libgd) before 2.2.3, as used in PHP before 5.5.37, 5.6.x before
5.6.23, and 7.x before 7.0.8, allows remote attackers to cause a denial of
service (heap-based buffer overflow and application crash) or possibly have
unspecified other impact via crafted chunk dimensions in an image. (
CVE-2016-5766)

Impact

While the vulnerable code exists, F5 products are not vulnerable in the
default, standard, or recommended configurations.

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 H620618 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         |
+---------------+----------------+-----------------+----------+----------------+
|               |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 |                 |          |                |
+---------------+----------------+-----------------+----------+----------------+
|BIG-IP WOM     |11.2.1          |None             |Low       |PHP             |
|               |10.2.1 - 10.2.4 |                 |          |                |
+---------------+----------------+-----------------+----------+----------------+
|BIG-IP WebSafe |12.0.0 - 12.1.2 |13.0.0           |Low       |PHP             |
|               |                |12.1.2 HF1       |          |                |
+---------------+----------------+-----------------+----------+----------------+
|ARX            |None            |6.2.0 - 6.4.0    |Not       |None            |
|               |                |                 |vulnerable|                |
+---------------+----------------+-----------------+----------+----------------+
|Enterprise     |3.1.1           |None             |Low       |PHP             |
|Manager        |                |                 |          |                |
+---------------+----------------+-----------------+----------+----------------+
|FirePass       |None            |7.0.0            |Not       |None            |
|               |                |                 |vulnerable|                |
+---------------+----------------+-----------------+----------+----------------+
|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            |Not       |None            |
|               |                |                 |vulnerable|                |
+---------------+----------------+-----------------+----------+----------------+
|LineRate       |None            |2.5.0 - 2.6.1    |Not       |None            |
|               |                |                 |vulnerable|                |
+---------------+----------------+-----------------+----------+----------------+
|Traffix SDC    |None            |5.0.0            |Not       |None            |
|               |                |4.0.0 - 4.4.0    |vulnerable|                |
+---------------+----------------+-----------------+----------+----------------+

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.1.0, 13.0.1, 13.0.0, 12.1.3, 12.1.2, 12.1.1, 12.1.0, 12.0.0, 11.6.3,
        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.1.0, 13.0.1, 13.0.0, 12.1.3, 12.1.2, 12.1.1, 12.1.0, 12.0.0, 11.6.3,
        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.1.0, 13.0.1, 13.0.0, 12.1.3, 12.1.2, 12.1.1, 12.1.0, 12.0.0, 11.6.3,
        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.1.0, 13.0.1, 13.0.0, 12.1.3, 12.1.2, 12.1.1, 12.1.0, 12.0.0, 11.6.3,
        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.1.0, 13.0.1, 13.0.0, 12.1.3, 12.1.2, 12.1.1, 12.1.0, 12.0.0, 11.6.3,
        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.1.0, 13.0.1, 13.0.0, 12.1.3, 12.1.2, 12.1.1, 12.1.0, 12.0.0, 11.6.3,
        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.1.0, 13.0.1, 13.0.0, 12.1.3, 12.1.2, 12.1.1, 12.1.0, 12.0.0, 11.6.3,
        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.1.0, 13.0.1, 13.0.0, 12.1.3, 12.1.2, 12.1.1, 12.1.0, 12.0.0, 11.6.3,
        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.1.0, 13.0.1, 13.0.0, 12.1.3, 12.1.2, 12.1.1, 12.1.0, 12.0.0, 11.6.3,
        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.1.0, 13.0.1, 13.0.0, 12.1.3, 12.1.2, 12.1.1, 12.1.0, 12.0.0, 11.6.3,
        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.1.0, 13.0.1, 13.0.0, 12.1.3, 12.1.2, 12.1.1, 12.1.0, 12.0.0, 11.6.3,
        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.1.0, 13.0.1, 13.0.0, 12.1.3, 12.1.2, 12.1.1, 12.1.0, 12.0.0, 11.6.3,
        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 WOM:
      - 13.1.0, 13.0.1, 13.0.0, 12.1.3, 12.1.2, 12.1.1, 12.1.0, 12.0.0, 11.6.3,
        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.1.0, 13.0.1, 13.0.0, 12.1.3, 12.1.2, 12.1.1, 12.1.0, 12.0.0, 11.6.3,
        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
  o FirePass:
      - 7.0.0
  o LineRate:
      - 2.6.0, 2.5.1, 2.6.1, 2.5.2, 2.5.0
  o Traffix SDC:
      - 4.0.2, 4.0.0, 4.1.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

iQIVAwUBWtWIOox+lLeg9Ub1AQjJHhAAlVLdvBbGNtudX1/UTEX0qZqB8gdf7u7A
z1O0NZtHPCe65z/oSuvdPE0tdCI69ZimWqgZQIaZD9ITwQrB0pDx/yAgkDvfjSbI
a6YDx0R1x70FhPdBounfjNUHrK2kp4FKwRSnw6n1cZ8CupYvgGIWXDnz+1l9b6DG
WDkPhoguxiH+bfnx+r2R1XbKTsJoxULycjhStESZAwiJaORhSdnboFI1fAyRnvju
jKfT84lIFENxW7yC734lgWGw41Fu3anrRsGhUXuXncN5ZDKyEfYGE0Yz/w5xr42/
eMfH1UAoKwavb6d8Zjy8Qx79Ckkgqa8728Mp9rMONpdqPOiYQG1lcBpGto4ob2N9
ciTY7NfF8ste+vTx39yflAvZzhyM0QyBDaVFbzhD0C4iW6RB89yzPmCk26i7viaf
7RMbGJ0D7Qm1YkrlQqZzVHn9F+wZxYTKP3n9W9VsJUtyjC4Ky8dx05Lh7bRGA03A
QSTMx3YHvXvAIqmfbUfeRJgqP8DOdypBIR6w3ycTf0n6lQaLuXDbnuII7ubYFN0z
KRsmfUgtUhnHe+hW48yYnmqK8JD5vjMR3js+/ZIoYkN/+lCgixEr7C1JR+YHiFPe
Evvtv7KReNZ/aQ+8RTmPjDb9rit6sHoPtMgSxSZd2pGuhKl4SfEsIpcMHa+Og7ol
PMd6oN6CtkY=
=qVWJ
-----END PGP SIGNATURE-----