{
    "CVE_data_meta": {
        "ASSIGNER": "cve@mitre.org",
        "ID": "CVE-2008-5624",
        "STATE": "PUBLIC"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "product": {
                        "product_data": [
                            {
                                "product_name": "n/a",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "n/a"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "vendor_name": "n/a"
                }
            ]
        }
    },
    "data_format": "MITRE",
    "data_type": "CVE",
    "data_version": "4.0",
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "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."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "n/a"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "name": "HPSBUX02465",
                "refsource": "HP",
                "url": "http://marc.info/?l=bugtraq&m=125631037611762&w=2"
            },
            {
                "name": "SSRT090085",
                "refsource": "HP",
                "url": "http://marc.info/?l=bugtraq&m=124654546101607&w=2"
            },
            {
                "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",
                "refsource": "BUGTRAQ",
                "url": "http://www.securityfocus.com/archive/1/501376/100/0/threaded"
            },
            {
                "name": "php-getuid-safemode-bypass(47318)",
                "refsource": "XF",
                "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/47318"
            },
            {
                "name": "http://wiki.rpath.com/Advisories:rPSA-2009-0035",
                "refsource": "CONFIRM",
                "url": "http://wiki.rpath.com/Advisories:rPSA-2009-0035"
            },
            {
                "name": "SSRT090192",
                "refsource": "HP",
                "url": "http://marc.info/?l=bugtraq&m=125631037611762&w=2"
            },
            {
                "name": "32688",
                "refsource": "BID",
                "url": "http://www.securityfocus.com/bid/32688"
            },
            {
                "name": "35003",
                "refsource": "SECUNIA",
                "url": "http://secunia.com/advisories/35003"
            },
            {
                "name": "http://www.php.net/ChangeLog-5.php#5.2.7",
                "refsource": "CONFIRM",
                "url": "http://www.php.net/ChangeLog-5.php#5.2.7"
            },
            {
                "name": "MDVSA-2009:045",
                "refsource": "MANDRIVA",
                "url": "http://www.mandriva.com/security/advisories?name=MDVSA-2009:045"
            },
            {
                "name": "50483",
                "refsource": "OSVDB",
                "url": "http://osvdb.org/50483"
            },
            {
                "name": "HPSBUX02431",
                "refsource": "HP",
                "url": "http://marc.info/?l=bugtraq&m=124654546101607&w=2"
            },
            {
                "name": "20081205 PHP 5.2.6 SAPI php_getuid() overload",
                "refsource": "SREASONRES",
                "url": "http://securityreason.com/achievement_securityalert/59"
            },
            {
                "name": "52207",
                "refsource": "OSVDB",
                "url": "http://osvdb.org/52207"
            },
            {
                "name": "20081206 SecurityReason: PHP 5.2.6 SAPI php_getuid() overload",
                "refsource": "BUGTRAQ",
                "url": "http://www.securityfocus.com/archive/1/498985/100/0/threaded"
            },
            {
                "name": "35650",
                "refsource": "SECUNIA",
                "url": "http://secunia.com/advisories/35650"
            },
            {
                "name": "DSA-1789",
                "refsource": "DEBIAN",
                "url": "http://www.debian.org/security/2009/dsa-1789"
            }
        ]
    }
}