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-200402-01] PHP setting leaks from .htaccess files on virtual hosts


Vulnerability Assessment Details

[GLSA-200402-01] PHP setting leaks from .htaccess files on virtual hosts

Vulnerability Assessment Summary
PHP setting leaks from .htaccess files on virtual hosts

Detailed Explanation for this Vulnerability Assessment
The remote host is affected by the vulnerability described in GLSA-200402-01
(PHP setting leaks from .htaccess files on virtual hosts)


If the server configuration "php.ini" file has
"register_globals = on" and a request is made to one virtual host
(which has "php_admin_flag register_globals off") and the next
request is sent to the another virtual host (which does not have the
setting) through the same apache child, the setting will persist.

Impact

Depending on the server and site, a possible hacker may be able to exploit
global variables to gain access to reserved areas, such as MySQL passwords,
or this vulnerability may simply cause a lack of functionality. As a
result, users are urged to upgrade their PHP installations.
Gentoo ships PHP with "register_globals" set to "off"
by default.
This issue affects both servers running Apache 1.x and servers running
Apache 2.x.

Workaround

No immediate workaround is available
a software upgrade is required.

References:
http://bugs.php.net/bug.php?id=25753


Solution:
All users are recommended to upgrade their PHP installation to 4.3.4-r4:
# emerge sync
# emerge -pv ">=dev-php/mod_php-4.3.4-r4"
# emerge ">=dev-php/mod_php-4.3.4-r4"


Network Security Threat Level: Medium


Networks Security ID:

Vulnerability Assessment Copyright: (C) 2005 Michel Arboi

Cables, Connectors

IBM x3650 M3 2x Xeon E5620 Quad-Core 2.4GHz 64GB RAM 3x 146GB 15K
$250.0
IBM x3650 M3 2x Xeon E5620 Quad-Core 2.4GHz 64GB RAM 3x 146GB 15K picture* HP Proliant DL360 G7 w/ 2x Intel Xeon X5550 @ 2.66GHz, 144GB RAM, No HDD's
$379.99
* HP Proliant DL360 G7 w/ 2x Intel Xeon X5550 @ 2.66GHz, 144GB RAM, No HDD's pictureSolarflare SFN6122F Dual-Port 10GbE SFP+ Server Adapter
$9.99
Solarflare SFN6122F Dual-Port 10GbE SFP+ Server Adapter  picture371-0799-01 SUN SUNFIRE V240 602-3146-01 SERVER RISER BOARD PCI 2 SLOT
$17.99
371-0799-01 SUN SUNFIRE V240 602-3146-01 SERVER RISER BOARD PCI 2 SLOT picture


Discussions

No Discussions have been posted on this vulnerability.