CVE-2011-2202
publishedphp: file path injection vulnerability in RFC1867 file upload filename
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | redhat |
| Debian | lenny | php5 | Advisory build | 5.2.6.dfsg.1-1+lenny12 | DSA-2266-1 |
| Oracle Linux | 6 | phpi686 | Advisory build | 0:5.3.3-3.el6_1.3 | ELSA-2011-1423 |
| Red Hat Enterprise Linux | RHEL-4 | phpi386 | Advisory build | 4.3.9-3.35 | RHSA-2012:0071 |
| Debian | squeeze | php5 | Advisory build | 5.3.3-7+squeeze3 | DSA-2266-1 |
| Oracle Linux | 6 | phpx86_64 | Advisory build | 0:5.3.3-3.el6_1.3 | ELSA-2011-1423 |
| Oracle Linux | 6 | php-bcmathi686 | Advisory build | 0:5.3.3-3.el6_1.3 | ELSA-2011-1423 |
| Oracle Linux | 6 | php-bcmathx86_64 | Advisory build | 0:5.3.3-3.el6_1.3 | ELSA-2011-1423 |
Show 93 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Oracle Linux | 6 | php-clii686 | Advisory build | 0:5.3.3-3.el6_1.3 | ELSA-2011-1423 |
| Oracle Linux | 6 | php-clix86_64 | Advisory build | 0:5.3.3-3.el6_1.3 | ELSA-2011-1423 |
| Oracle Linux | 6 | php-commoni686 | Advisory build | 0:5.3.3-3.el6_1.3 | ELSA-2011-1423 |
| Oracle Linux | 6 | php-commonx86_64 | Advisory build | 0:5.3.3-3.el6_1.3 | ELSA-2011-1423 |
| Oracle Linux | 6 | php-dbai686 | Advisory build | 0:5.3.3-3.el6_1.3 | ELSA-2011-1423 |
| Oracle Linux | 6 | php-dbax86_64 | Advisory build | 0:5.3.3-3.el6_1.3 | ELSA-2011-1423 |
| Oracle Linux | 6 | php-develi686 | Advisory build | 0:5.3.3-3.el6_1.3 | ELSA-2011-1423 |
| Oracle Linux | 6 | php-develx86_64 | Advisory build | 0:5.3.3-3.el6_1.3 | ELSA-2011-1423 |
| Oracle Linux | 6 | php-embeddedi686 | Advisory build | 0:5.3.3-3.el6_1.3 | ELSA-2011-1423 |
| Oracle Linux | 6 | php-embeddedx86_64 | Advisory build | 0:5.3.3-3.el6_1.3 | ELSA-2011-1423 |
| Oracle Linux | 6 | php-enchanti686 | Advisory build | 0:5.3.3-3.el6_1.3 | ELSA-2011-1423 |
| Oracle Linux | 6 | php-enchantx86_64 | Advisory build | 0:5.3.3-3.el6_1.3 | ELSA-2011-1423 |
| Oracle Linux | 6 | php-gdi686 | Advisory build | 0:5.3.3-3.el6_1.3 | ELSA-2011-1423 |
| Oracle Linux | 6 | php-gdx86_64 | Advisory build | 0:5.3.3-3.el6_1.3 | ELSA-2011-1423 |
| Oracle Linux | 6 | php-imapi686 | Advisory build | 0:5.3.3-3.el6_1.3 | ELSA-2011-1423 |
| Oracle Linux | 6 | php-imapx86_64 | Advisory build | 0:5.3.3-3.el6_1.3 | ELSA-2011-1423 |
| Oracle Linux | 6 | php-intli686 | Advisory build | 0:5.3.3-3.el6_1.3 | ELSA-2011-1423 |
| Oracle Linux | 6 | php-intlx86_64 | Advisory build | 0:5.3.3-3.el6_1.3 | ELSA-2011-1423 |
| Oracle Linux | 6 | php-ldapi686 | Advisory build | 0:5.3.3-3.el6_1.3 | ELSA-2011-1423 |
| Oracle Linux | 6 | php-ldapx86_64 | Advisory build | 0:5.3.3-3.el6_1.3 | ELSA-2011-1423 |
| Oracle Linux | 6 | php-mbstringi686 | Advisory build | 0:5.3.3-3.el6_1.3 | ELSA-2011-1423 |
| Oracle Linux | 6 | php-mbstringx86_64 | Advisory build | 0:5.3.3-3.el6_1.3 | ELSA-2011-1423 |
| Oracle Linux | 6 | php-mysqli686 | Advisory build | 0:5.3.3-3.el6_1.3 | ELSA-2011-1423 |
| Oracle Linux | 6 | php-mysqlx86_64 | Advisory build | 0:5.3.3-3.el6_1.3 | ELSA-2011-1423 |
| Oracle Linux | 6 | php-odbci686 | Advisory build | 0:5.3.3-3.el6_1.3 | ELSA-2011-1423 |
| Oracle Linux | 6 | php-odbcx86_64 | Advisory build | 0:5.3.3-3.el6_1.3 | ELSA-2011-1423 |
| Oracle Linux | 6 | php-pdoi686 | Advisory build | 0:5.3.3-3.el6_1.3 | ELSA-2011-1423 |
| Oracle Linux | 6 | php-pdox86_64 | Advisory build | 0:5.3.3-3.el6_1.3 | ELSA-2011-1423 |
| Oracle Linux | 6 | php-pgsqli686 | Advisory build | 0:5.3.3-3.el6_1.3 | ELSA-2011-1423 |
| Oracle Linux | 6 | php-pgsqlx86_64 | Advisory build | 0:5.3.3-3.el6_1.3 | ELSA-2011-1423 |
| Oracle Linux | 6 | php-processi686 | Advisory build | 0:5.3.3-3.el6_1.3 | ELSA-2011-1423 |
| Oracle Linux | 6 | php-processx86_64 | Advisory build | 0:5.3.3-3.el6_1.3 | ELSA-2011-1423 |
| Oracle Linux | 6 | php-pspelli686 | Advisory build | 0:5.3.3-3.el6_1.3 | ELSA-2011-1423 |
| Oracle Linux | 6 | php-pspellx86_64 | Advisory build | 0:5.3.3-3.el6_1.3 | ELSA-2011-1423 |
| Oracle Linux | 6 | php-recodei686 | Advisory build | 0:5.3.3-3.el6_1.3 | ELSA-2011-1423 |
| Oracle Linux | 6 | php-recodex86_64 | Advisory build | 0:5.3.3-3.el6_1.3 | ELSA-2011-1423 |
| Oracle Linux | 6 | php-snmpi686 | Advisory build | 0:5.3.3-3.el6_1.3 | ELSA-2011-1423 |
| Oracle Linux | 6 | php-snmpx86_64 | Advisory build | 0:5.3.3-3.el6_1.3 | ELSA-2011-1423 |
| Oracle Linux | 6 | php-soapi686 | Advisory build | 0:5.3.3-3.el6_1.3 | ELSA-2011-1423 |
| Oracle Linux | 6 | php-soapx86_64 | Advisory build | 0:5.3.3-3.el6_1.3 | ELSA-2011-1423 |
| Oracle Linux | 6 | php-tidyi686 | Advisory build | 0:5.3.3-3.el6_1.3 | ELSA-2011-1423 |
| Oracle Linux | 6 | php-tidyx86_64 | Advisory build | 0:5.3.3-3.el6_1.3 | ELSA-2011-1423 |
| Oracle Linux | 6 | php-xmli686 | Advisory build | 0:5.3.3-3.el6_1.3 | ELSA-2011-1423 |
| Oracle Linux | 6 | php-xmlx86_64 | Advisory build | 0:5.3.3-3.el6_1.3 | ELSA-2011-1423 |
| Oracle Linux | 6 | php-xmlrpci686 | Advisory build | 0:5.3.3-3.el6_1.3 | ELSA-2011-1423 |
| Oracle Linux | 6 | php-xmlrpcx86_64 | Advisory build | 0:5.3.3-3.el6_1.3 | ELSA-2011-1423 |
| Oracle Linux | 6 | php-ztsi686 | Advisory build | 0:5.3.3-3.el6_1.3 | ELSA-2011-1423 |
| Oracle Linux | 6 | php-ztsx86_64 | Advisory build | 0:5.3.3-3.el6_1.3 | ELSA-2011-1423 |
| Red Hat Enterprise Linux | RHEL-4 | phpia64 | Advisory build | 4.3.9-3.35 | RHSA-2012:0071 |
| Red Hat Enterprise Linux | RHEL-4 | phpppc | Advisory build | 4.3.9-3.35 | RHSA-2012:0071 |
| Red Hat Enterprise Linux | RHEL-4 | phps390 | Advisory build | 4.3.9-3.35 | RHSA-2012:0071 |
| Red Hat Enterprise Linux | RHEL-4 | phps390x | Advisory build | 4.3.9-3.35 | RHSA-2012:0071 |
| Red Hat Enterprise Linux | RHEL-4 | phpsrc | Advisory build | 4.3.9-3.35 | RHSA-2012:0071 |
| Red Hat Enterprise Linux | RHEL-4 | phpx86_64 | Advisory build | 4.3.9-3.35 | RHSA-2012:0071 |
| Red Hat Enterprise Linux | RHEL-4 | php-debuginfoi386 | Advisory build | 4.3.9-3.35 | RHSA-2012:0071 |
| Red Hat Enterprise Linux | RHEL-4 | php-debuginfoia64 | Advisory build | 4.3.9-3.35 | RHSA-2012:0071 |
| Red Hat Enterprise Linux | RHEL-4 | php-debuginfoppc | Advisory build | 4.3.9-3.35 | RHSA-2012:0071 |
| Red Hat Enterprise Linux | RHEL-4 | php-debuginfos390 | Advisory build | 4.3.9-3.35 | RHSA-2012:0071 |
| Red Hat Enterprise Linux | RHEL-4 | php-debuginfos390x | Advisory build | 4.3.9-3.35 | RHSA-2012:0071 |
| Red Hat Enterprise Linux | RHEL-4 | php-debuginfox86_64 | Advisory build | 4.3.9-3.35 | RHSA-2012:0071 |
| Red Hat Enterprise Linux | RHEL-4 | php-develi386 | Advisory build | 4.3.9-3.35 | RHSA-2012:0071 |
| Red Hat Enterprise Linux | RHEL-4 | php-develia64 | Advisory build | 4.3.9-3.35 | RHSA-2012:0071 |
| Red Hat Enterprise Linux | RHEL-4 | php-develppc | Advisory build | 4.3.9-3.35 | RHSA-2012:0071 |
| Red Hat Enterprise Linux | RHEL-4 | php-devels390 | Advisory build | 4.3.9-3.35 | RHSA-2012:0071 |
| Red Hat Enterprise Linux | RHEL-4 | php-devels390x | Advisory build | 4.3.9-3.35 | RHSA-2012:0071 |
| Red Hat Enterprise Linux | RHEL-4 | php-develx86_64 | Advisory build | 4.3.9-3.35 | RHSA-2012:0071 |
| Red Hat Enterprise Linux | RHEL-4 | php-domxmli386 | Advisory build | 4.3.9-3.35 | RHSA-2012:0071 |
| Red Hat Enterprise Linux | RHEL-4 | php-domxmlia64 | Advisory build | 4.3.9-3.35 | RHSA-2012:0071 |
| Red Hat Enterprise Linux | RHEL-4 | php-domxmlppc | Advisory build | 4.3.9-3.35 | RHSA-2012:0071 |
| Red Hat Enterprise Linux | RHEL-4 | php-domxmls390 | Advisory build | 4.3.9-3.35 | RHSA-2012:0071 |
| Red Hat Enterprise Linux | RHEL-4 | php-domxmls390x | Advisory build | 4.3.9-3.35 | RHSA-2012:0071 |
| Red Hat Enterprise Linux | RHEL-4 | php-domxmlx86_64 | Advisory build | 4.3.9-3.35 | RHSA-2012:0071 |
| Red Hat Enterprise Linux | RHEL-4 | php-gdi386 | Advisory build | 4.3.9-3.35 | RHSA-2012:0071 |
| Red Hat Enterprise Linux | RHEL-4 | php-gdia64 | Advisory build | 4.3.9-3.35 | RHSA-2012:0071 |
| Red Hat Enterprise Linux | RHEL-4 | php-gdppc | Advisory build | 4.3.9-3.35 | RHSA-2012:0071 |
| Red Hat Enterprise Linux | RHEL-4 | php-gds390 | Advisory build | 4.3.9-3.35 | RHSA-2012:0071 |
| Red Hat Enterprise Linux | RHEL-4 | php-gds390x | Advisory build | 4.3.9-3.35 | RHSA-2012:0071 |
| Red Hat Enterprise Linux | RHEL-4 | php-gdx86_64 | Advisory build | 4.3.9-3.35 | RHSA-2012:0071 |
| Red Hat Enterprise Linux | RHEL-4 | php-imapi386 | Advisory build | 4.3.9-3.35 | RHSA-2012:0071 |
| Red Hat Enterprise Linux | RHEL-4 | php-imapia64 | Advisory build | 4.3.9-3.35 | RHSA-2012:0071 |
| Red Hat Enterprise Linux | RHEL-4 | php-imapppc | Advisory build | 4.3.9-3.35 | RHSA-2012:0071 |
| Red Hat Enterprise Linux | RHEL-4 | php-imaps390 | Advisory build | 4.3.9-3.35 | RHSA-2012:0071 |
| Red Hat Enterprise Linux | RHEL-4 | php-imaps390x | Advisory build | 4.3.9-3.35 | RHSA-2012:0071 |
| Red Hat Enterprise Linux | RHEL-4 | php-imapx86_64 | Advisory build | 4.3.9-3.35 | RHSA-2012:0071 |
| Red Hat Enterprise Linux | RHEL-4 | php-ldapi386 | Advisory build | 4.3.9-3.35 | RHSA-2012:0071 |
| Red Hat Enterprise Linux | RHEL-4 | php-ldapia64 | Advisory build | 4.3.9-3.35 | RHSA-2012:0071 |
| Red Hat Enterprise Linux | RHEL-4 | php-ldapppc | Advisory build | 4.3.9-3.35 | RHSA-2012:0071 |
| Red Hat Enterprise Linux | RHEL-4 | php-ldaps390 | Advisory build | 4.3.9-3.35 | RHSA-2012:0071 |
| Red Hat Enterprise Linux | RHEL-4 | php-ldaps390x | Advisory build | 4.3.9-3.35 | RHSA-2012:0071 |
| Red Hat Enterprise Linux | RHEL-4 | php-ldapx86_64 | Advisory build | 4.3.9-3.35 | RHSA-2012:0071 |
| Red Hat Enterprise Linux | RHEL-4 | php-mbstringi386 | Advisory build | 4.3.9-3.35 | RHSA-2012:0071 |
| Red Hat Enterprise Linux | RHEL-4 | php-mbstringia64 | Advisory build | 4.3.9-3.35 | RHSA-2012:0071 |
| Red Hat Enterprise Linux | RHEL-4 | php-mbstringppc | Advisory build | 4.3.9-3.35 | RHSA-2012:0071 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
The rfc1867_post_handler function in main/rfc1867.c in PHP before 5.3.7 does not properly restrict filenames in multipart/form-data POST requests, which allows remote attackers to conduct absolute path traversal attacks, and possibly create or overwrite arbitrary files, via a crafted upload request, related to a "file path injection vulnerability."
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
21- http://bugs.php.net/bug.php?id=54939
- APPLE-SA-2012-02-01-1 http://lists.apple.com/archives/security-announce/2012/Feb/msg00000.html
- HPSBOV02763 http://marc.info/?l=bugtraq&m=133469208622507&w=2
- [oss-security] 20110612 CVE Request: PHP File upload filename http://openwall.com/lists/oss-security/2011/06/12/5
- [oss-security] 20110613 Re: CVE Request: PHP File upload filename http://openwall.com/lists/oss-security/2011/06/13/15
- http://pastebin.com/1edSuSVN
- RHSA-2012:0071 http://rhn.redhat.com/errata/RHSA-2012-0071.html
- 44874 http://secunia.com/advisories/44874
- 1025659 http://securitytracker.com/id?1025659
- http://support.apple.com/kb/HT5130
- http://svn.php.net/viewvc/php/php-src/branches/PHP_5_3/NEWS?view=markup&pathrev=312103
- http://svn.php.net/viewvc/php/php-src/branches/PHP_5_3/main/rfc1867.c?r1=312103&r2=312102&pathrev=312103
- http://svn.php.net/viewvc?view=revision&revision=312103
- DSA-2266 http://www.debian.org/security/2011/dsa-2266
- MDVSA-2011:165 http://www.mandriva.com/security/advisories?name=MDVSA-2011:165
- http://www.php.net/ChangeLog-5.php#5.3.7
- http://www.php.net/archive/2011.php#id2011-08-18-1
- RHSA-2011:1423 http://www.redhat.com/support/errata/RHSA-2011-1423.html
- 48259 http://www.securityfocus.com/bid/48259
- 49241 http://www.securityfocus.com/bid/49241
- php-sapiposthandlerfunc-sec-bypass(67999) https://exchange.xforce.ibmcloud.com/vulnerabilities/67999
Provider assertions
2redhat · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 16d2ee1717ffdf36ff4583cf7456c0db66068c7f8983931adde5037300cb49c8
- Ingested
- 23 Sep 2026, 07:39:02 UTC
- Source record
- Official CVE record