RCE in Samba Cifs-Utils
CVE-2020-14342
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.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 4.4 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N.
EPSS exploit prediction
EPSS 0.007, 51.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Samba Cifs-Utils — versions 6.11
- Fedoraproject Fedora — versions 32, 33
- openSUSE Leap — versions 15.1
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (404notf0und/CVE-Flow, Live-Hack-CVE/CVE-2020-14342). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- lists.samba.org/archive/samba-technical/2020-September/135747.html (Exploit, Mailing List, Vendor Advisory)
- bugzilla.redhat.com/show_bug.cgi (Patch, Third Party Advisory, Issue Tracking)
- GLSA-202009-16 (vendor-advisory, Third Party Advisory)
- openSUSE-SU-2020:1579 (vendor-advisory, Mailing List, Third Party Advisory)
- FEDORA-2020-ea0b9caac3 (vendor-advisory)
- FEDORA-2020-cfdd73f1b4 (vendor-advisory)