Gentoo Logo

Links: Arbitrary Samba command execution

Content:

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200612-16 / links
Release Date December 14, 2006
Latest Revision December 14, 2006: 01
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
www-client/links < 2.1_pre26 >= 2.1_pre26 All supported architectures

Related bugreports: #157028

Synopsis

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

2.  Impact Information

Background

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

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.

3.  Resolution Information

Workaround

There is no known workaround at this time.

Resolution

All Links users should upgrade to the latest version:

Code Listing 3.1: Resolution

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

4.  References



Print

Page updated December 14, 2006

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

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