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

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

                               ESB-2016.0300
                sol20225390: Multiple PCRE vulnerabilities
                              5 February 2016

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

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

Product:           F5 BIG-IP
                   F5 BIG-IQ
                   F5 ARX
                   F5 Enterprise Manager
                   F5 LineRate
                   F5 Traffix SDC
Publisher:         F5
Operating System:  Network Appliance
                   Virtualisation
Impact/Access:     Denial of Service        -- Remote/Unauthenticated
                   Access Confidential Data -- Remote/Unauthenticated
Resolution:        Patch/Upgrade
CVE Names:         CVE-2015-8395 CVE-2015-8394 CVE-2015-8392
                   CVE-2015-8391 CVE-2015-8390 CVE-2015-8389
                   CVE-2015-8388 CVE-2015-8387 CVE-2015-8386
                   CVE-2015-8385 CVE-2015-8384 CVE-2015-8383
                   CVE-2015-8382 CVE-2015-8381 CVE-2015-8380
                   CVE-2015-3217 CVE-2015-2328 CVE-2015-2327

Reference:         ESB-2016.0255

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

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

sol20225390: Multiple PCRE vulnerabilities 

Security Advisory

Original Publication Date: 02/04/2016

Vulnerability Description

CVE-2015-8395

PCRE before 8.38 mishandles certain references, which allows remote attackers
to cause a denial of service or possibly have unspecified other impact via a 
crafted regular expression, as demonstrated by a JavaScript RegExp object 
encountered by Konqueror, a related issue to CVE-2015-8384 and CVE-2015-8392.

CVE-2015-8394

