A vulnerability has been discovered in ELinks allowing for the user-assisted execution of arbitrary code.
| Package | Arch | Vulnerable | Unaffected |
|---|---|---|---|
| www-client/elinks | * | < 0.11.2-r1 | >= 0.11.2-r1 |
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:
# emerge --sync # emerge --ask --oneshot --verbose ">=www-client/elinks-0.11.2-r1"
ELinks does not properly validate "smb://" URLs, making it vulnerable to the execution of arbitrary Samba commands.
| Package | Arch | Vulnerable | Unaffected |
|---|---|---|---|
| www-client/elinks | * | < 0.11.2 | >= 0.11.2 |
ELinks is a text mode web browser.
Teemu Salmela discovered an error in the validation code of "smb://" URLs used by ELinks, the same issue as reported in GLSA 200612-16 concerning Links.
A remote attacker could entice a user to browse to a specially crafted "smb://" URL and execute arbitrary Samba commands, which would allow the overwriting of arbitrary local files or the upload or download of arbitrary files. This vulnerability can be exploited only if "smbclient" is installed on the victim's computer, which is provided by the "samba" Gentoo package.
There is no known workaround at this time.
All ELinks users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose ">=www-client/elinks-0.11.2"