CVE-2012-1172

NameCVE-2012-1172
DescriptionThe 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SuSE, Mageia, GitHub code/issues, web search, more)
ReferencesDSA-2465-1
NVD severitymedium (attack range: remote)
Debian Bugs663760

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
php5 (PTS)wheezy5.4.45-0+deb7u2fixed
wheezy (security)5.4.45-0+deb7u5fixed
jessie5.6.24+dfsg-0+deb8u1fixed
jessie (security)5.6.27+dfsg-0+deb8u1fixed
sid5.6.26+dfsg-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
php5source(unstable)5.4.0-1medium663760
php5sourcesqueeze5.3.3-7+squeeze9mediumDSA-2465-1

Search for package or bug name: Reporting problems