{
    "data_version": "4.0",
    "data_type": "CVE",
    "data_format": "MITRE",
    "CVE_data_meta": {
        "ID": "CVE-2012-0831",
        "ASSIGNER": "secalert@redhat.com",
        "STATE": "PUBLIC"
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "PHP before 5.3.10 does not properly perform a temporary change to the magic_quotes_gpc directive during the importing of environment variables, which makes it easier for remote attackers to conduct SQL injection attacks via a crafted request, related to main/php_variables.c, sapi/cgi/cgi_main.c, and sapi/fpm/fpm/fpm_main.c."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "n/a"
                    }
                ]
            }
        ]
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "n/a",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "n/a",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_affected": "=",
                                            "version_value": "n/a"
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "references": {
        "reference_data": [
            {
                "url": "http://lists.apple.com/archives/security-announce/2012/Sep/msg00004.html",
                "refsource": "MISC",
                "name": "http://lists.apple.com/archives/security-announce/2012/Sep/msg00004.html"
            },
            {
                "url": "http://support.apple.com/kb/HT5501",
                "refsource": "MISC",
                "name": "http://support.apple.com/kb/HT5501"
            },
            {
                "url": "http://lists.opensuse.org/opensuse-security-announce/2012-03/msg00013.html",
                "refsource": "MISC",
                "name": "http://lists.opensuse.org/opensuse-security-announce/2012-03/msg00013.html"
            },
            {
                "url": "http://lists.opensuse.org/opensuse-security-announce/2012-03/msg00016.html",
                "refsource": "MISC",
                "name": "http://lists.opensuse.org/opensuse-security-announce/2012-03/msg00016.html"
            },
            {
                "url": "http://secunia.com/advisories/48668",
                "refsource": "MISC",
                "name": "http://secunia.com/advisories/48668"
            },
            {
                "url": "http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080037.html",
                "refsource": "MISC",
                "name": "http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080037.html"
            },
            {
                "url": "http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080041.html",
                "refsource": "MISC",
                "name": "http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080041.html"
            },
            {
                "url": "http://lists.opensuse.org/opensuse-security-announce/2012-04/msg00001.html",
                "refsource": "MISC",
                "name": "http://lists.opensuse.org/opensuse-security-announce/2012-04/msg00001.html"
            },
            {
                "url": "http://rhn.redhat.com/errata/RHSA-2013-1307.html",
                "refsource": "MISC",
                "name": "http://rhn.redhat.com/errata/RHSA-2013-1307.html"
            },
            {
                "url": "http://secunia.com/advisories/55078",
                "refsource": "MISC",
                "name": "http://secunia.com/advisories/55078"
            },
            {
                "url": "http://svn.php.net/viewvc?view=revision&revision=323016",
                "refsource": "MISC",
                "name": "http://svn.php.net/viewvc?view=revision&revision=323016"
            },
            {
                "url": "http://www.securityfocus.com/bid/51954",
                "refsource": "MISC",
                "name": "http://www.securityfocus.com/bid/51954"
            },
            {
                "url": "http://www.ubuntu.com/usn/USN-1358-1",
                "refsource": "MISC",
                "name": "http://www.ubuntu.com/usn/USN-1358-1"
            },
            {
                "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/73125",
                "refsource": "MISC",
                "name": "https://exchange.xforce.ibmcloud.com/vulnerabilities/73125"
            },
            {
                "url": "https://launchpadlibrarian.net/92454212/php5_5.3.2-1ubuntu4.13.diff.gz",
                "refsource": "MISC",
                "name": "https://launchpadlibrarian.net/92454212/php5_5.3.2-1ubuntu4.13.diff.gz"
            }
        ]
    }
}