CVE Database
/

CVE-2008-5624

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.

VendorProductVersions

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
SSRT090192
vendor-advisory
x_refsource_HP
32688
vdb-entry
x_refsource_BID
35003
third-party-advisory
x_refsource_SECUNIA
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
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 Training

Vulnerability Scanning

Discover vulnerabilities in your applications and infrastructure before attackers do.

Scan Now