CVE-2012-0831
publishedphp: PG(magic_quote_gpc) was not restored on shutdown
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | redhat |
| Debian | squeeze | php5 | Advisory build | 5.3.3-7+squeeze8 | DSA-2408-1 |
| Oracle Linux | 6 | phpi686 | Advisory build | 0:5.3.3-22.el6 | ELSA-2013-0514 |
| Red Hat Enterprise Linux | RHEL-5 | php53i386 | Advisory build | 5.3.3-21.el5 | RHSA-2013:1307 |
| Oracle Linux | 6 | phpx86_64 | Advisory build | 0:5.3.3-22.el6 | ELSA-2013-0514 |
| Oracle Linux | 6 | php-bcmathi686 | Advisory build | 0:5.3.3-22.el6 | ELSA-2013-0514 |
| Oracle Linux | 6 | php-bcmathx86_64 | Advisory build | 0:5.3.3-22.el6 | ELSA-2013-0514 |
| Oracle Linux | 6 | php-clii686 | Advisory build | 0:5.3.3-22.el6 | ELSA-2013-0514 |
Show 93 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Oracle Linux | 6 | php-clix86_64 | Advisory build | 0:5.3.3-22.el6 | ELSA-2013-0514 |
| Oracle Linux | 6 | php-commoni686 | Advisory build | 0:5.3.3-22.el6 | ELSA-2013-0514 |
| Oracle Linux | 6 | php-commonx86_64 | Advisory build | 0:5.3.3-22.el6 | ELSA-2013-0514 |
| Oracle Linux | 6 | php-dbai686 | Advisory build | 0:5.3.3-22.el6 | ELSA-2013-0514 |
| Oracle Linux | 6 | php-dbax86_64 | Advisory build | 0:5.3.3-22.el6 | ELSA-2013-0514 |
| Oracle Linux | 6 | php-develi686 | Advisory build | 0:5.3.3-22.el6 | ELSA-2013-0514 |
| Oracle Linux | 6 | php-develx86_64 | Advisory build | 0:5.3.3-22.el6 | ELSA-2013-0514 |
| Oracle Linux | 6 | php-embeddedi686 | Advisory build | 0:5.3.3-22.el6 | ELSA-2013-0514 |
| Oracle Linux | 6 | php-embeddedx86_64 | Advisory build | 0:5.3.3-22.el6 | ELSA-2013-0514 |
| Oracle Linux | 6 | php-enchanti686 | Advisory build | 0:5.3.3-22.el6 | ELSA-2013-0514 |
| Oracle Linux | 6 | php-enchantx86_64 | Advisory build | 0:5.3.3-22.el6 | ELSA-2013-0514 |
| Oracle Linux | 6 | php-fpmi686 | Advisory build | 0:5.3.3-22.el6 | ELSA-2013-0514 |
| Oracle Linux | 6 | php-fpmx86_64 | Advisory build | 0:5.3.3-22.el6 | ELSA-2013-0514 |
| Oracle Linux | 6 | php-gdi686 | Advisory build | 0:5.3.3-22.el6 | ELSA-2013-0514 |
| Oracle Linux | 6 | php-gdx86_64 | Advisory build | 0:5.3.3-22.el6 | ELSA-2013-0514 |
| Oracle Linux | 6 | php-imapi686 | Advisory build | 0:5.3.3-22.el6 | ELSA-2013-0514 |
| Oracle Linux | 6 | php-imapx86_64 | Advisory build | 0:5.3.3-22.el6 | ELSA-2013-0514 |
| Oracle Linux | 6 | php-intli686 | Advisory build | 0:5.3.3-22.el6 | ELSA-2013-0514 |
| Oracle Linux | 6 | php-intlx86_64 | Advisory build | 0:5.3.3-22.el6 | ELSA-2013-0514 |
| Oracle Linux | 6 | php-ldapi686 | Advisory build | 0:5.3.3-22.el6 | ELSA-2013-0514 |
| Oracle Linux | 6 | php-ldapx86_64 | Advisory build | 0:5.3.3-22.el6 | ELSA-2013-0514 |
| Oracle Linux | 6 | php-mbstringi686 | Advisory build | 0:5.3.3-22.el6 | ELSA-2013-0514 |
| Oracle Linux | 6 | php-mbstringx86_64 | Advisory build | 0:5.3.3-22.el6 | ELSA-2013-0514 |
| Oracle Linux | 6 | php-mysqli686 | Advisory build | 0:5.3.3-22.el6 | ELSA-2013-0514 |
| Oracle Linux | 6 | php-mysqlx86_64 | Advisory build | 0:5.3.3-22.el6 | ELSA-2013-0514 |
| Oracle Linux | 6 | php-odbci686 | Advisory build | 0:5.3.3-22.el6 | ELSA-2013-0514 |
| Oracle Linux | 6 | php-odbcx86_64 | Advisory build | 0:5.3.3-22.el6 | ELSA-2013-0514 |
| Oracle Linux | 6 | php-pdoi686 | Advisory build | 0:5.3.3-22.el6 | ELSA-2013-0514 |
| Oracle Linux | 6 | php-pdox86_64 | Advisory build | 0:5.3.3-22.el6 | ELSA-2013-0514 |
| Oracle Linux | 6 | php-pgsqli686 | Advisory build | 0:5.3.3-22.el6 | ELSA-2013-0514 |
| Oracle Linux | 6 | php-pgsqlx86_64 | Advisory build | 0:5.3.3-22.el6 | ELSA-2013-0514 |
| Oracle Linux | 6 | php-processi686 | Advisory build | 0:5.3.3-22.el6 | ELSA-2013-0514 |
| Oracle Linux | 6 | php-processx86_64 | Advisory build | 0:5.3.3-22.el6 | ELSA-2013-0514 |
| Oracle Linux | 6 | php-pspelli686 | Advisory build | 0:5.3.3-22.el6 | ELSA-2013-0514 |
| Oracle Linux | 6 | php-pspellx86_64 | Advisory build | 0:5.3.3-22.el6 | ELSA-2013-0514 |
| Oracle Linux | 6 | php-recodei686 | Advisory build | 0:5.3.3-22.el6 | ELSA-2013-0514 |
| Oracle Linux | 6 | php-recodex86_64 | Advisory build | 0:5.3.3-22.el6 | ELSA-2013-0514 |
| Oracle Linux | 6 | php-snmpi686 | Advisory build | 0:5.3.3-22.el6 | ELSA-2013-0514 |
| Oracle Linux | 6 | php-snmpx86_64 | Advisory build | 0:5.3.3-22.el6 | ELSA-2013-0514 |
| Oracle Linux | 6 | php-soapi686 | Advisory build | 0:5.3.3-22.el6 | ELSA-2013-0514 |
| Oracle Linux | 6 | php-soapx86_64 | Advisory build | 0:5.3.3-22.el6 | ELSA-2013-0514 |
| Oracle Linux | 6 | php-tidyi686 | Advisory build | 0:5.3.3-22.el6 | ELSA-2013-0514 |
| Oracle Linux | 6 | php-tidyx86_64 | Advisory build | 0:5.3.3-22.el6 | ELSA-2013-0514 |
| Oracle Linux | 6 | php-xmli686 | Advisory build | 0:5.3.3-22.el6 | ELSA-2013-0514 |
| Oracle Linux | 6 | php-xmlx86_64 | Advisory build | 0:5.3.3-22.el6 | ELSA-2013-0514 |
| Oracle Linux | 6 | php-xmlrpci686 | Advisory build | 0:5.3.3-22.el6 | ELSA-2013-0514 |
| Oracle Linux | 6 | php-xmlrpcx86_64 | Advisory build | 0:5.3.3-22.el6 | ELSA-2013-0514 |
| Oracle Linux | 6 | php-ztsi686 | Advisory build | 0:5.3.3-22.el6 | ELSA-2013-0514 |
| Oracle Linux | 6 | php-ztsx86_64 | Advisory build | 0:5.3.3-22.el6 | ELSA-2013-0514 |
| Red Hat Enterprise Linux | RHEL-5 | php53ia64 | Advisory build | 5.3.3-21.el5 | RHSA-2013:1307 |
| Red Hat Enterprise Linux | RHEL-5 | php53ppc | Advisory build | 5.3.3-21.el5 | RHSA-2013:1307 |
| Red Hat Enterprise Linux | RHEL-5 | php53s390x | Advisory build | 5.3.3-21.el5 | RHSA-2013:1307 |
| Red Hat Enterprise Linux | RHEL-5 | php53src | Advisory build | 5.3.3-21.el5 | RHSA-2013:1307 |
| Red Hat Enterprise Linux | RHEL-5 | php53x86_64 | Advisory build | 5.3.3-21.el5 | RHSA-2013:1307 |
| Red Hat Enterprise Linux | RHEL-5 | php53-bcmathi386 | Advisory build | 5.3.3-21.el5 | RHSA-2013:1307 |
| Red Hat Enterprise Linux | RHEL-5 | php53-bcmathia64 | Advisory build | 5.3.3-21.el5 | RHSA-2013:1307 |
| Red Hat Enterprise Linux | RHEL-5 | php53-bcmathppc | Advisory build | 5.3.3-21.el5 | RHSA-2013:1307 |
| Red Hat Enterprise Linux | RHEL-5 | php53-bcmaths390x | Advisory build | 5.3.3-21.el5 | RHSA-2013:1307 |
| Red Hat Enterprise Linux | RHEL-5 | php53-bcmathx86_64 | Advisory build | 5.3.3-21.el5 | RHSA-2013:1307 |
| Red Hat Enterprise Linux | RHEL-5 | php53-clii386 | Advisory build | 5.3.3-21.el5 | RHSA-2013:1307 |
| Red Hat Enterprise Linux | RHEL-5 | php53-cliia64 | Advisory build | 5.3.3-21.el5 | RHSA-2013:1307 |
| Red Hat Enterprise Linux | RHEL-5 | php53-clippc | Advisory build | 5.3.3-21.el5 | RHSA-2013:1307 |
| Red Hat Enterprise Linux | RHEL-5 | php53-clis390x | Advisory build | 5.3.3-21.el5 | RHSA-2013:1307 |
| Red Hat Enterprise Linux | RHEL-5 | php53-clix86_64 | Advisory build | 5.3.3-21.el5 | RHSA-2013:1307 |
| Red Hat Enterprise Linux | RHEL-5 | php53-commoni386 | Advisory build | 5.3.3-21.el5 | RHSA-2013:1307 |
| Red Hat Enterprise Linux | RHEL-5 | php53-commonia64 | Advisory build | 5.3.3-21.el5 | RHSA-2013:1307 |
| Red Hat Enterprise Linux | RHEL-5 | php53-commonppc | Advisory build | 5.3.3-21.el5 | RHSA-2013:1307 |
| Red Hat Enterprise Linux | RHEL-5 | php53-commons390x | Advisory build | 5.3.3-21.el5 | RHSA-2013:1307 |
| Red Hat Enterprise Linux | RHEL-5 | php53-commonx86_64 | Advisory build | 5.3.3-21.el5 | RHSA-2013:1307 |
| Red Hat Enterprise Linux | RHEL-5 | php53-dbai386 | Advisory build | 5.3.3-21.el5 | RHSA-2013:1307 |
| Red Hat Enterprise Linux | RHEL-5 | php53-dbaia64 | Advisory build | 5.3.3-21.el5 | RHSA-2013:1307 |
| Red Hat Enterprise Linux | RHEL-5 | php53-dbappc | Advisory build | 5.3.3-21.el5 | RHSA-2013:1307 |
| Red Hat Enterprise Linux | RHEL-5 | php53-dbas390x | Advisory build | 5.3.3-21.el5 | RHSA-2013:1307 |
| Red Hat Enterprise Linux | RHEL-5 | php53-dbax86_64 | Advisory build | 5.3.3-21.el5 | RHSA-2013:1307 |
| Red Hat Enterprise Linux | RHEL-5 | php53-debuginfoi386 | Advisory build | 5.3.3-21.el5 | RHSA-2013:1307 |
| Red Hat Enterprise Linux | RHEL-5 | php53-debuginfoia64 | Advisory build | 5.3.3-21.el5 | RHSA-2013:1307 |
| Red Hat Enterprise Linux | RHEL-5 | php53-debuginfoppc | Advisory build | 5.3.3-21.el5 | RHSA-2013:1307 |
| Red Hat Enterprise Linux | RHEL-5 | php53-debuginfos390x | Advisory build | 5.3.3-21.el5 | RHSA-2013:1307 |
| Red Hat Enterprise Linux | RHEL-5 | php53-debuginfox86_64 | Advisory build | 5.3.3-21.el5 | RHSA-2013:1307 |
| Red Hat Enterprise Linux | RHEL-5 | php53-develi386 | Advisory build | 5.3.3-21.el5 | RHSA-2013:1307 |
| Red Hat Enterprise Linux | RHEL-5 | php53-develia64 | Advisory build | 5.3.3-21.el5 | RHSA-2013:1307 |
| Red Hat Enterprise Linux | RHEL-5 | php53-develppc | Advisory build | 5.3.3-21.el5 | RHSA-2013:1307 |
| Red Hat Enterprise Linux | RHEL-5 | php53-devels390x | Advisory build | 5.3.3-21.el5 | RHSA-2013:1307 |
| Red Hat Enterprise Linux | RHEL-5 | php53-develx86_64 | Advisory build | 5.3.3-21.el5 | RHSA-2013:1307 |
| Red Hat Enterprise Linux | RHEL-5 | php53-gdi386 | Advisory build | 5.3.3-21.el5 | RHSA-2013:1307 |
| Red Hat Enterprise Linux | RHEL-5 | php53-gdia64 | Advisory build | 5.3.3-21.el5 | RHSA-2013:1307 |
| Red Hat Enterprise Linux | RHEL-5 | php53-gdppc | Advisory build | 5.3.3-21.el5 | RHSA-2013:1307 |
| Red Hat Enterprise Linux | RHEL-5 | php53-gds390x | Advisory build | 5.3.3-21.el5 | RHSA-2013:1307 |
| Red Hat Enterprise Linux | RHEL-5 | php53-gdx86_64 | Advisory build | 5.3.3-21.el5 | RHSA-2013:1307 |
| Red Hat Enterprise Linux | RHEL-5 | php53-imapi386 | Advisory build | 5.3.3-21.el5 | RHSA-2013:1307 |
| Red Hat Enterprise Linux | RHEL-5 | php53-imapia64 | Advisory build | 5.3.3-21.el5 | RHSA-2013:1307 |
| Red Hat Enterprise Linux | RHEL-5 | php53-imapppc | Advisory build | 5.3.3-21.el5 | RHSA-2013:1307 |
| Red Hat Enterprise Linux | RHEL-5 | php53-imaps390x | Advisory build | 5.3.3-21.el5 | RHSA-2013:1307 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | redhat · cna |
Weaknesses
1- n/a
References
15- APPLE-SA-2012-09-19-2 http://lists.apple.com/archives/security-announce/2012/Sep/msg00004.html
- FEDORA-2012-6911 http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080037.html
- FEDORA-2012-6907 http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080041.html
- SUSE-SU-2012:0411 http://lists.opensuse.org/opensuse-security-announce/2012-03/msg00013.html
- openSUSE-SU-2012:0426 http://lists.opensuse.org/opensuse-security-announce/2012-03/msg00016.html
- SUSE-SU-2012:0472 http://lists.opensuse.org/opensuse-security-announce/2012-04/msg00001.html
- RHSA-2013:1307 http://rhn.redhat.com/errata/RHSA-2013-1307.html
- 48668 http://secunia.com/advisories/48668
- 55078 http://secunia.com/advisories/55078
- http://support.apple.com/kb/HT5501
- http://svn.php.net/viewvc?view=revision&revision=323016
- 51954 http://www.securityfocus.com/bid/51954
- USN-1358-1 http://www.ubuntu.com/usn/USN-1358-1
- php-magicquotesgpc-sec-bypass(73125) https://exchange.xforce.ibmcloud.com/vulnerabilities/73125
- https://launchpadlibrarian.net/92454212/php5_5.3.2-1ubuntu4.13.diff.gz
Provider assertions
2redhat · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- ea3ac5687774f54490b8701164105d7fe93f28bda30b598c6dcbc8e139d4f55d
- Ingested
- 23 Sep 2026, 07:39:12 UTC
- Source record
- Official CVE record