Live threats

All CVEs / Php

CVE-2012-1172Php

Medium 5.8 No auth needed

Priority
50
CVSS 2.0
5.8
EPSS
6.2%
probability of exploitation in 30 days · percentile 94
Auth required
No
Published
May 24, 2012
Updated
Jun 16, 2026
Category
Web application · Cross-platform
Weakness (CWE)
CWE-20
Vector
AV:N/AC:M/Au:N/C:N/I:P/A:P

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Php.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
phpphp≤ 5.3.10
phpphp5.0.0
phpphp5.0.0
phpphp5.0.0
phpphp5.0.0
phpphp5.0.0
phpphp5.0.0
phpphp5.0.0
phpphp5.0.0
phpphp5.0.1
phpphp5.0.2
phpphp5.0.3
phpphp5.0.4
phpphp5.0.5
phpphp5.1.0
phpphp5.1.1
phpphp5.1.2
phpphp5.1.3
phpphp5.1.4
phpphp5.1.5
phpphp5.1.6
phpphp5.2.0
phpphp5.2.1
phpphp5.2.2
phpphp5.2.3
phpphp5.2.4
phpphp5.2.5
phpphp5.2.6
phpphp5.2.7
phpphp5.2.8
phpphp5.2.9
phpphp5.2.10
phpphp5.2.11
phpphp5.2.12
phpphp5.2.13
phpphp5.2.14
phpphp5.2.15
phpphp5.2.16
phpphp5.2.17
phpphp5.3.0
phpphp5.3.1
phpphp5.3.2
phpphp5.3.3
phpphp5.3.4
phpphp5.3.5
phpphp5.3.6
phpphp5.3.7
phpphp5.3.8
phpphp5.3.9

Official sources

References

Links published by the sources. Open them with care.