Improper Input Validation Affecting php package, versions [,5.3.11)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
2.57% (90th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-PHP-2335455
  • published12 Jan 2022
  • disclosed24 May 2012
  • creditUnknown

Introduced: 24 May 2012

CVE-2012-1172  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade php to version 5.3.11 or higher.

Overview

Affected versions of this package are vulnerable to Improper Input Validation. 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.

CVSS Scores

version 3.1