Skip to content
CVE Tracker
Back

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…

Medium5.8EPSS 6.2%
Published
Updated
Reserved
Assigned by
redhat

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.

Scores

CVSS scores of CVE-2012-1172, by who scored it
Scored byCVSSScoreVector
NVDNVD · Modified2.0Medium5.8AV:N/AC:M/Au:N/C:N/I:P/A:P
EPSS (exploitation in 30 days)
6.2% · top 6.5% of all CVEs (2 Nov 2026)

Loading the EPSS history…

The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.8.

Weakness

Affected products

  • n/a

    • affected n/a

References (20)

Sources

The same CVE in the primary databases and aggregators, to check against.

Record last updated .