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.
The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.
Link | Tags |
---|---|
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=759282 | issue tracking exploit third party advisory |
http://lists.opensuse.org/opensuse-updates/2014-09/msg00055.html | mailing list third party advisory vendor advisory |
http://www.openwall.com/lists/oss-security/2014/08/27/3 | third party advisory mailing list |
http://www.oracle.com/technetwork/topics/security/bulletinjan2015-2370101.html | third party advisory |
http://lists.opensuse.org/opensuse-updates/2014-09/msg00024.html | mailing list third party advisory vendor advisory |