PHP < 4.4.1 / 5.0.6 Multiple Vulnerabilities

high Nessus Plugin ID 20111
New! Plugin Severity Now Using CVSS v3

The calculated severity for Plugins has been updated to use CVSS v3 by default. Plugins that do not have a CVSS v3 score will fall back to CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

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 4.4.1 or 5.0.6. Such versions fail to protect the '$GLOBALS' superglobals variable from being overwritten due to weaknesses in the file upload handling code as well as the 'extract()' and 'import_request_variables()' functions. Depending on the nature of the PHP applications on the affected host, exploitation of this issue may lead to any number of attacks, including arbitrary code execution.

In addition, these versions may enable an attacker to exploit an integer overflow flaw in certain certain versions of the PCRE library, to enable PHP's 'register_globals' setting even if explicitly disabled in the configuration, and to launch cross-site scripting attacks involving PHP's 'phpinfo()' function.

Solution

Upgrade to PHP version 4.4.1 / 5.0.6 or later.

See Also

http://www.php.net/release_4_4_1.php

http://www.hardened-php.net/advisory_192005.78.html

http://www.hardened-php.net/advisory_182005.77.html

http://www.hardened-php.net/advisory_202005.79.html

Plugin Details

Severity: High

ID: 20111

File Name: php_4_4_1.nasl

Version: 1.24

Type: remote

Family: CGI abuses

Published: 11/1/2005

Updated: 1/19/2021

Dependencies: php_version.nasl

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

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

Vulnerability Information

CPE: cpe:2.3:a:php:php:*:*:*:*:*:*:*:*

Required KB Items: www/PHP

Exploit Ease: No exploit is required

Vulnerability Publication Date: 8/20/2005

Reference Information

CVE: CVE-2005-3388, CVE-2005-3389, CVE-2005-3390, CVE-2005-2491, CVE-2002-0229

BID: 15248, 15249, 15250, 14620

CWE: 20, 79, 74, 442, 629, 711, 712, 722, 725, 750, 751, 800, 801, 809, 811, 864, 900, 928, 931, 990