PHP 5.2.x < 5.2.15 Multiple Vulnerabilities

High Nessus Network Monitor Plugin ID 5733

Synopsis

The remote web server uses a version of PHP that is affected by multiple vulnerabilities.

Description

According to its banner the version of PHP installed on the remote host is earlier than 5.2.15. Such versions are potentially affected by multiple vulnerabilities :

- A crash in the zip extract method.

- A possible double free exists in the IMAP extension. (CVE-2010-4150)

- An unspecified flaw exists in 'open_basedir'. (CVE-2010-3436)

- A possible crash could occur in 'mssql_fetch_batch()'.

- A NULL pointer dereference exists in 'zipArchive::getArchiveComment'. (CVE-2010-3709)

- A crash exists if anti-aliasing steps are invalid. (Bug 53492)

- A crash exists in pdo_firebird get_Attribute(). (Bug 53323)

- A use-after-free vulnerability in the Zend engine when a '__set()', '__get()', or '__unset()' method is called can allow for a denial of service attack. (Bug #52879 / CVE-2010-4697)

- A stack-based buffer overflow exists in the 'imagepstext()' function in the GD extension. (Bug #53492 / CVE-2010-4698)

- The extract function does not prevent use of the EXTR_OVERWRITE parameter to overwrite the GLOBALS superglobal array and the 'this' variable, which allows attackers to bypass intended access restrictions. (CVE-2011-0752)

Solution

Upgrade to PHP version 5.2.15 or later.

See Also

http://www.php.net/releases/5_2_15.php

http://www.php.net/ChangeLog-5.php#5.2.15

Plugin Details

Severity: High

ID: 5733

File Name: 5733.prm

Family: Web Servers

Published: 2010/12/13

Modified: 2016/11/23

Dependencies: 8682

Nessus ID: 51139

Risk Information

Risk Factor: High

CVSSv2

Base Score: 7.5

Temporal Score: 6.2

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

Temporal Vector: CVSS2#E:F/RL:OF/RC:C

CVSSv3

Base Score: 7.3

Temporal Score: 6.8

Vector: CVSS3#AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

Temporal Vector: CVSS3#E:F/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:php:php

Patch Publication Date: 2010/12/10

Vulnerability Publication Date: 2010/12/10

Reference Information

CVE: CVE-2010-3709, CVE-2010-3436, CVE-2010-4150, CVE-2010-4697, CVE-2010-4698, CVE-2010-0752

BID: 44718, 44723, 45335, 45952, 46448