PCRE before 8.38 mishandles the (?() and (?(R) conditions, which allows remote
attackers to cause a denial of service (integer overflow) or possibly have 
unspecified other impact via a crafted regular expression, as demonstrated by
a JavaScript RegExp object encountered by Konqueror.

CVE-2015-8392

PCRE before 8.38 mishandles certain instances of the (?| substring, which 
allows remote attackers to cause a denial of service (unintended recursion and
buffer overflow) or possibly have unspecified other impact via a crafted 
regular expression, as demonstrated by a JavaScript RegExp object encountered
by Konqueror, a related issue to CVE-2015-8384 and CVE-2015-8395.

CVE-2015-8391

The pcre_compile function in pcre_compile.c in PCRE before 8.38 mishandles 
certain [: nesting, which allows remote attackers to cause a denial of service
(CPU consumption) or possibly have unspecified other impact via a crafted 
regular expression, as demonstrated by a JavaScript RegExp object encountered
by Konqueror.

CVE-2015-8390

PCRE before 8.38 mishandles the [: and \\ substrings in character classes, 
which allows remote attackers to cause a denial of service (uninitialized 
memory read) or possibly have unspecified other impact via a crafted regular 
expression, as demonstrated by a JavaScript RegExp object encountered by 
Konqueror.

CVE-2015-8389

PCRE before 8.38 mishandles the /(?:|a|){100}x/ pattern and related patterns,
which allows remote attackers to cause a denial of service (infinite 
recursion) or possibly have unspecified other impact via a crafted regular 
expression, as demonstrated by a JavaScript RegExp object encountered by 
Konqueror.

CVE-2015-8388

PCRE before 8.38 mishandles the /(?=di(?<=(?1))|(?=(.))))/ pattern and related
patterns with an unmatched closing parenthesis, which allows remote attackers
to cause a denial of service (buffer overflow) or possibly have unspecified 
other impact via a crafted regular expression, as demonstrated by a JavaScript
RegExp object encountered by Konqueror.

CVE-2015-8387

PCRE before 8.38 mishandles (?123) subroutine calls and related subroutine 
calls, which allows remote attackers to cause a denial of service (integer 
overflow) or possibly have unspecified other impact via a crafted regular 
expression, as demonstrated by a JavaScript RegExp object encountered by 
Konqueror.

CVE-2015-8386

PCRE before 8.38 mishandles the interaction of lookbehind assertions and 
mutually recursive subpatterns, which allows remote attackers to cause a 
denial of service (buffer overflow) or possibly have unspecified other impact
via a crafted regular expression, as demonstrated by a JavaScript RegExp 
object encountered by Konqueror.

CVE-2015-8385

PCRE before 8.38 mishandles the /(?|(\k'Pm')|(?'Pm'))/ pattern and related 
patterns with certain forward references, which allows remote attackers to 
cause a denial of service (buffer overflow) or possibly have unspecified other
impact via a crafted regular expression, as demonstrated by a JavaScript 
RegExp object encountered by Konqueror.

CVE-2015-8384

PCRE before 8.38 mishandles the /(?J)(?'d'(?'d'\g{d}))/ pattern and related 
patterns with certain recursive back references, which allows remote attackers
to cause a denial of service (buffer overflow) or possibly have unspecified 
other impact via a crafted regular expression, as demonstrated by a JavaScript
RegExp object encountered by Konqueror, a related issue to CVE-2015-8392 and 
CVE-2015-8395.

CVE-2015-8383

PCRE before 8.38 mishandles certain repeated conditional groups, which allows
remote attackers to cause a denial of service (buffer overflow) or possibly 
have unspecified other impact via a crafted regular expression, as 
demonstrated by a JavaScript RegExp object encountered by Konqueror.

CVE-2015-8382

The match function in pcre_exec.c in PCRE before 8.37 mishandles the 
/(?:((abcd))|(((?:(?:(?:(?:abc|(?:abcdef))))b)abcdefghi)abc)|((*ACCEPT)))/ 
pattern and related patterns involving (*ACCEPT), which allows remote 
attackers to obtain sensitive information from process memory or cause a 
denial of service (partially initialized memory and application crash) via a 
crafted regular expression, as demonstrated by a JavaScript RegExp object 
encountered by Konqueror, aka ZDI-CAN-2547.

CVE-2015-8381

The compile_regex function in pcre_compile.c in PCRE before 8.38 and 
pcre2_compile.c in PCRE2 before 10.2x mishandles the 
/(?J:(?|(:(?|(?'R')(\k'R')|((?'R')))H'Rk'Rf)|s(?'R'))))/ and 
/(?J:(?|(:(?|(?'R')(\z(?|(?'R')(\k'R')|((?'R')))k'R')|((?'R')))H'Ak'Rf)|s(?'R')))/
patterns, and related patterns with certain group references, which allows 
remote attackers to cause a denial of service (heap-based buffer overflow) or
possibly have unspecified other impact via a crafted regular expression, as 
demonstrated by a JavaScript RegExp object encountered by Konqueror.

CVE-2015-8380

The pcre_exec function in pcre_exec.c in PCRE before 8.38 mishandles a // 
pattern with a \01 string, which allows remote attackers to cause a denial of
service (heap-based buffer overflow) or possibly have unspecified other impact
via a crafted regular expression, as demonstrated by a JavaScript RegExp 
object encountered by Konqueror.

CVE-2015-2328

PCRE before 8.36 mishandles the /((?(R)a|(?1)))+/ pattern and related patterns
with certain recursion, which allows remote attackers to cause a denial of 
service (segmentation fault) or possibly have unspecified other impact via a 
crafted regular expression, as demonstrated by a JavaScript RegExp object 
encountered by Konqueror.

CVE-2015-2327

PCRE before 8.36 mishandles the /(((a\2)|(a*)\g<-1>))*/ pattern and related 
patterns with certain internal recursive back references, which allows remote
attackers to cause a denial of service (segmentation fault) or possibly have 
unspecified other impact via a crafted regular expression, as demonstrated by
a JavaScript RegExp object encountered by Konqueror.

CVE-2015-3217 - reserved

PCRE Library Call Stack Overflow Vulnerability in match()

Impact

These vulnerabilities may allow remote attackers to cause a denial-of-service
(DoS) or possibly have unspecified other impact via a crafted regular 
expression.

Important: If BIG-IP ASM is not provisioned, the attack vector is a local only
user.

Security Issue Status

F5 Product Development has assigned ID 564111 (BIG-IP), IDs 566040 and 566044
(BIG-IQ & Enterprise Manager), and ID 541509 (ARX) 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                             None                                   Low             PCRE library
                                11.0.0 - 11.6.0
				10.1.0 - 10.2.4
BIG-IP AAM                      12.0.0                             None                                   Low             PCRE library
                                11.4.0 - 11.6.0
BIG-IP AFM                      12.0.0                             None                                   Low             PCRE library
                                11.3.0 - 11.6.0
BIG-IP Analytics                12.0.0                             None                                   Low             PCRE library
                                11.0.0 - 11.6.0
BIG-IP APM                      12.0.0                             None                                   Low             PCRE library
                                11.0.0 - 11.6.0
				10.1.0 - 10.2.4
BIG-IP ASM                      12.0.0                             None                                   Medium          PCRE library
                                11.0.0 - 11.6.0
				10.1.0 - 10.2.4
BIG-IP DNS                      12.0.0                             None                                   Low             PCRE library
BIG-IP Edge Gateway             11.0.0 - 11.3.0                    None                                   Low             PCRE library
                                10.1.0 - 10.2.4
BIG-IP GTM                      11.0.0 - 11.6.0                    None                                   Low             PCRE library
                                10.1.0 - 10.2.4
BIG-IP Link Controller          12.0.0                             None                                   Low             PCRE library
                                11.0.0 - 11.6.0
				10.1.0 - 10.2.4
BIG-IP PEM                      12.0.0                             None                                   Low             PCRE library
                                11.3.0 - 11.6.0
BIG-IP PSM                      11.0.0 - 11.4.1                    None                                   Low             PCRE library
                                10.1.0 - 10.2.4
BIG-IP WebAccelerator           11.0.0 - 11.3.0                    None                                   Low             PCRE library
                                10.1.0 - 10.2.4
BIG-IP WOM                      11.0.0 - 11.3.0                    None                                   Low             PCRE library
                                10.1.0 - 10.2.4
ARX                             6.0.0 - 6.4.0                      None                                   Low             PCRE library
Enterprise Manager              3.0.0 - 3.1.1                      None                                   Low             PCRE library
FirePass                        None                               7.0.0                                  Not vulnerable  None
                                                                   6.0.0 - 6.1.0
BIG-IQ Cloud                    4.0.0 - 4.5.0                      None                                   Low             PCRE library
BIG-IQ Device                   4.2.0 - 4.5.0                      None                                   Low             PCRE library
BIG-IQ Security                 4.0.0 - 4.5.0                      None                                   Low             PCRE library
BIG-IQ ADC                      4.5.0                              None                                   Low             PCRE library
BIG-IQ Centralized Management   4.6.0                              None                                   Low             PCRE library
BIG-IQ Cloud and Orchestration  1.0.0                              None                                   Low             PCRE library
LineRate                        2.5.0 - 2.6.1                      None                                   Low             PCRE library
F5 WebSafe                      None                               1.0.0                                  Not vulnerable  None
Traffix SDC                     4.0.0 - 4.4.0                      None                                   Low             PCRE library
                                3.3.2 - 3.5.1

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.

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.

Supplemental Information

SOL9970: Subscribing to email notifications regarding F5 products

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

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

iQIVAwUBVrQAHX6ZAP0PgtI9AQIq+A//Tq8Q3g1MUb5Q4elPFIbp2CC495VASwkf
yL1jFSMc3nvIvcRuwMC8DAsj0mt89RIDJ9yyuaoe1CNKJJJvumN9sE1gITBt1y/+
C7DE9anSVxdfedtSEFzKMQbeWXkVF4aPCtpTmi8hdHeVnHv1G6vfo0j9a8b9aQKa
jtfBzJlv8DKyzexWMKDrKbZbXwNiqH+A1fsW8qeJ+LFy5ZaSFTPrJTs0bZhP4Za3
NcYQ5NXLii0uMAdptwVX0Uuc+CKnLiFF2djJa41fr+tohEjxiOJpiV3ol4354/pv
Dxsa6dKsmGJs89+AONeNHRZCZMmA5g/dAEPXitCnJo6y9m5SEhq8gLtumLmqTeTc
oI75RBliUN0RvJYMj2huFOqtBFgP46KIBn0dpAMVB8XFiwlBatK7ZAsuVnqjGLJp
RP4sbz5YFdns5wtAJ71+C6yOZUYxL9HnRUcwhlZAcSwsOBeErg7I7StF1r0FKa7t
yPLtKtN9nQPhnJxZAWZLssOxG3EikLolDQkyfY/mkSRSXvSHyQ0oPX9JYLPNSHtZ
Zy3c5iHVGKm1pS0KLBtEH5oPx8jag4YbIM1q/CPHHuuKUw2x46AKyNSZY8Ctl0BJ
kPQoloJnrnWHBID8S+ptqGW1cJvnHwloaiJ+eBtWgZh+3cHXIByJQbjN+qpVlzW7
ah/vXFAyAMk=
=9ahq
-----END PGP SIGNATURE-----