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.
                
            Metrics
Affected Vendors & Products
References
        History
                    Wed, 28 May 2025 14:45:00 +0000
| Type | Values Removed | Values Added | 
|---|---|---|
| References | 
Thu, 22 May 2025 04:30:00 +0000
| Type | Values Removed | Values Added | 
|---|---|---|
| References | 
 MITRE
                        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
 Vulnrichment
                        Vulnrichment
                    No data.
 NVD
                        NVD
                    Status : Deferred
Published: 2008-12-17T17:30:00.453
Modified: 2025-04-09T00:30:58.490
Link: CVE-2008-5624
 Redhat
                        Redhat