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