GLSA-201705-14 : Smb4K: Arbitrary command execution as root

high Nessus Plugin ID 100446

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-201705-14 (Smb4K: Arbitrary command execution as root)

Smb4k contains a logic flaw in which mount helper binary does not properly verify the mount command it is being asked to run.
Impact :

A local user can execute commands with the root privilege due to the mount helper being installed as suid.
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-1.2.3-r1:4'

See Also

https://security.gentoo.org/glsa/201705-14

Plugin Details

Severity: High

ID: 100446

File Name: gentoo_GLSA-201705-14.nasl

Version: 3.5

Type: local

Published: 5/26/2017

Updated: 1/11/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 7.2

Temporal Score: 5.6

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

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 7

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 5/26/2017

Reference Information

CVE: CVE-2017-8849

GLSA: 201705-14