CVE-2014-0476 Command injection in n/a

Low 3.7 Published Updated

Local attackers can execute arbitrary code via a Trojan horse executable due to improper path quoting in chkrootkit, requiring /tmp to lack noexec.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2014-0476?

CVE-2014-0476 is a low-severity command injection vulnerability in Canonical Ubuntu Linux, published on 25 Oct 2014. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

The slapper function in chkrootkit before 0.50 does not properly quote file paths, which allows local users to execute arbitrary code via a Trojan horse executable. NOTE: this is only a vulnerability when /tmp is not mounted with the noexec option.

Weakness: CWE-20

Which versions are affected by CVE-2014-0476?

It affects 2 products.

Products include Canonical Ubuntu Linux, Chkrootkit Chkrootkit.

How do I fix CVE-2014-0476?

Upgrade to a fixed version.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2014-0476 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2014-0476 exists.

Public exploit code: 1 Metasploit module and 2 Exploit-DB entries.

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2014-0476, DLA-0002-1, DSA-2945-1, GHSA-f6jc-6vm7-jv5m, MGASA-2014-0249, UBUNTU-CVE-2014-0476 and 1 more.

Is CVE-2014-0476 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free