CVE-2012-1172

php: $_FILES array indexes corruption

Published May 24, 2012 CVSS 2.0 · 5.8 Medium EPSS 6.2% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DSA Debian DSA DSA-2465-1 php5 security update
Ubuntu USN Ubuntu USN USN-1481-1 PHP vulnerabilities
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Aug 6, 2024, 6:53 PM
Reserved
Feb 14, 2012, 12:00 AM
Status
Modified
Published
May 24, 2012, 12:55 AM
Modified
Jun 16, 2026, 11:39 PM
Severity
Moderate
Public date
Mar 1, 2012, 12:00 AM