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.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published: 2008-12-17T17:00:00

Updated: 2024-08-07T10:56:47.366Z

Reserved: 2008-12-17T00:00:00

Link: CVE-2008-5624

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2008-12-17T17:30:00.453

Modified: 2024-11-21T00:54:29.380

Link: CVE-2008-5624

cve-icon Redhat

Severity : Low

Publid Date: 2008-12-04T00:00:00Z

Links: CVE-2008-5624 - Bugzilla