CVE-2014-5459

php-pear: insecure temporary file use for cache data

Published Sep 27, 2014 CVSS 2.0 · 3.6 Low EPSS < 1% KEV · Not listed
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.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2014-5346 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.
History

No history.

Weaknesses
  • CWE-377

    Insecure Temporary File

  • CWE-59

    Improper Link Resolution Before File Access ('Link Following')

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 6, 2024, 11:48 AM
Reserved
Aug 26, 2014, 12:00 AM
Status
Modified
Published
Sep 27, 2014, 10:55 AM
Modified
Jun 17, 2026, 12:11 AM
Severity
Moderate
Public date
Aug 25, 2014, 12:00 AM