Remote Code Execution (RCE) Affecting php package, versions [4.0.0,4.3.10)[5.0.0,5.0.3)


Severity

Recommended
0.0
critical
0
10

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

Threat Intelligence

EPSS
2.03% (89th 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 Learn

Learn about Remote Code Execution (RCE) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-PHP-2335500
  • published12 Jan 2022
  • disclosed10 Jan 2005
  • creditUnknown

Introduced: 10 Jan 2005

CVE-2004-1064  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade php to version 4.3.10, 5.0.3 or higher.

Overview

Affected versions of this package are vulnerable to Remote Code Execution (RCE). The safe mode checks in PHP 4.x to 4.3.9 and PHP 5.x to 5.0.2 truncate the file path before passing the data to the realpath function, which could allow attackers to bypass safe mode. NOTE: this issue was originally REJECTed by its CNA before publication, but that decision is in active dispute. This candidate may change significantly in the future as a result of further discussion.

References

CVSS Scores

version 3.1