GLSA 200612-16: Links: Arbitrary Samba command execution

Severity:normal
Title:Links: Arbitrary Samba command execution
Date:12/14/2006
Bugs: #157028
ID:200612-16

Synopsis

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

Background

Links is a web browser running in both graphics and text modes.

Affected packages

Package Vulnerable Unaffected Architecture(s)
www-client/links < 2.1_pre26 >= 2.1_pre26 All supported architectures

Description

Teemu Salmela discovered that Links does not properly validate "smb://" URLs when it runs smbclient commands.

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 the 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 Links users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot --verbose ">=www-client/links-2.1_pre26"

References

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: http://security.gentoo.org/glsa/glsa-200612-16.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!