Tenable SecurityCenter PHP < 5.6.25 Multiple Vulnerabilities (TNS-2016-09)

This script is Copyright (C) 2017 Tenable Network Security, Inc.


Synopsis :

The Tenable SecurityCenter application on the remote host contains a
PHP library that is affected by multiple vulnerabilities.

Description :

The Tenable SecurityCenter application installed on the remote host
is missing a security patch. It is, therefore, affected by multiple
vulnerabilities in the bundled version of PHP :

- An unspecified flaw exists in the object_common2()
function in var_unserializer.c that occurs when handling
objects during deserialization. An unauthenticated,
remote attacker can exploit this to execute arbitrary
code. (CVE-2016-7124)

- An unspecified flaw exists in session.c that occurs
when handling session names. An unauthenticated, remote
attacker can exploit this to inject arbitrary data into
sessions. (CVE-2016-7125)

- An integer truncation flaw exists in the select_colors()
function in gd_topal.c that is triggered when handling
the number of colors. An unauthenticated, remote
attacker can exploit to cause a heap-based buffer
overflow, resulting in the execution of arbitrary code.
(CVE-2016-7126)

- An indexing flaw exists in the imagegammacorrect()
function in gd.c that occurs when handling negative
gamma values. An unauthenticated, remote attacker can
exploit this to write a NULL to an arbitrary memory
location, resulting in a denial of service condition or
the execution of arbitrary code. (CVE-2016-7127)

- A flaw exists in the exif_process_IFD_in_TIFF() function
in exif.c that occurs when handling TIFF image content.
An unauthenticated, remote attacker can exploit this to
disclose memory contents. (CVE-2016-7128)

- A flaw exists in the php_wddx_process_data() function in
wddx.c that occurs when deserializing invalid dateTime
values. An unauthenticated, remote attacker can exploit
this to cause a denial of service condition.
(CVE-2016-7129)

- A NULL pointer dereference flaw exists in the
php_wddx_pop_element() function in wddx.c that is
triggered during the handling of Base64 binary values.
An unauthenticated, remote attacker can exploit this to
cause a denial of service condition. (CVE-2016-7130)

- A NULL pointer dereference flaw exists in the
php_wddx_deserialize_ex() function in wddx.c that occurs
during the handling of invalid XML content. An
unauthenticated, remote attacker can exploit this to
cause a denial of service condition. (CVE-2016-7131)

- An unspecified NULL pointer dereference flaw exists in
the php_wddx_pop_element() function in wddx.c. An
unauthenticated, remote attacker can exploit this to
cause a denial of service condition. CVE-2016-7132)

- An integer overflow condition exists in the
php_snmp_parse_oid() function in snmp.c. An
unauthenticated, remote attacker can exploit this to
cause a heap-based buffer overflow, resulting in the
execution of arbitrary code. (VulnDB 143100)

- An overflow condition exists in the sql_regcase()
function in ereg.c due to improper handling of overly
long strings. An unauthenticated, remote attacker
can exploit this to corrupt memory, resulting in the
execution of arbitrary code. (VulnDB 143102)

- An integer overflow condition exists in the
php_base64_encode() function in base64.c that occurs
when handling overly long strings. An unauthenticated,
remote attacker can exploit this to execute arbitrary
code. (VulnDB 143105)

- An integer overflow condition exists in the
php_quot_print_encode() function in quot_print.c that
occurs when handling overly long strings. An
unauthenticated, remote attacker can exploit this to
cause a heap-based buffer overflow condition, resulting
in the execution of arbitrary code. (VulnDB 143107)

- A use-after-free error exists in the unserialize()
function in var.c. An unauthenticated, remote attacker
can exploit this to dereference already freed memory,
resulting in the execution of arbitrary code.
(VulnDB 143108)

- A flaw exists in the php_ftp_fopen_connect() function in
ftp_fopen_wrapper.c that allows a man-in-the-middle
attacker to silently downgrade to regular FTP even if a
secure method has been requested. (VulnDB 143109)

- An integer overflow condition exists in the
php_url_encode() function in url.c that occurs when
handling overly long strings. An unauthenticated, remote
attacker can exploit this to corrupt memory, resulting
in the execution of arbitrary code. (VulnDB 143112)

- An integer overflow condition exists in the
php_uuencode() function in uuencode.c. An
unauthenticated, remote attacker can exploit this to
corrupt memory, resulting in the execution of arbitrary
code. (VulnDB 143113)

- An integer overflow condition exists in the
bzdecompress() function in bz2.c. An unauthenticated,
remote attacker can exploit this to corrupt memory,
resulting in the execution of arbitrary code.
(VulnDB 143114)

- An integer overflow condition exists in the
curl_escape() function in interface.c that occurs when
handling overly long escaped strings. An
unauthenticated, remote attacker can exploit this to
corrupt memory, resulting in the execution of arbitrary
code. (VulnDB 143117)

Note that Nessus has not tested for these issues but has instead
relied only on the application's self-reported version number.

See also :

https://www.tenable.com/security/tns-2016-19
http://php.net/ChangeLog-5.php#5.6.25

Solution :

Upgrade to SecurityCenter version 5.4.1 or later. Alternatively,
contact the vendor for a patch.

Risk factor :

High / CVSS Base Score : 9.3
(CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C)
CVSS Temporal Score : 7.3
(CVSS2#E:POC/RL:OF/RC:ND)
Public Exploit Available : true

Ready to Amp Up Your Nessus Experience?

Get Nessus Professional to scan unlimited IPs, run compliance checks & more

Buy Nessus Professional Now