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


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.91% (83rd 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-2335490
  • published12 Jan 2022
  • disclosed18 Jan 2011
  • creditUnknown

Introduced: 18 Jan 2011

CVE-2006-7243  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade php to version 5.3.4 or higher.

Overview

Affected versions of this package are vulnerable to Improper Input Validation. PHP before 5.3.4 accepts the \0 character in a pathname, which might allow context-dependent attackers to bypass intended access restrictions by placing a safe file extension after this character, as demonstrated by .php\0.jpg at the end of the argument to the file_exists function.

References

CVSS Scores

version 3.1