PHP < 4.4.9 Multiple Vulnerabilities

high Nessus Plugin ID 33849

Synopsis

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

Description

According to its banner, the version of PHP installed on the remote host is older than 4.4.9. Such versions may be affected by several security issues :

- There are unspecified issues in the bundled PCRE library fixed by version 7.7.

- A buffer overflow in the 'imageloadfont()' function in 'ext/gd/gd.c' can be triggered when a specially crafted font is given. (CVE-2008-3658)

- A buffer overflow exists in the internal 'memnstr()' function, which is exposed to userspace as 'explode()'.
(CVE-2008-3659)

- A denial of service vulnerability exists when a filename contains 2 dots. (CVE-2008-3660)

- An 'open_basedir' handling issue in the curl extension.

- 'mbstring.func_overload' set in '.htaccess' becomes global. (CVE-2009-0754)

Note that the release announcement states this will be the last release for the PHP 4.4 series.

Solution

Upgrade to PHP version 4.4.9 or later.

See Also

http://www.php.net/ChangeLog-4.php#4.4.9

http://www.php.net/releases/4_4_9.php

https://www.openwall.com/lists/oss-security/2008/08/08/2

https://bugs.php.net/bug.php?id=27421

Plugin Details

Severity: High

ID: 33849

File Name: php_4_4_9.nasl

Version: 1.30

Type: remote

Family: CGI abuses

Published: 8/8/2008

Updated: 11/22/2024

Configuration: Enable thorough checks

Supported Sensors: Nessus

Enable CGI Scanning: true

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.9

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

Vulnerability Information

CPE: cpe:/a:php:php

Required KB Items: www/PHP

Exploit Ease: No exploit is required

Reference Information

CVE: CVE-2007-4850, CVE-2008-3658, CVE-2008-3659, CVE-2008-3660, CVE-2009-0754

BID: 30649, 31612, 33542, 27413

CWE: 119, 134, 20, 264

SECUNIA: 31409