CVE-2012-4463
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.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 16.04 | mc | Not affected vulnerable_code_not_present | ||
| Debian 14 | mc | Fixed | 3:4.8.8-1 | DEBIAN-CVE-2012-4463 |
| Debian 13 | mc | Fixed | 3:4.8.8-1 | DEBIAN-CVE-2012-4463 |
| Debian 12 | mc | Fixed | 3:4.8.8-1 | DEBIAN-CVE-2012-4463 |
| Red Hat Enterprise Linux 6 | mc | Not affected | ||
| Red Hat Enterprise Linux 5 | mc | Not affected |
References
- http://www.openwall.com/lists/oss-security/2012/10/03/5
- https://www.midnight-commander.org/ticket/2913
- https://bugs.gentoo.org/show_bug.cgi?id=436518#c7
- http://www.openwall.com/lists/oss-security/2012/10/03/4
- https://bugzilla.redhat.com/show_bug.cgi?id=862813
- http://www.securityfocus.com/bid/55777
- https://exchange.xforce.ibmcloud.com/vulnerabilities/79033
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.