Vulnerability Assessment & Network Security Forums



If through a vulnerability assessment, a network security issue is detected for the vulnerability below, applying the appropriate security patches in a timely matter is very important.  If you have detected that your system has already been compromised, following CERT's Network Security recovery document will assist with recommended steps for system recovery.


Home >> Browse Vulnerability Assessment Database >> Gentoo Local Security Checks >> [GLSA-200410-04] PHP: Memory disclosure and arbitrary location file upload


Vulnerability Assessment Details

[GLSA-200410-04] PHP: Memory disclosure and arbitrary location file upload

Vulnerability Assessment Summary
PHP: Memory disclosure and arbitrary location file upload

Detailed Explanation for this Vulnerability Assessment
The remote host is affected by the vulnerability described in GLSA-200410-04
(PHP: Memory disclosure and arbitrary location file upload)


Stefano Di Paola discovered two bugs in PHP. The first is a parse error in
php_variables.c that could permit a remote attacker to view the contents of
the target machine's memory. Additionally, an array processing error in the
SAPI_POST_HANDLER_FUNC() function inside rfc1867.c could lead to the
$_FILES array being overwritten.

Impact

A remote attacker could exploit the first vulnerability to view memory
contents. On a server with a script that provides file uploads, a possible hacker
could exploit the second vulnerability to upload files to an arbitrary
location. On systems where the HTTP server is permited to write in a
HTTP-accessible location, this could lead to remote execution of arbitrary
commands with the rights of the HTTP server.

Workaround

There is no known workaround at this time.

References:
http://secunia.com/advisories/12560/
http://www.securityfocus.com/archive/1/375294
http://www.securityfocus.com/archive/1/375370


Solution:
All PHP, mod_php and php-cgi users should upgrade to the latest stable
version:
# emerge sync
# emerge -pv ">=dev-php/php-4.3.9"
# emerge ">=dev-php/php-4.3.9"
# emerge -pv ">=dev-php/mod_php-4.3.9"
# emerge ">=dev-php/mod_php-4.3.9"
# emerge -pv ">=dev-php/php-cgi-4.3.9"
# emerge ">=dev-php/php-cgi-4.3.9"


Network Security Threat Level: Medium


Networks Security ID:

Vulnerability Assessment Copyright: (C) 2005 Michel Arboi

Cables, Connectors


Cisco SFP-10G-T-S 10GBASE-T SFP+, 30m@Cat6a/Cat7, Copper, RJ45 picture

Cisco SFP-10G-T-S 10GBASE-T SFP+, 30m@Cat6a/Cat7, Copper, RJ45

$83.99



Cisco SFP-10/25G-CSR-S 10/25GBASE-CSR SFP28, 850nm, 100m, LC,  picture

Cisco SFP-10/25G-CSR-S 10/25GBASE-CSR SFP28, 850nm, 100m, LC,

$54.00



Cisco SFP-10G-BX40D-I 10GBASE-BX-D BiDi SFP+, 1330nm-TX/1270nm-RX, 40km, LC, SMF picture

Cisco SFP-10G-BX40D-I 10GBASE-BX-D BiDi SFP+, 1330nm-TX/1270nm-RX, 40km, LC, SMF

$59.99



Cisco GLC-TE 1000BASE-T SFP, 100m, Copper, RJ45 picture

Cisco GLC-TE 1000BASE-T SFP, 100m, Copper, RJ45

$27.99



Genuine Cisco SFP-10G-SR V03 10GBASE-SR SFP+ Transceiver Module 10-2415-03  picture

Genuine Cisco SFP-10G-SR V03 10GBASE-SR SFP+ Transceiver Module 10-2415-03

$8.00



SFP-10G-SR Original Cisco 10GBASE-SR SFP+ V02 Multi mode Transceiver 10-2415-02 picture

SFP-10G-SR Original Cisco 10GBASE-SR SFP+ V02 Multi mode Transceiver 10-2415-02

$5.00



Brand New Cisco GLC-LH-SMD 1000BASE-LX/LH SFP Module 1310nm 10km SMF LC picture

Brand New Cisco GLC-LH-SMD 1000BASE-LX/LH SFP Module 1310nm 10km SMF LC

$13.89



Lot of 10 - HP 10Gb SR SFP+ Transceiver 455883-B21 455885-001 456096-001 850nm picture

Lot of 10 - HP 10Gb SR SFP+ Transceiver 455883-B21 455885-001 456096-001 850nm

$23.99



LOT OF 20 Genuine Cisco SFP-10G-SR V03 10GBASE-SR SFP+ Transceiver Module picture

LOT OF 20 Genuine Cisco SFP-10G-SR V03 10GBASE-SR SFP+ Transceiver Module

$89.00



Juniper Networks EX3300-48P 48-Port PoE+ 4x SFP+ Network Switch w/ Power Cord picture

Juniper Networks EX3300-48P 48-Port PoE+ 4x SFP+ Network Switch w/ Power Cord

$43.95



Discussions

No Discussions have been posted on this vulnerability.