Link following in feh - CVE-2011-0702
Published: February 14, 2011 / Updated: August 11, 2020
Vulnerability identifier: #VU45324
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2011-0702
CWE-ID: CWE-59
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vendor: feh.finalrewind.org
Affected software:
feh
feh
Detailed vulnerability description
The vulnerability allows a remote non-authenticated attacker to manipulate or delete data.
The feh_unique_filename function in utils.c in feh before 1.11.2 might allow local users to overwrite arbitrary files via a symlink attack on a /tmp/feh_ temporary file.
How to mitigate CVE-2011-0702
Install update from vendor's website.
Sources
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=612035
- http://openwall.com/lists/oss-security/2011/02/09/1
- http://openwall.com/lists/oss-security/2011/02/09/14
- http://secunia.com/advisories/43221
- https://bugs.launchpad.net/ubuntu/+source/feh/+bug/607328
- https://bugzilla.redhat.com/show_bug.cgi?id=676389
- https://derf.homelinux.org/git/feh/commit/?id=23421a86cc826dd30f3dc4f62057fafb04b3ac40
- https://derf.homelinux.org/git/feh/commit/?id=29ab0855f044ef2fe9c295b72abefcb37f0861a5
- https://github.com/derf/feh/issues/#issue/32