Symlink Attack Affecting php package, versions [,5.6.1)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.13% (49th 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-2335521
  • published12 Jan 2022
  • disclosed27 Sept 2014
  • creditUnknown

Introduced: 27 Sep 2014

CVE-2014-5459  (opens in a new tab)
CWE-59  (opens in a new tab)

How to fix?

Upgrade php to version 5.6.1 or higher.

Overview

Affected versions of this package are vulnerable to Symlink Attack. The PEAR_REST class in REST.php in PEAR in PHP through 5.6.0 allows local users to write to arbitrary files via a symlink attack on a (1) rest.cachefile or (2) rest.cacheid file in /tmp/pear/cache/, related to the retrieveCacheFirst and useLocalCache functions.

References

CVSS Scores

version 3.1