Gentoo Logo

Smb4k: Local unauthorized file access

Content:

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

Synopsis

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

2.  Impact Information

Background

Smb4K is a SMB/CIFS share browser for KDE.

Description

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.

Impact

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

3.  Resolution Information

Workaround

There is no known workaround at this time.

Resolution

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



Print

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-2014 Gentoo Foundation, Inc. Questions, Comments? Contact us.