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

low Nessus Plugin ID 20236

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.

Solution

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

See Also

http://smb4k.berlios.de/

https://security.gentoo.org/glsa/200511-15

Plugin Details

Severity: Low

ID: 20236

File Name: gentoo_GLSA-200511-15.nasl

Version: 1.15

Type: local

Published: 11/21/2005

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.4

CVSS v2

Risk Factor: Low

Base Score: 2.1

Vector: CVSS2#AV:L/AC:L/Au:N/C:P/I:N/A:N

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:smb4k, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Patch Publication Date: 11/18/2005

Vulnerability Publication Date: 8/29/2005

Reference Information

CVE: CVE-2005-2851

GLSA: 200511-15