cve.bz

CVE-2014-5459 Link Following

no score yetExploit referenceEPSS 0.6%

No CVSS score yet. EPSS 0.6% estimated probability of exploitation activity in the next 30 days.

On this page
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.
EPSS
0.6% (unchanged from 0.6% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 52nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-59 Improper Link Resolution Before File Access (Link Following)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2014-5459 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2014-5459?via=ask-ai-copy and https://cve.bz/cve/CVE-2014-5459?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2014-5459 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
php:phpthrough 5.6.0
oracle:solaris11.2
opensuse:evergreen11.4
opensuse:opensuse12.3
opensuse:opensuse13.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Ubuntu18.04:LTS, 20.04:LTS, 22.04:LTS and 5 morephp-pearno fix listedUBUNTU-CVE-2014-5459
UbuntuPro:14.04:LTSphp5no fix listedUBUNTU-CVE-2014-5459
SUSELinux Enterprise Server 11 SP2-LTSSphp535.3.17-47.1SUSE-SU-2016:1638-1
openSUSETumbleweedphp55.6.28-1.1openSUSE-SU-2024:10344-1
openSUSETumbleweedphp77.0.14-1.4openSUSE-SU-2024:10290-1
openSUSETumbleweedphp88.0.11-1.1openSUSE-SU-2024:11169-1

From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's 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.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 5php-pearNot affected
Red Hat Enterprise Linux 6php-pearNot affected
Red Hat Enterprise Linux 7php-pearNot affected
Red Hat Software Collectionsphp54-php-pearNot affected
Red Hat Software Collectionsphp55-php-pearNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2014-5459.

Attack patterns (CAPEC)

  • CAPEC-17 Using Malicious Files Likelihood: High · Severity: Very High
  • CAPEC-35 Leverage Executable Code in Non-Executable Files Likelihood: High · Severity: Very High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-132 Symlink Attack Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON