CVE Vulnerabilities

CVE-2008-5624

Published: Dec 17, 2008 | Modified: Apr 09, 2025
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
7.5 HIGH
AV:N/AC:L/Au:N/C:P/I:P/A:P
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

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 Software

NameVendorStart VersionEnd Version
PhpPhp5.0.0 (including)5.0.0 (including)
PhpPhp5.0.0-beta1 (including)5.0.0-beta1 (including)
PhpPhp5.0.0-beta2 (including)5.0.0-beta2 (including)
PhpPhp5.0.0-beta3 (including)5.0.0-beta3 (including)
PhpPhp5.0.0-beta4 (including)5.0.0-beta4 (including)
PhpPhp5.0.0-rc1 (including)5.0.0-rc1 (including)
PhpPhp5.0.0-rc2 (including)5.0.0-rc2 (including)
PhpPhp5.0.0-rc3 (including)5.0.0-rc3 (including)
PhpPhp5.0.1 (including)5.0.1 (including)
PhpPhp5.0.2 (including)5.0.2 (including)
PhpPhp5.0.3 (including)5.0.3 (including)
PhpPhp5.0.4 (including)5.0.4 (including)
PhpPhp5.0.5 (including)5.0.5 (including)
PhpPhp5.1.0 (including)5.1.0 (including)
PhpPhp5.1.1 (including)5.1.1 (including)
PhpPhp5.1.2 (including)5.1.2 (including)
PhpPhp5.1.3 (including)5.1.3 (including)
PhpPhp5.1.4 (including)5.1.4 (including)
PhpPhp5.1.5 (including)5.1.5 (including)
PhpPhp5.1.6 (including)5.1.6 (including)
PhpPhp5.2.0 (including)5.2.0 (including)
PhpPhp5.2.1 (including)5.2.1 (including)
PhpPhp5.2.2 (including)5.2.2 (including)
PhpPhp5.2.3 (including)5.2.3 (including)
PhpPhp5.2.4 (including)5.2.4 (including)
PhpPhp5.2.5 (including)5.2.5 (including)
PhpPhp5.2.6 (including)5.2.6 (including)
PhpPhp5.2.7 (including)5.2.7 (including)
Php4Ubuntudapper*
Php5Ubuntudapper*
Php5Ubuntugutsy*
Php5Ubuntuhardy*
Php5Ubuntuintrepid*
Php5Ubuntuupstream*

References