Skip to content

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-dependent attackers to bypass safe_mode restric...

HighCVSS 7.5 EPSS 2.2%
Published
Updated
Exploit status
No public exploit known

Description

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

ProductAffected versionsFixed in
PHP = 5.0.0 No fix listed
PHP = 5.0.0-beta1 No fix listed
PHP = 5.0.0-beta2 No fix listed
PHP = 5.0.0-beta3 No fix listed
PHP = 5.0.0-beta4 No fix listed
PHP = 5.0.0-rc1 No fix listed
PHP = 5.0.0-rc2 No fix listed
PHP = 5.0.0-rc3 No fix listed
PHP = 5.0.1 No fix listed
PHP = 5.0.2 No fix listed
PHP = 5.0.3 No fix listed
PHP = 5.0.4 No fix listed
PHP = 5.0.5 No fix listed
PHP = 5.1.0 No fix listed
PHP = 5.1.1 No fix listed
PHP = 5.1.2 No fix listed
PHP = 5.1.3 No fix listed
PHP = 5.1.4 No fix listed
PHP = 5.1.5 No fix listed
PHP = 5.1.6 No fix listed
PHP = 5.2.0 No fix listed
PHP = 5.2.1 No fix listed
PHP = 5.2.2 No fix listed
PHP = 5.2.3 No fix listed
PHP = 5.2.4 No fix listed
Show 3 more
ProductAffected versionsFixed in
PHP = 5.2.5 No fix listed
PHP = 5.2.6 No fix listed
PHP = 5.2.7 No fix listed

References