CVE-2014-5459 Path traversal in n/a
Local attackers can overwrite arbitrary files via symlink attacks in PEAR cache, potentially compromising system integrity.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2014-5459?
CVE-2014-5459 is a low-severity path traversal vulnerability in Opensuse Opensuse, published on 27 Sep 2014. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Weakness: CWE-59
Which versions are affected by CVE-2014-5459?
It affects 4 products.
Products include Opensuse Evergreen, Opensuse Opensuse, Oracle Solaris, Php Php.
How do I fix CVE-2014-5459?
Upgrade to a fixed version.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2014-5459 being exploited?
There is no known exploitation of CVE-2014-5459 in the wild and no public exploit code.
Sources
Also known as GHSA-w8vq-hjwg-7p95, UBUNTU-CVE-2014-5459.