CVE-2012-4463 Command injection in n/a

Medium 5.1 Published Updated

Attackers can execute arbitrary commands via crafted file names in Midnight Commander when specific environment variables are set, requiring user interaction.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2012-4463?

CVE-2012-4463 is a medium-severity command injection vulnerability in n/a, published on 10 Oct 2012. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

Midnight Commander (mc) 4.8.5 does not properly handle the (1) MC_EXT_SELECTED or (2) MC_EXT_ONLYTAGGED environment variables when multiple files are selected, which allows user-assisted remote attackers to execute arbitrary commands via a crafted file name.

Weakness: CWE-20

Which versions are affected by CVE-2012-4463?

It affects 1 product.

Products include Midnight-Commander Midnight Commander.

How do I fix CVE-2012-4463?

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-2012-4463 being exploited?

There is no known exploitation of CVE-2012-4463 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2012-4463, GHSA-rmf6-73g7-v4xm.

Is CVE-2012-4463 in your software?

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

Check your SBOMs for free