#VU46731 OS Command Injection in cifs-utils


Published: 2020-09-09 | Updated: 2022-06-02

Vulnerability identifier: #VU46731

Vulnerability risk: Low

CVSSv3.1: 6.1 [CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2020-14342

CWE-ID: CWE-78

Exploitation vector: Local

Exploit availability: No

Vulnerable software:
cifs-utils
Server applications / Other server solutions

Vendor: Distrotech

Description

The vulnerability allows a local authenticated user to execute arbitrary code.

It was found that cifs-utils' mount.cifs was invoking a shell when requesting the Samba password, which could be used to inject arbitrary commands. An attacker able to invoke mount.cifs with special permission, such as via sudo rules, could use this flaw to escalate their privileges.

Mitigation
Install update from vendor's website.

Vulnerable software versions

cifs-utils: 5.6 - 6.10


External links
http://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-14342
http://lists.samba.org/archive/samba-technical/2020-September/135747.html


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability