-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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

                               ESB-2015.2566
                  sol17377: Multiple PHP vulnerabilities
                              9 October 2015

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

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

Product:           F5 products
Publisher:         F5 Networks
Operating System:  Network Appliance
Impact/Access:     Execute Arbitrary Code/Commands -- Remote/Unauthenticated
                   Modify Arbitrary Files          -- Remote/Unauthenticated
                   Reduced Security                -- Remote/Unauthenticated
Resolution:        Mitigation
CVE Names:         CVE-2015-6838 CVE-2015-6837 CVE-2015-6836
                   CVE-2015-6835 CVE-2015-6834 

Reference:         ESB-2015.2401

Original Bulletin: 
   https://support.f5.com/kb/en-us/solutions/public/17000/300/sol17377.html

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

sol17377: Multiple PHP vulnerabilities

Security Advisory

Original Publication Date: 10/08/2015

Description

    CVE-2015-6834

    Use after free vulnerability was found in unserialize() function. We can 
    create ZVAL and free it via Serializable::unserialize. However the 
    unserialize() will still allow to use R: or r: to set references to that 
    already freed memory. It is possible to use-after-free attack and execute 
    arbitrary code remotely.

    CVE-2015-6835

    A use-after-free vulnerability was found in session deserializer. When 
    session deserializer (php/php_binary) is deserializing multiple data, it will
    call php_var_unserialize() multiple times. We can create ZVAL and free it via
    the php_var_unserialize() with a crafted serialized string. Then the next call
    php_var_unserialize() will still allow to use R: or r: to set references to 
    that already freed memory. It is possible to use-after-free attack and execute
    arbitrary code remotely.

    CVE-2015-6836

    A type confusion occurs within SOAP serialize_function_call due to an 
    insufficient validation of the headers field. In the SoapClient's __call 
    method, the verify_soap_headers_array check is applied only to headers 
    retrieved from zend_parse_parameters; problem is that a few lines later, 
    soap_headers could be updated or even replaced with values from the 
    default_headers object fields.

    CVE-2015-6837 and CVE-2015-6838

    The XSLTProcessor class misses a few checks on the input from the libxslt
    library. The valuePop() function call is able to return NULL pointer and php 
    does not check that.

Impact

An attacker may require administrative privileges or exploitation of another 
vulnerability to gain the ability to create or upload and cause the vulnerable
functions to run. When the vulnerability is exploited, the attacker may be 
able to run arbitrary code remotely.

Status

F5 Product Development has assigned ID 534075 (BIG-IP), ID 536881 (BIG-IQ) and
ID 536882 (Enterprise Manager) to this vulnerability, and has evaluated the 
currently supported releases for potential 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
		11.0.0 - 11.6.0
		10.1.0 - 10.2.4				None					Low 		PHP in Control Plane

BIG-IP AAM 	12.0.0
		11.4.0 - 11.6.0				None					Low 		PHP in Control Plane

BIG-IP AFM 	12.0.0
		11.3.0 - 11.6.0				None					Low 		PHP in Control Plane

BIG-IP 
Analytics 	12.0.0
		11.0.0 - 11.6.0				None					Low 		PHP in Control Plane

BIG-IP APM 	12.0.0
		11.0.0 - 11.6.0
		10.1.0 - 10.2.4				None					Low 		PHP in Control Plane

BIG-IP ASM 	12.0.0
		11.0.0 - 11.6.0
		10.1.0 - 10.2.4				None					Low 		PHP in Control Plane

BIG-IP DNS	12.0.0					None					Low 		PHP in Control Plane

BIG-IP Edge 
Gateway		11.0.0 - 11.3.0
		10.1.0 - 10.2.4				None					Low 		PHP in Control Plane

BIG-IP GTM 	11.0.0 - 11.6.0
		10.1.0 - 10.2.4				None					Low 		PHP in Control Plane

BIG-IP Link 
Controller 	12.0.0
		11.0.0 - 11.6.0
		10.1.0 - 10.2.4				None					Low 		PHP in Control Plane

BIG-IP PEM 	12.0.0
		11.3.0 - 11.6.0				None					Low 		PHP in Control Plane

BIG-IP PSM 	11.0.0 - 11.4.1
		10.1.0 - 10.2.4				None					Low 		PHP in Control Plane

