Back to search
CVE-2008-5624
Published: Dec 17, 2008
Modified: Aug 7, 2024
PUBLISHED
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.
| Vendor | Product | Versions |
|---|---|---|
n/a | n/a | affected n/a |
References
HPSBUX02465
vendor-advisory
x_refsource_HP
SSRT090085
vendor-advisory
x_refsource_HP
php-getuid-safemode-bypass(47318)
vdb-entry
x_refsource_XF
http://wiki.rpath.com/Advisories:rPSA-2009-0035
x_refsource_CONFIRM
SSRT090192
vendor-advisory
x_refsource_HP
32688
vdb-entry
x_refsource_BID
35003
third-party-advisory
x_refsource_SECUNIA
http://www.php.net/ChangeLog-5.php#5.2.7
x_refsource_CONFIRM
MDVSA-2009:045
vendor-advisory
x_refsource_MANDRIVA
50483
vdb-entry
x_refsource_OSVDB
HPSBUX02431
vendor-advisory
x_refsource_HP
20081205 PHP 5.2.6 SAPI php_getuid() overload
third-party-advisory
x_refsource_SREASONRES
52207
vdb-entry
x_refsource_OSVDB
20081206 SecurityReason: PHP 5.2.6 SAPI php_getuid() overload
mailing-list
x_refsource_BUGTRAQ
35650
third-party-advisory
x_refsource_SECUNIA
DSA-1789
vendor-advisory
x_refsource_DEBIAN
Security Training
Train your team to recognize and prevent security threats with our comprehensive security awareness program.
Start TrainingVulnerability Scanning
Discover vulnerabilities in your applications and infrastructure before attackers do.
Scan Now