SecurityTracker.com
Keep Track of the Latest Vulnerabilities
with SecurityTracker!
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


 
Sign Up
Sign Up for Your FREE Weekly SecurityTracker E-mail Alert Summary
Instant Alerts
Buy our Premium Vulnerability Notification Service to receive customized, instant alerts
Affiliates
Put SecurityTracker Vulnerability Alerts on Your Web Site -- It's Free!
Partners
Become a Partner and License Our Database or Notification Service
Report a Bug
Report a vulnerability that you have found to SecurityTracker
bugs
@
securitytracker.com






Category:   Application (Generic)  >   PHP Vendors:   PHP Group
(Gentoo Issues Fix) PHP May Apply Incorrect php_admin_* Settings To Requests for Apache Virtual Hosts
SecurityTracker Alert ID:  1008975
SecurityTracker URL:  http://securitytracker.com/id/1008975
CVE Reference:   GENERIC-MAP-NOMATCH   (Links to External Site)
Date:  Feb 7 2004
Impact:   Disclosure of system information, Disclosure of user information, User access via network
Fix Available:  Yes  Vendor Confirmed:  Yes  
Version(s): 4.3.4 and prior versions
Description:   A vulnerability was reported in PHP when used on Apache in a virtual host configuration. Some 'php.ini' settings applicable to one virtual host may be incorrectly applied to a different virtual host in certain cases.

It is reported that if the target server's 'php.ini' file contains the 'register_globals = on' setting and an HTTP request is made to one virtual host and the subsequent HTTP request is made to the same Apache child process but to a different virtual host, some php_admin_* settings from the former virtual host may incorrectly persist and be applied to the latter virtual host.

The bug reportedly resides in 'sapi/apache/mod_php4.c'.

Impact:   The specific impact depends on the configuration. A remote user may be able to gain access to restricted directories or files.
Solution:   Gentoo has released a fix and recommends that you upgrade your mod_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"

Vendor URL:  bugs.php.net/bug.php?id=25753 (Links to External Site)
Cause:   Access control error, State error
Underlying OS:   Linux (Gentoo)

Message History:   This archive entry is a follow-up to the message listed below.
Feb 7 2004 PHP May Apply Incorrect php_admin_* Settings To Requests for Apache Virtual Hosts



 Source Message Contents

Date:  Sat, 07 Feb 2004 01:02:40 +0000
Subject:  [gentoo-announce] [ GLSA 200402-01 ] PHP setting leaks from .htaccess files on virtual


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 200402-01
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
~                                            http://security.gentoo.org
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

~  Severity: Normal
~     Title: PHP setting leaks from .htaccess files on virtual hosts
~      Date: February 07, 2004
~      Bugs: #39952
~        ID: 200402-01

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
========

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. This may lead to leaks of global variables.

Background
==========

PHP is a widely-used general-purpose scripting language that is
especially suited for Web development and can be embedded into HTML.

Description
===========

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, an attacker 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.

Resolution
==========

All users are recommended to upgrade their mod_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"

Concerns?
=========

Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users machines is of utmost
importance to us. Any security concerns should be addressed to
security@gentoo.org or alternatively, you may file a bug at
http://bugs.gentoo.org.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFAJDkqMMXbAy2b2EIRAhRMAJ9SDV/WHYdUDqADIp29JmqGeFQszQCdFvRV
nCYFaIKKbzwJKHa9IUa2fvk=
=SM5z
-----END PGP SIGNATURE-----

 
 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

Copyright 2012, SecurityGlobal.net LLC