1. CVE archive
  2. 2008
  3. CVE-2008-5624

CVE-2008-5624

7.5 High severity CVSS v2.0 · source NVD AV:N/AC:L/Au:N/C:P/I:P/A:P 7.5 – High

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 products

VendorProductVersionPlatform
php php 5.0.0 –
php php 5.0.0 beta1 –
php php 5.0.0 beta2 –
php php 5.0.0 beta3 –
php php 5.0.0 beta4 –
php php 5.0.0 rc1 –
php php 5.0.0 rc2 –
php php 5.0.0 rc3 –
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 –
All 757 Php vulnerabilities

Vulnerability type

CWE-264 Permissions, Privileges, and Access Controls

Weaknesses in this category are related to the management of permissions, privileges, and other security features that are used to perform access control.

Broad category: NVD uses it when it does not assign a more specific type.

All 5,272 CWE-264 CVEs, with trend and prevention

Source: MITRE CWE catalog · cwe.mitre.org