← Database

CVE-2008-5624

HIGH CVSS: 7.5 Published: 2008-12-17 Modified: 2026-06-16

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 Platforms

Php Php

Weakness Type

CWE-264

References