National Cyber-Alert System
Vulnerability Summary for CVE-2008-5624
Original release date:12/17/2008
Last revised:07/15/2009
Source:
US-CERT/NIST
Overview
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.
Impact
CVSS Severity (version 2.0):
Impact Subscore:
6.4
Exploitability Subscore:
10.0
CVSS Version 2 Metrics:
Access Vector: Network exploitable
Access Complexity: Low
Authentication: Not required to exploit
Impact Type:Allows unauthorized disclosure of information; Allows unauthorized modification; Allows disruption of service
- Official Statement from Red Hat (03/17/2009)
-
We do not consider these to be security issues. For more details see http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=169857#c1 and http://www.php.net/security-note.php
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.
External Source: XF
Name: php-getuid-safemode-bypass(47318)
External Source: BID
Name: 32688
External Source: BUGTRAQ
Name: 20090302 rPSA-2009-0035-1 php php-cgi php-imap php-mcrypt php-mysql php-mysqli php-pgsql php-soap php-xsl php5 php5-cgi php5-imap php5-mcrypt php5-mysql php5-mysqli php5-pear php5-pgsql php5-soap php5-xsl
External Source: BUGTRAQ
Name: 20081206 SecurityReason: PHP 5.2.6 SAPI php_getuid() overload
External Source: CONFIRM
Name: http://www.php.net/ChangeLog-5.php#5.2.7
External Source: MANDRIVA
Name: MDVSA-2009:045
External Source: DEBIAN
Name: DSA-1789
External Source: CONFIRM
Name: http://wiki.rpath.com/Advisories:rPSA-2009-0035
External Source: SREASONRES
Name: 20081205 PHP 5.2.6 SAPI php_getuid() overload
External Source: SECUNIA
Name: 35650
External Source: SECUNIA
Name: 35003
External Source: OSVDB
Name: 52207
External Source: OSVDB
Name: 50483
External Source: HP
Name: HPSBUX02431
External Source: HP
Name: HPSBUX02431