CVE-2012-1172

medium
Published 2012-05-24 ยท Modified 2026-04-29
CVSS v3
โ€”
CVSS v4 NEW
โ€”
not yet in upstream
VIR risk
5.8

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.

Predictions

Exploit likelihood
20%
Patch ETA
โ€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ€” if you've already worked around this in production โ€” publish your fix to the community-verified tier.

โœš Propose a mitigation on Community โ†’ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

Application impact

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

References

CWEs

CWE-20

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.