Gentoo Logo

Smb4k: Local unauthorized file access


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200511-15 / Smb4k
Release Date November 18, 2005
Latest Revision November 18, 2005: 01
Impact high
Exploitable local
Package Vulnerable versions Unaffected versions Architecture(s)
net-misc/smb4k < 0.6.4 >= 0.6.4 All supported architectures

Related bugreports: #111089


A vulnerability has been identified that allows unauthorized access to the contents of /etc/sudoers and /etc/ files.

2.  Impact Information


Smb4K is a SMB/CIFS share browser for KDE.


A vulnerability leading to unauthorized file access has been found. A pre-existing symlink from /tmp/sudoers and /tmp/ to a textfile will cause Smb4k to write the contents of these files to the target of the symlink, as Smb4k does not check for the existence of these files before writing to them.


An attacker could acquire local privilege escalation by adding username(s) to the list of sudoers.

3.  Resolution Information


There is no known workaround at this time.


All smb4k users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=net-misc/smb4k-0.6.4"

4.  References


Page updated November 18, 2005

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.