CVEvulnerability

CVE-2008-5624

7.5 HIGH Published 2008-12-17 Modified 2026-06-16 Official page ↗
Status
Modified
Published
2008-12-17
Last modified
2026-06-16
Assigner
[email protected]
CVSS 2.0 ([email protected])
7.5 HIGH — AV:N/AC:L/Au:N/C:P/I:P/A:P
Weaknesses
CWE-264

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 configurations

• php php 5.0.0 • php php 5.0.1 • php php 5.0.2 • php php 5.0.3 • php php 5.0.4 • php php 5.0.5 • php php 5.1.0 • php php 5.1.1 • php php 5.1.2 • php php 5.1.3 • php php 5.1.4 • php php 5.1.5 • php php 5.1.6 • php php 5.2.0 • php php 5.2.1 • php php 5.2.2 • php php 5.2.3 • php php 5.2.4 • php php 5.2.5 • php php 5.2.6 • php php 5.2.7

Related

Weakness · not in database (1)

References