OS command injection in cifs-utils



Published: 2020-09-09 | Updated: 2022-06-02
Risk Low
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2020-14342
CWE-ID CWE-78
Exploitation vector Local
Public exploit N/A
Vulnerable software
Subscribe
cifs-utils
Server applications / Other server solutions

Vendor Distrotech

Security Bulletin

This security bulletin contains one low risk vulnerability.

1) OS Command Injection

EUVDB-ID: #VU46731

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 - Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Exploit availability: No

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

CPE2.3 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.



###SIDEBAR###