Smb4k: Local unauthorized file access
Gentoo Linux Security Advisory
||GLSA 200511-15 / Smb4k
||November 18, 2005
||November 18, 2005: 01
All supported architectures
A vulnerability has been identified that allows unauthorized access to the
contents of /etc/sudoers and /etc/super.tab files.
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/super.tab 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.
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"