Improper input validation in PHP
CVE-2012-1172
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.
Vulnerability class: Drupalgeddon 2 (CVE-2018-7600)
Published · last modified .
CVSS v2 metric
CVSS v2 base score 5.8 (Medium). Vector: AV:N/AC:M/Au:N/C:N/I:P/A:P. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.062, 93.6th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- PHP — versions 5.0.0, 5.0.1, 5.0.2
Weakness classification (CWE)
References
- SSRT100856 (vendor-advisory)
- svn.php.net/viewvc/php/php-src/branches/PHP_5_4/main/rfc1867.c (Patch)
- FEDORA-2012-6869 (vendor-advisory)
- bugs.php.net/bug.php (Exploit)
- SUSE-SU-2012:0604 (vendor-advisory)
- bugs.php.net/bug.php
- nealpoole.com/blog/2011/10/directory-traversal-via-php-multi-file-uploads/ (Exploit)
- svn.php.net/viewvc
- [oss-security] 20120313 Re: CVE request for PHP 5.3.x Corrupted $_FILES indices lead to security concern (mailing-list)
- bugs.php.net/bug.php (Exploit)