CVE Database›Document archive›CVE-2014-5459

CVE-2014-5459

php-pear: insecure temporary file use for cache data

Loading…

Severity

Moderate

Red Hat Product Security

3.6

CVSS 2.0

Review impact separately from score.

Published · August 25, 2014

Updated · November 21, 2025

Description

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.

Statement

This issue did not affect the versions of php-pear as shipped with Red Hat Enterprise Linux 5, 6 and 7 as well as Red Hat Software Collections as they do not use a world-writable directory for storing PEAR cache data.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 2.0 · 3.6
AV:L/AC:L/Au:N/C:N/I:P/A:P

CWE-377 · Insecure Temporary File