GLSA 200701-27: ELinks: Arbitrary Samba command execution

Severity:normal
Title:ELinks: Arbitrary Samba command execution
Date:01/30/2007
Bugs: #155358
ID:200701-27

Synopsis

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

Background

ELinks is a text mode web browser.

Affected packages

Package Vulnerable Unaffected Architecture(s)
www-client/elinks < 0.11.2 >= 0.11.2 All supported architectures

Description

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.

Impact

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.

Workaround

There is no known workaround at this time.

Resolution

All ELinks users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot --verbose ">=www-client/elinks-0.11.2"

References

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: http://security.gentoo.org/glsa/glsa-200701-27.xml

Concerns?

Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.

License

Copyright 2010 Gentoo Foundation, Inc; referenced text belongs to its owner(s). The contents of this document are licensed under the Creative Commons - Attribution / Share Alike license.

Thank you!