PT-2012-1228 · Php+4 · Php+4

Neal Poole

·

Published

2012-05-08

·

Updated

2018-01-18

·

CVE-2012-1172

CVSS v2.0

5.8

Medium

VectorAV:N/AC:M/Au:N/C:N/I:P/A:P
Name of the Vulnerable Software and Affected Versions PHP versions prior to 5.4.0
Description The issue arises from insufficient input validation in the file-upload implementation, making it easier for remote attackers to cause a denial of service or conduct directory traversal attacks during multi-file uploads. This can be achieved by leveraging a script that lacks its own filename restrictions, particularly by exploiting the improper handling of invalid [ (open square bracket) characters in name values.
Recommendations For PHP versions prior to 5.4.0, update to version 5.4.0 or later to resolve the issue. As a temporary workaround, consider implementing additional filename restrictions in scripts to minimize the risk of exploitation.

Exploit

Fix

DoS

RCE

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2022-02630
CESA-2012_1046
CVE-2012-1172
DSA-2465-1
HPSBUX02791
RHSA-2012:1045
RHSA-2012:1046
RHSA-2012:1047
RHSA-2012_1045
RHSA-2012_1046
RHSA-2012_1047
SUSE-SU-2012_0598-1
SUSE-SU-2012_0598-2
SUSE-SU-2012_0604-1

Affected Products

Centos
Hp-Ux
Php
Red Hat
Suse