ELinks: User-assisted execution of arbitrary code
Gentoo Linux Security Advisory
||GLSA 200706-03 / elinks
||June 06, 2007
||June 06, 2007: 01
All supported architectures
A vulnerability has been discovered in ELinks allowing for the
user-assisted execution of arbitrary code.
ELinks is a text-mode web browser.
Arnaud Giersch discovered that the "add_filename_to_string()" function
in file intl/gettext/loadmsgcat.c uses an untrusted relative path,
allowing for a format string attack with a malicious .po file.
A local attacker could entice a user to run ELinks in a specially
crafted directory environment containing a malicious ".po" file,
possibly resulting in the execution of arbitrary code with the
privileges of the user running ELinks.
There is no known workaround at this time.
All ELinks users should upgrade to the latest version:
Code Listing 3.1: Resolution
# emerge --sync
# emerge --ask --oneshot --verbose ">=www-client/elinks-0.11.2-r1"