CVE-2012-1172
Summary
| CVE | CVE-2012-1172 |
|---|---|
| State | PUBLISHED |
| Assigner | redhat |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2012-05-24 00:55:02 UTC |
| Updated | 2026-04-29 01:13:23 UTC |
| Description | The file-upload implementation in rfc1867.c in PHP before 5.4.0 does not properly handle invalid [ (open square bracket) characters in name values, which makes it easier for remote attackers to cause a denial of service (malformed $_FILES indexes) or conduct directory traversal attacks during multi-file uploads by leveraging a script that lacks its own filename restrictions. |
Risk And Classification
CVSS v2.0 Breakdown
Access Vector
NetworkAccess Complexity
MediumAuthentication
NoneConfidentiality
NoneIntegrity
PartialAvailability
PartialAV:N/AC:M/Au:N/C:N/I:P/A:P
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Php | Php | 5.0.0 | All | All | All |
| Application | Php | Php | 5.0.0 | beta1 | All | All |
| Application | Php | Php | 5.0.0 | beta2 | All | All |
| Application | Php | Php | 5.0.0 | beta3 | All | All |
| Application | Php | Php | 5.0.0 | beta4 | All | All |
| Application | Php | Php | 5.0.0 | rc1 | All | All |
| Application | Php | Php | 5.0.0 | rc2 | All | All |
| Application | Php | Php | 5.0.0 | rc3 | All | All |
| Application | Php | Php | 5.0.1 | All | All | All |
| Application | Php | Php | 5.0.2 | All | All | All |
| Application | Php | Php | 5.0.3 | All | All | All |
| Application | Php | Php | 5.0.4 | All | All | All |
| Application | Php | Php | 5.0.5 | All | All | All |
| Application | Php | Php | 5.1.0 | All | All | All |
| Application | Php | Php | 5.1.1 | All | All | All |
| Application | Php | Php | 5.1.2 | All | All | All |
| Application | Php | Php | 5.1.3 | All | All | All |
| Application | Php | Php | 5.1.4 | All | All | All |
| Application | Php | Php | 5.1.5 | All | All | All |
| Application | Php | Php | 5.1.6 | All | All | All |
| Application | Php | Php | 5.2.0 | All | All | All |
| Application | Php | Php | 5.2.1 | All | All | All |
| Application | Php | Php | 5.2.10 | All | All | All |
| Application | Php | Php | 5.2.11 | All | All | All |
| Application | Php | Php | 5.2.12 | All | All | All |
| Application | Php | Php | 5.2.13 | All | All | All |
| Application | Php | Php | 5.2.14 | All | All | All |
| Application | Php | Php | 5.2.15 | All | All | All |
| Application | Php | Php | 5.2.16 | All | All | All |
| Application | Php | Php | 5.2.17 | All | All | All |
| Application | Php | Php | 5.2.2 | All | All | All |
| Application | Php | Php | 5.2.3 | All | All | All |
| Application | Php | Php | 5.2.4 | All | All | All |
| Application | Php | Php | 5.2.5 | All | All | All |
| Application | Php | Php | 5.2.6 | All | All | All |
| Application | Php | Php | 5.2.7 | All | All | All |
| Application | Php | Php | 5.2.8 | All | All | All |
| Application | Php | Php | 5.2.9 | All | All | All |
| Application | Php | Php | 5.3.0 | All | All | All |
| Application | Php | Php | 5.3.1 | All | All | All |
| Application | Php | Php | 5.3.2 | All | All | All |
| Application | Php | Php | 5.3.3 | All | All | All |
| Application | Php | Php | 5.3.4 | All | All | All |
| Application | Php | Php | 5.3.5 | All | All | All |
| Application | Php | Php | 5.3.6 | All | All | All |
| Application | Php | Php | 5.3.7 | All | All | All |
| Application | Php | Php | 5.3.8 | All | All | All |
| Application | Php | Php | 5.3.9 | All | All | All |
| Application | Php | Php | All | All | All | All |
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| PHP: Revision 321664 | af854a3a-2127-422b-91ae-364da2661108 | svn.php.net | |
| PHP :: Bug #48597 :: Unclosed array keys break space escaping in $_GET/POST/REQUEST | af854a3a-2127-422b-91ae-364da2661108 | bugs.php.net | Exploit |
| [SECURITY] Fedora 16 Update: php-5.3.11-1.fc16 | af854a3a-2127-422b-91ae-364da2661108 | lists.fedoraproject.org | |
| Debian -- Security Information -- DSA-2465-1 php5 | af854a3a-2127-422b-91ae-364da2661108 | www.debian.org | |
| [SECURITY] Fedora 17 Update: php-5.4.1-1.fc17 | af854a3a-2127-422b-91ae-364da2661108 | lists.fedoraproject.org | |
| [SECURITY] Fedora 15 Update: php-5.3.11-1.fc15 | af854a3a-2127-422b-91ae-364da2661108 | lists.fedoraproject.org | |
| oss-security - Re: CVE request for PHP 5.3.x Corrupted $_FILES indices lead to security concern | af854a3a-2127-422b-91ae-364da2661108 | openwall.com | |
| PHP :: You must be logged in | af854a3a-2127-422b-91ae-364da2661108 | bugs.php.net | |
| About the security content of OS X Mountain Lion v10.8.2, OS X Lion v10.7.5 and Security Update 2012-004 | af854a3a-2127-422b-91ae-364da2661108 | support.apple.com | |
| [security-announce] SUSE-SU-2012:0604-1: critical: Security update for P | af854a3a-2127-422b-91ae-364da2661108 | lists.opensuse.org | |
| students.mimuw.edu.pl/~ai292615/php_multipleupload_overwrite.pdf | af854a3a-2127-422b-91ae-364da2661108 | students.mimuw.edu.pl | Exploit |
| Directory Traversal via PHP Multi-File Uploads » Neal Poole | af854a3a-2127-422b-91ae-364da2661108 | nealpoole.com | Exploit |
| PHP not properly checking Params | NYU Poly ISIS Lab | af854a3a-2127-422b-91ae-364da2661108 | isisblogs.poly.edu | Exploit |
| '[security bulletin] HPSBUX02791 SSRT100856 rev.1 - HP-UX Apache Web Server running PHP, Remote Execu' - MARC | af854a3a-2127-422b-91ae-364da2661108 | marc.info | |
| PHP :: Bug #49683 :: $_FILES overwrite | af854a3a-2127-422b-91ae-364da2661108 | bugs.php.net | |
| PHP: PHP 5 ChangeLog | af854a3a-2127-422b-91ae-364da2661108 | www.php.net | |
| [security-announce] SUSE-SU-2012:0598-1: critical: Security update for P | af854a3a-2127-422b-91ae-364da2661108 | lists.opensuse.org | |
| PHP :: Bug #54374 :: Insufficient validating of upload name leading to corrupted $_FILES indices | af854a3a-2127-422b-91ae-364da2661108 | bugs.php.net | Exploit |
| PHP: Diff of /php/php-src/branches/PHP_5_4/main/rfc1867.c | af854a3a-2127-422b-91ae-364da2661108 | svn.php.net | Patch |
| APPLE-SA-2012-09-19-2 OS X Mountain Lion v10.8.2, OS X Lion v10.7.5 and Security Update 2012-004 | af854a3a-2127-422b-91ae-364da2661108 | lists.apple.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.