PHP < 5.2.6 Multiple Vulnerabilities

high Nessus Plugin ID 32123

Synopsis

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

Description

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

- A stack-based buffer overflow in FastCGI SAPI.

- An integer overflow in printf().

- An security issue arising from improper calculation of the length of PATH_TRANSLATED in cgi_main.c.

- A safe_mode bypass in cURL.

- Incomplete handling of multibyte chars inside escapeshellcmd().

- Issues in the bundled PCRE fixed by version 7.6.

Solution

Upgrade to PHP version 5.2.6 or later.

See Also

https://seclists.org/bugtraq/2008/Mar/285

https://seclists.org/fulldisclosure/2008/May/102

https://seclists.org/fulldisclosure/2008/May/106

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

Plugin Details

Severity: High

ID: 32123

File Name: php_5_2_6.nasl

Version: 1.32

Type: remote

Family: CGI abuses

Published: 5/2/2008

Updated: 11/22/2024

Configuration: Enable thorough checks

Supported Sensors: Nessus

Enable CGI Scanning: true

Risk Information

VPR

Risk Factor: High

Score: 7.4

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-2007-6039, CVE-2008-0599, CVE-2008-1384, CVE-2008-2050, CVE-2008-2051

BID: 27413, 28392, 29009

CWE: 119, 20, 264

SECUNIA: 30048