Access Restriction Bypass Affecting php package, versions [,5.3.7)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
5.53% (94th 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-2335230
  • published12 Jan 2022
  • disclosed16 Jun 2011
  • creditUnknown

Introduced: 16 Jun 2011

CVE-2011-2202  (opens in a new tab)
CWE-264  (opens in a new tab)

How to fix?

Upgrade php to version 5.3.7 or higher.

Overview

Affected versions of this package are vulnerable to Access Restriction Bypass. The rfc1867_post_handler function in main/rfc1867.c in PHP before 5.3.7 does not properly restrict filenames in multipart/form-data POST requests, which allows remote attackers to conduct absolute path traversal attacks, and possibly create or overwrite arbitrary files, via a crafted upload request, related to a "file path injection vulnerability."

References

CVSS Scores

version 3.1