GLSA-202009-16 : LinuxCIFS: Shell injection

high Nessus Plugin ID 141066

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-202009-16 (LinuxCIFS: Shell injection)

The mount.cifs utility had a shell injection issue where one can embed shell commands via the username mount option. Those commands will be run via popen() in the context of the user calling mount.
Impact :

A remote attacker could entice a user to use a specially crafted argument using mount.cifs, possibly resulting in execution of arbitrary code with the privileges of the process or a Denial of Service condition.
Workaround :

There is no known workaround at this time.

Solution

All LinuxCIFS users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=net-fs/cifs-utils-6.11'

See Also

https://security.gentoo.org/glsa/202009-16

Plugin Details

Severity: High

ID: 141066

File Name: gentoo_GLSA-202009-16.nasl

Version: 1.3

Type: local

Published: 9/30/2020

Updated: 2/16/2024

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Medium

Base Score: 4.4

Temporal Score: 3.4

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

CVSS Score Source: CVE-2020-14342

CVSS v3

Risk Factor: High

Base Score: 7

Temporal Score: 6.3

Vector: CVSS:3.0/AV:L/AC:H/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:cifs-utils, 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: 9/29/2020

Vulnerability Publication Date: 9/9/2020

Reference Information

CVE: CVE-2020-14342

GLSA: 202009-16