Bug 476985 (CVE-2008-5624)

Summary: CVE-2008-5624 php: missing initialization of BG(page_uid) and BG(page_gid)
Product: [Other] Security Response Reporter: Tomas Hoger <thoger>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED DUPLICATE QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: bressers, fedora, jorton, kreilly, rpm
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
URL: http://nvd.nist.gov/nvd.cfm?cvename=CVE-2008-5624
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-02-26 21:29:17 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Tomas Hoger 2008-12-18 14:44:33 UTC
Common Vulnerabilities and Exposures assigned an identifier CVE-2008-5624 to the following vulnerability:

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.

References:
http://securityreason.com/achievement_securityalert/59
http://www.securityfocus.com/archive/1/archive/1/498985/100/0/
http://www.php.net/ChangeLog-5.php#5.2.7
http://www.securityfocus.com/bid/32688
http://xforce.iss.net/xforce/xfdb/47318

Comment 5 Josh Bressers 2009-02-26 21:29:17 UTC

*** This bug has been marked as a duplicate of bug 169857 ***