Permissions, Privileges, and Access Controls in PHP - CVE-2008-5624

 

Permissions, Privileges, and Access Controls in PHP - CVE-2008-5624

Published: October 11, 2018 / Updated: June 8, 2025


Vulnerability identifier: #VU110334
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2008-5624
CWE-ID: CWE-264
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: PHP Group
Affected software:
PHP

Detailed vulnerability description

The vulnerability allows a remote non-authenticated attacker to read and manipulate data.

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.


How to mitigate CVE-2008-5624

Install update from vendor's website.

Sources