BIG-IP 
WebAccelerator 	11.0.0 - 11.3.0
		10.1.0 - 10.2.4				None					Low 		PHP in Control Plane

BIG-IP WOM 	11.0.0 - 11.3.0
		10.1.0 - 10.2.4				None					Low 		PHP in Control Plane

ARX 		None					6.0.0 - 6.4.0				Not vulnerable 	None

Enterprise 
Manager 	3.0.0 - 3.1.1				None 					Low 		PHP in Control Plane

FirePass 	None					7.0.0
							6.0.0 - 6.1.0				Not vulnerable 	None

BIG-IQ Cloud 	4.0.0 - 4.5.0				None					Low 		PHP in Control Plane

BIG-IQ Device 	4.2.0 - 4.5.0				None					Low 		PHP in Control Plane

BIG-IQ 
Security 	4.0.0 - 4.5.0				None					Low 		PHP in Control Plane

BIG-IQ ADC 	4.5.0					None					Low 		PHP in Control Plane

LineRate 	None					2.5.0 - 2.6.1				Not vulnerable 	None

F5 WebSafe 	None					1.0.0					Not vulnerable 	None

Traffix SDC 	None					4.0.0 - 4.4.0		
							3.3.2 - 3.5.1				Not vulnerable 	None


Important: Although the software of the affected F5 products contains the 
vulnerable code, the affected F5 products do not use the vulnerable code in a
way that exposes the vulnerability in a default configuration for the control
plane. There is no data plane exposure for this vulnerability on the affected
F5 products.

Recommended Action

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.

F5 responds to vulnerabilities in accordance with the Severity values 
published in the previous table. The Severity values and other security 
vulnerability parameters are defined in SOL4602: Overview of the F5 security 
vulnerability response policy.

To mitigate this vulnerability, you should permit management access to F5 
products over a secure network and limit access to only trusted users. For 
more information about securing access to BIG-IP/Enterprise Manager systems, 
refer to SOL13309: Restricting access to the Configuration utility by source 
IP address (11.x - 12.x) and SOL13092: Overview of securing access to the 
BIG-IP system.

Additionally, you should avoid any customization of PHP files on the affected
F5 products.

Supplemental Information

    SOL9970: Subscribing to email notifications regarding F5 products

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

    SOL4918: Overview of the F5 critical issue hotfix policy

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

        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

iQIVAwUBVhciZ36ZAP0PgtI9AQJksg//a9jol2jzs0uudFSmVaAgc8JFBEhc4ZPN
zhjqKEJKl8UBKtfKTYtJEUVCsqaz28uJyjukgVN5xeaA9qih3TdeLKNqJiC+A3mC
yyIzTfXt35ke5y4/1uVq2MlcXEb2lsVO7uGaewAVf007k9keWQWO2xayO2NStw5R
MAXRBgxLphoHzzEc2zfkly/AwQNdxqkGO08ItdfvqltqylMmecJBxaAJ60DDw/HU
DVD8Z2Y8S1DbKZHRDE9V67Nm8Z7Wo//YRKkYtjHd3E+0/iR5VEaQ9uszk7+CsKNL
tL7FscMvK7D2rkYN9cWqHF+kHP43jd6W27Y4xFo6mPjsqiUN0yU8Hxp6VelpiqC5
CY1HnfBk8NkmLwE8+bZaYOi+GXleMV3daAEmFGU3LLnE6ZNueYvakdoIsusYv1rR
AGmS7snAR4++KjMf8PVtDPcK+1B/7FE2+c7XxI0FF9OJVhmX4agOBPRHo0OA2afn
RNPJq3WU8SdAPo5a0lH8BLzsGbQDJgApteiqLGskhdS+tB7wT3S1PfqMsdGCoYPQ
0mRx+yhrpQZM3EPT9VhanbZm6R50f7UZvSsv6/6yqeKnLNIlpuFqMQt48WJs/xCB
Cy+rzzfeh7JJtWGbGHlUO4pAAIUpbFtoOQRGO/NGPnQOOvgkCJzTrQwkK54ro9OX
CtxPFv3ZEKM=
=uv6D
-----END PGP SIGNATURE-----