Gentoo Logo

ELinks: Arbitrary Samba command execution


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200701-27 / elinks
Release Date January 30, 2007
Latest Revision January 30, 2007: 01
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
www-client/elinks < 0.11.2 >= 0.11.2 All supported architectures

Related bugreports: #155358


ELinks does not properly validate "smb://" URLs, making it vulnerable to the execution of arbitrary Samba commands.

2.  Impact Information


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.

3.  Resolution Information


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"

4.  References


Page updated January 30, 2007

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2015 Gentoo Foundation, Inc. Questions, Comments? Contact us.