PHP php_variables.c memory disclosure
| php-phpinfo-disclose-memory (17393) |
Description:
PHP could allow a remote attacker to obtain sensitive information, caused by a vulnerability in the php_variables.c file. By sending a specially-crafted HTTP request to the phpinfo.php script and appending a GET, POST, or COOKIE variable array, a remote attacker could obtain memory contents.
Consequences:
Obtain Information
Remedy:
For PHP 5.0.1:
Apply the patch for this vulnerability, available from the PHP Web site. See References.
For Fedora Core 2:
Upgrade to the latest php package (4.3.10-2.4 or later), as listed in Fedora Update Notification FEDORA-2004-567. See References.
For other distributions:
Contact your vendor for upgrade or patch information.
References:
- Fedora Update Notification FEDORA-2004-567: Fedora: php-4.3.10-2.4 update.
- PHP Web site: Source Log for php-src/main/php_variables.c.
- VulnWatch Mailing List, Wed Sep 15 2004 - 11:59:41 CDT : PHP Vulnerability N. 1.
- BID-11334: PHP PHP_Variables Remote Memory Disclosure Vulnerability
- CVE-2004-0958: php_variables.c in PHP before 5.0.2 allows remote attackers to read sensitive memory contents via (1) GET, (2) POST, or (3) COOKIE GPC variables that end in an open bracket character, which causes PHP to calculate an incorrect string length.
- GLSA-200410-04: PHP: Memory disclosure and arbitrary location file upload
- RHSA-2004-687: php security update
- SA12560: PHP Memory Leak and Arbitrary File Location Upload Vulnerabilities
- SECTRACK ID: 1011279: PHP Array Parsing Error in php_variables May Disclose Memory Contents via phpinfo()
Platforms Affected:
- FedoraProject Fedora Core 2
- PHP PHP 4.2.0
- PHP PHP 4.2.1
- PHP PHP 4.2.2
- PHP PHP 4.2.3
- PHP PHP 4.2.4
- PHP PHP 4.3.0
- PHP PHP 4.3.1
- PHP PHP 4.3.10
- PHP PHP 4.3.11
- PHP PHP 4.3.2
- PHP PHP 4.3.3
- PHP PHP 4.3.4
- PHP PHP 4.3.5
- PHP PHP 4.3.6
- PHP PHP 4.3.7
- PHP PHP 4.3.8
- PHP PHP 4.3.9
- PHP PHP 4.4.0
- PHP PHP 4.4.1
- PHP PHP 4.4.2
- PHP PHP 4.4.3
- PHP PHP 4.4.4
- PHP PHP 4.4.5
- PHP PHP 4.4.6
- PHP PHP 4.4.7
- PHP PHP 4.4.8
- PHP PHP 5.0.0 RC3
- PHP PHP 5.0.0 RC2
- PHP PHP 5.0.0 RC1
- PHP PHP 5.0.0 Beta4
- PHP PHP 5.0.0 Beta3
- PHP PHP 5.0.0 Beta2
- PHP PHP 5.0.0 Beta1
- PHP PHP 5.0.0
- PHP PHP 5.0.1
- RedHat Enterprise Linux 3 WS
- RedHat Enterprise Linux 3 AS
- RedHat Enterprise Linux 3 Desktop
- RedHat Enterprise Linux 3 ES
Reported:
Sep 15, 2004
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
For corrections or additions please email xforce@iss.net
