Back

HIGH

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

Published Dec 17, 2008

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.

Affected products

Remediation

Red Hat statement

We do not consider these to be security issues. For more details see https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=169857#c1 and https://www.php.net/security-note.php

Metrics

Weaknesses (1)

References (19)

Change history (0)

No recorded changes yet.

Sources
CVE.org / MITRE
Status PUBLISHED
Assigner mitre
Published Dec 17, 2008
Updated Aug 7, 2024
Reserved Dec 17, 2008
NVD
Status Modified
Modified Jun 16, 2026
Red Hat
Severity Low
Public date Dec 4, 2008