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.3th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 93rd percentile — 93.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.064 · newest: 0.062 · change: -0.002
Affected products
- PHP — versions 5.0.0, 5.0.1, 5.0.2
Weakness classification (CWE)
References
- marc.info/ (vendor-advisory)
- svn.php.net/viewvc/php/php-src/branches/PHP_5_4/main/rfc1867.c (Patch)
- lists.fedoraproject.org/pipermail/package-announce/2012-May/080070.html (vendor-advisory)
- bugs.php.net/bug.php (Exploit)
- lists.opensuse.org/opensuse-security-announce/2012-05/msg00011.html (vendor-advisory)
- bugs.php.net/bug.php
- nealpoole.com/blog/2011/10/directory-traversal-via-php-multi-file-uploads/ (Exploit)
- svn.php.net/viewvc
- openwall.com/lists/oss-security/2012/03/13/4 (mailing-list)
- bugs.php.net/bug.php (Exploit)