Access Restriction Bypass Affecting php-debuginfo package, versions <0:5.3.8-3.19.amzn1


Severity

Recommended
high

Based on Amazon Linux security rating.

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-AMZN201803-PHPDEBUGINFO-1660731
  • published27 Sept 2021
  • disclosed16 Jun 2011

Introduced: 16 Jun 2011

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

How to fix?

Upgrade Amazon-Linux:2018.03 php-debuginfo to version 0:5.3.8-3.19.amzn1 or higher.
This issue was patched in ALAS-2011-7.

NVD Description

Note: Versions mentioned in the description apply only to the upstream php-debuginfo package and not the php-debuginfo package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2018.03 relevant fixed versions and status.

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."

CVSS Scores

version 3.1