VULNERABILITY INTELLIGENCE

CVE-2012-1172

CVSS score5.8 MEDIUM
EPSS probability6.19%
CISA KEVNot currently listed
Published2012-05-24
Last modified2026-06-16
CVSS vectorAV:N/AC:M/Au:N/C:N/I:P/A:P

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.

Weakness classification

  • CWE-20: Improper Input Validation

Primary references