SecurityContext

CVE-2018-12562: Cantata - Command Injection

  • Cve: CVE-2018-12562
  • Name: Cantata - Command Injection
  • Description: An issue was discovered in the cantata-mounter D-Bus service in Cantata through 2.3.1. The wrapper script 'mount.cifs.wrapper' uses the shell to forward the arguments to the actual mount.cifs binary. The shell evaluates wildcards (such as in an injected string:/home/../tmp/* string).
  • Impact: Attackers can execute arbitrary commands on the system, potentially leading to full system compromise.
  • Remediation: Update to version 2.3.2 or later, or apply patches that fix the argument handling in the wrapper script.
  • Vulnerability type: command_injection
  • Vulnerability impact: remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.01661
  • Epss percentile: 0.77298
  • Assignee: [email protected]
  • Published at: 2018-06-19T05:29:00Z
  • Age in days: 3080
  • Modified at: 2026-06-17T01:37:58Z
  • Patch available: yes
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2018-12562
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-20Improper Input Validation

References

UrlSourceTags
https://github.com/CDrummond/cantata/commit/afc4f8315d3e96574925fb530a7004cc9e6ce3d3nvdPatch, Technical Description
http://www.openwall.com/lists/oss-security/2018/06/18/1nvdMailing List, Technical Description

Products

ProductAffectedPlatform boundSourcesUrl
cantata_project:cantata<= 2.3.1nonvd/v1/products/cantata_project/cantata

Projects

RepositoryLink kindsIndexedUrl
CDrummond/cantatacommit, fixyes/v1/repositories/CDrummond/cantata

Index

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

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts