CVE-2018-12562 Command injection in n/a
Attackers can execute arbitrary commands via shell wildcard injection in the Cantata D-Bus mount wrapper script.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2018-12562?
CVE-2018-12562 is a critical command injection vulnerability in n/a, published on 19 Jun 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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).
Weakness: CWE-20
Which versions are affected by CVE-2018-12562?
It affects 1 product.
Products include Cantata Project Cantata.
How do I fix CVE-2018-12562?
Apply the vendor's patch.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2018-12562 being exploited?
There is no known exploitation of CVE-2018-12562 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as DEBIAN-CVE-2018-12562, GHSA-fcgh-v75r-28pj.