NetSight
high7.5

CVE-2008-5624

PHP 5 before 5.2.7 does not properly initialize the page_uid and page_gid global variables for use by the SAPI php_getuid function, which allows context-depend…

Impact

PHP 5 before 5.2.7 does not properly initialize the page_uid and page_gid global variables for use by the SAPI php_getuid function, which allows context-dependent attackers to bypass safe_mode restrictions via variable settings that are intended to be restricted to root, as demonstrated by a setting of /etc for the error_log variable.

Affected products

VendorProductAffected versions
PhpPhp
Versions 5.0.0, 5.0.1, 5.0.2, 5.0.3, 5.0.4, 5.0.5

Weakness classification

References