CVE-2008-5624

php: missing initialization of BG(page_uid) and BG(page_gid)

Published Dec 17, 2008 CVSS 2.0 · 7.5 High EPSS 2.2% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DSA Debian DSA DSA-1789-1 New php5 packages fix several vulnerabilities
EUVD EUVD EUVD-2008-5598 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.
Ubuntu USN Ubuntu USN USN-720-1 PHP vulnerabilities
Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 7, 2024, 10:56 AM
Reserved
Dec 17, 2008, 12:00 AM
Status
Modified
Published
Dec 17, 2008, 5:30 PM
Modified
Jun 16, 2026, 11:00 PM
Severity
Low
Public date
Dec 4, 2008, 12:00 AM