SecurityContext

CVE-2020-14342: cifs-utils - Command Injection

  • Cve: CVE-2020-14342
  • Name: cifs-utils - Command Injection
  • Description: 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.
  • Impact: Attackers can escalate privileges by injecting arbitrary commands through mount.cifs, potentially leading to full system compromise.
  • Remediation: Update cifs-utils to the latest version where this issue is fixed or apply relevant patches.
  • Vulnerability type: command_injection
  • Vulnerability impact: privilege_escalation
  • Requirement type: admin_privileges
  • Requirements: Attacker needs to invoke mount.cifs with special permissions, such as via sudo rules
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7
  • Cvss vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.00652
  • Epss percentile: 0.52184
  • Assignee: [email protected]
  • Published at: 2020-09-09T12:15:11Z
  • Age in days: 2267
  • Modified at: 2026-06-17T02:54:34Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 6
  • Products total: 3
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2020-14342
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-77Improper Neutralization of Special Elements used in a Command
CWE-78Improper Neutralization of Special Elements used in an OS Command

Public exploits

UrlSourceAdded date
https://lists.samba.org/archive/samba-technical/2020-September/135747.htmlnvd2020-09-09

References

Same in every row:

  • Source: nvd
UrlTags
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-14342Issue Tracking, Patch, Third Party Advisory
https://lists.samba.org/archive/samba-technical/2020-September/135747.htmlExploit, Mailing List, Vendor Advisory
http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00109.htmlMailing List, Third Party Advisory
https://security.gentoo.org/glsa/202009-16Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DUMRICFXJVCBBOSKZSKT3HFVQM6VPJU3/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JBNFSTJOQWVPFZAUJNNMAPY45PW5RTTE/

Products

Same in every row:

  • Platform bound: no
  • Sources: nvd
ProductAffectedUrl
samba:cifs-utils>= 5.6, <= 6.10/v1/products/samba/cifs-utils
fedoraproject:fedora= 33, = 32/v1/products/fedoraproject/fedora
opensuse:leap= 15.1/v1/products/opensuse/leap

Projects

RepositoryLink kindsIndexedUrl
piastry/cifs-utilsfixyes/v1/repositories/piastry/cifs-utils

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2020-09-09
  • Authentication required: yes
  • Exposed hosts: 49161
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports