CVE-2012-1172
Last modified
CVE-2012-1172 is a vulnerability of currently unknown severity. 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.. EPSS estimates a 6.37% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Php | Php | <= 5.3.10 |
| Php | Php | 5.0.0 |
| Php | Php | 5.0.1 |
| Php | Php | 5.0.2 |
| Php | Php | 5.0.3 |
| Php | Php | 5.0.4 |
| Php | Php | 5.0.5 |
| Php | Php | 5.1.0 |
| Php | Php | 5.1.1 |
| Php | Php | 5.1.2 |
| Php | Php | 5.1.3 |
| Php | Php | 5.1.4 |
| Php | Php | 5.1.5 |
| Php | Php | 5.1.6 |
| Php | Php | 5.2.0 |
| Php | Php | 5.2.1 |
| Php | Php | 5.2.2 |
| Php | Php | 5.2.3 |
| Php | Php | 5.2.4 |
| Php | Php | 5.2.5 |
| Php | Php | 5.2.6 |
| Php | Php | 5.2.7 |
| Php | Php | 5.2.8 |
| Php | Php | 5.2.9 |
| Php | Php | 5.2.10 |
| Php | Php | 5.2.11 |
| Php | Php | 5.2.12 |
| Php | Php | 5.2.13 |
| Php | Php | 5.2.14 |
| Php | Php | 5.2.15 |
| Php | Php | 5.2.16 |
| Php | Php | 5.2.17 |
| Php | Php | 5.3.0 |
| Php | Php | 5.3.1 |
| Php | Php | 5.3.2 |
| Php | Php | 5.3.3 |
| Php | Php | 5.3.4 |
| Php | Php | 5.3.5 |
| Php | Php | 5.3.6 |
| Php | Php | 5.3.7 |
| Php | Php | 5.3.8 |
| Php | Php | 5.3.9 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2012-1172?
How severe is CVE-2012-1172?
How do I fix CVE-2012-1172?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2012
- CVE-2012-1166The default keybindings for wwm in LTSP Display Manager (ldm…
- CVE-2012-1167The JBoss Server in JBoss Enterprise Application Platform 5.…
- CVE-2012-1168Moodle before 2.2.2 has a password and web services issue wh…8.2
- CVE-2012-1169Moodle before 2.2.2 has Personal information disclosure, whe…5.3
- CVE-2012-1170Moodle before 2.2.2 has an external enrolment plugin context…7.5
- CVE-2012-1171The libxml RSHUTDOWN function in PHP 5.x allows remote attac…
- CVE-2012-1173Multiple integer overflows in tiff_getimage.c in LibTIFF 3.9…
- CVE-2012-1174The rm_rf_children function in util.c in the systemd-logind …
- CVE-2012-1175Integer overflow in the GnashImage::size method in libbase/G…
- CVE-2012-1176Buffer overflow in the fribidi_utf8_to_unicode function in P…
- CVE-2012-1177libgdata before 0.10.2 and 0.11.x before 0.11.1 does not val…
- CVE-2012-1178The msn_oim_report_to_user function in oim.c in the MSN prot…
Are you affected by CVE-2012-1172?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
