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 restrictions via variable settings that are intended to be restricted to root, as demonstrated by a setting of /etc for the error_log variable.

Score
CVSS 2.0 7.5 High
Status
Modified - cve@mitre.org
Published
2008-12-17
Last modified
2024-08-07
Weaknesses
CWE-264

Affected products

References