{"id":"CVE-2012-0831","state":"PUBLISHED","title":"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 att","description":"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.","publishedAt":"2012-02-10T20:00:00.000Z","updatedAt":"2024-08-06T18:38:14.798Z","severity":null,"assigner":"redhat","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["http://www.ubuntu.com/usn/USN-1358-1","http://lists.opensuse.org/opensuse-security-announce/2012-03/msg00013.html","http://secunia.com/advisories/55078","http://svn.php.net/viewvc?view=revision&revision=323016","http://lists.opensuse.org/opensuse-security-announce/2012-03/msg00016.html","http://lists.opensuse.org/opensuse-security-announce/2012-04/msg00001.html","http://secunia.com/advisories/48668","http://lists.apple.com/archives/security-announce/2012/Sep/msg00004.html","http://rhn.redhat.com/errata/RHSA-2013-1307.html","http://support.apple.com/kb/HT5501","http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080041.html","https://launchpadlibrarian.net/92454212/php5_5.3.2-1ubuntu4.13.diff.gz","https://exchange.xforce.ibmcloud.com/vulnerabilities/73125","http://www.securityfocus.com/bid/51954","http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080037.html"],"weaknesses":[],"ingestedAt":"2026-10-29T19:40:10.484Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2012/0xxx/CVE-2012-0831.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2012-0831","state":"PUBLISHED","datePublished":"2012-02-10T20:00:00.000Z","dateUpdated":"2024-08-06T18:38:14.798Z","assignerShortName":"redhat","assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateReserved":"2012-01-19T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","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."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"http://www.ubuntu.com/usn/USN-1358-1","name":"USN-1358-1","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2012-03/msg00013.html","name":"SUSE-SU-2012:0411","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://secunia.com/advisories/55078","name":"55078","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://svn.php.net/viewvc?view=revision&revision=323016","tags":["x_refsource_CONFIRM"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2012-03/msg00016.html","name":"openSUSE-SU-2012:0426","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2012-04/msg00001.html","name":"SUSE-SU-2012:0472","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://secunia.com/advisories/48668","name":"48668","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://lists.apple.com/archives/security-announce/2012/Sep/msg00004.html","name":"APPLE-SA-2012-09-19-2","tags":["vendor-advisory","x_refsource_APPLE"]},{"url":"http://rhn.redhat.com/errata/RHSA-2013-1307.html","name":"RHSA-2013:1307","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://support.apple.com/kb/HT5501","tags":["x_refsource_CONFIRM"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080041.html","name":"FEDORA-2012-6907","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://launchpadlibrarian.net/92454212/php5_5.3.2-1ubuntu4.13.diff.gz","tags":["x_refsource_CONFIRM"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/73125","name":"php-magicquotesgpc-sec-bypass(73125)","tags":["vdb-entry","x_refsource_XF"]},{"url":"http://www.securityfocus.com/bid/51954","name":"51954","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080037.html","name":"FEDORA-2012-6911","tags":["vendor-advisory","x_refsource_FEDORA"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"redhat","dateUpdated":"2018-01-17T19:57:01.000Z","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749"},"datePublic":"2012-02-02T00:00:00.000Z"},"adp":[{"title":"CVE Program Container","references":[{"url":"http://www.ubuntu.com/usn/USN-1358-1","name":"USN-1358-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2012-03/msg00013.html","name":"SUSE-SU-2012:0411","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"http://secunia.com/advisories/55078","name":"55078","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://svn.php.net/viewvc?view=revision&revision=323016","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2012-03/msg00016.html","name":"openSUSE-SU-2012:0426","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2012-04/msg00001.html","name":"SUSE-SU-2012:0472","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"http://secunia.com/advisories/48668","name":"48668","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://lists.apple.com/archives/security-announce/2012/Sep/msg00004.html","name":"APPLE-SA-2012-09-19-2","tags":["vendor-advisory","x_refsource_APPLE","x_transferred"]},{"url":"http://rhn.redhat.com/errata/RHSA-2013-1307.html","name":"RHSA-2013:1307","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"http://support.apple.com/kb/HT5501","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080041.html","name":"FEDORA-2012-6907","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]},{"url":"https://launchpadlibrarian.net/92454212/php5_5.3.2-1ubuntu4.13.diff.gz","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/73125","name":"php-magicquotesgpc-sec-bypass(73125)","tags":["vdb-entry","x_refsource_XF","x_transferred"]},{"url":"http://www.securityfocus.com/bid/51954","name":"51954","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080037.html","name":"FEDORA-2012-6911","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-06T18:38:14.798Z"}}]}}}