GLSA-200511-15 : Smb4k: Local unauthorized file access

This script is Copyright (C) 2005-2014 Tenable Network Security, Inc.


Synopsis :

The remote Gentoo host is missing one or more security-related
patches.

Description :

The remote host is affected by the vulnerability described in GLSA-200511-15
(Smb4k: Local unauthorized file access)

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.

Workaround :

There is no known workaround at this time.

See also :

http://smb4k.berlios.de/
http://www.gentoo.org/security/en/glsa/glsa-200511-15.xml

Solution :

All smb4k users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose '>=net-misc/smb4k-0.6.4'

Risk factor :

Low / CVSS Base Score : 2.1
(CVSS2#AV:L/AC:L/Au:N/C:P/I:N/A:N)

Family: Gentoo Local Security Checks

Nessus Plugin ID: 20236 (gentoo_GLSA-200511-15.nasl)

Bugtraq ID:

CVE ID: CVE-2005-2851