Access Restriction Bypass Affecting php-tidy package, versions <0:5.3.3-3.el6_1.3


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
5.48% (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-RHEL6-PHPTIDY-1434242
  • published26 Jul 2021
  • disclosed12 Jun 2011

Introduced: 12 Jun 2011

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

How to fix?

Upgrade RHEL:6 php-tidy to version 0:5.3.3-3.el6_1.3 or higher.
This issue was patched in RHSA-2011:1423.

NVD Description

Note: Versions mentioned in the description apply only to the upstream php-tidy package and not the php-tidy package as distributed by RHEL. See How to fix? for RHEL:6 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