Privilege escalation in PHP - CVE-2014-5459

 

Privilege escalation in PHP - CVE-2014-5459

Published: September 27, 2014 / Updated: April 5, 2018


Vulnerability identifier: #VU10333
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2014-5459
CWE-ID: CWE-61
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: PHP Group
Affected software:
PHP

Detailed vulnerability description

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to incorrect processing of symbolic links within the PEAR_REST class in REST.php in PEAR. A local user can create a specially crafted symlink and write arbitrary files into /tmp/pear/cache/directory.


How to mitigate CVE-2014-5459

Update to version 5.6.1.

Sources