{"api_version":"1","generated_at":"2026-07-23T06:18:48+00:00","cve":"CVE-2012-4463","urls":{"html":"https://cve.report/CVE-2012-4463","api":"https://cve.report/api/cve/CVE-2012-4463.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2012-4463","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2012-4463"},"summary":{"title":"CVE-2012-4463","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.","state":"PUBLISHED","assigner":"redhat","published_at":"2012-10-10 18:55:04","updated_at":"2026-04-29 01:13:23"},"problem_types":["CWE-20","n/a"],"metrics":[{"version":"2.0","source":"nvd@nist.gov","type":"Primary","score":"5.1","severity":"","vector":"AV:N/AC:H/Au:N/C:P/I:P/A:P","data":{"version":"2.0","vectorString":"AV:N/AC:H/Au:N/C:P/I:P/A:P","baseScore":5.1,"accessVector":"NETWORK","accessComplexity":"HIGH","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"}}],"references":[{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/79033","name":"https://exchange.xforce.ibmcloud.com/vulnerabilities/79033","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"IBM X-Force Exchange","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=862813","name":"https://bugzilla.redhat.com/show_bug.cgi?id=862813","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Bug 862813 – CVE-2012-4463 mc: Improper sanitization of MC_EXT_SELECTED variable when viewing multiple files","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://bugs.gentoo.org/show_bug.cgi?id=436518#c7","name":"https://bugs.gentoo.org/show_bug.cgi?id=436518#c7","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"436518 – (CVE-2012-4463) <app-misc/mc-4.8.7: arbitrary execution of programs due to unquoted environment variables (CVE-2012-4463)","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.midnight-commander.org/ticket/2913","name":"https://www.midnight-commander.org/ticket/2913","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"#2913 (CVE-2012-4463 mc-4.8.5: Does not sanitize MC_EXT_SELECTED variable properly)\n     – Midnight Commander","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.openwall.com/lists/oss-security/2012/10/03/5","name":"http://www.openwall.com/lists/oss-security/2012/10/03/5","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"oss-security - Re: CVE Request (minor) -- mc: Improper sanitization\n of MC_EXT_SELECTED variable when viewing multiple files","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.openwall.com/lists/oss-security/2012/10/03/4","name":"http://www.openwall.com/lists/oss-security/2012/10/03/4","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"oss-security - CVE Request (minor) -- mc: Improper sanitization of MC_EXT_SELECTED\n variable when viewing multiple files","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.securityfocus.com/bid/55777","name":"http://www.securityfocus.com/bid/55777","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Midnight Commander 'MC_EXT_SELECTED' Variable Remote Security Vulnerability","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2012-4463","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-4463","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"n/a","product":"n/a","version":"affected n/a","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2012","cve_id":"4463","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"midnight-commander","cpe5":"midnight_commander","cpe6":"4.8.5","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2024-08-06T20:35:09.816Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"name":"[oss-security] 20121003 Re: CVE Request (minor) -- mc: Improper sanitization of MC_EXT_SELECTED variable when viewing multiple files","tags":["mailing-list","x_refsource_MLIST","x_transferred"],"url":"http://www.openwall.com/lists/oss-security/2012/10/03/5"},{"tags":["x_refsource_MISC","x_transferred"],"url":"https://www.midnight-commander.org/ticket/2913"},{"tags":["x_refsource_MISC","x_transferred"],"url":"https://bugs.gentoo.org/show_bug.cgi?id=436518#c7"},{"name":"[oss-security] 20121003 CVE Request (minor) -- mc: Improper sanitization of MC_EXT_SELECTED variable when viewing multiple files","tags":["mailing-list","x_refsource_MLIST","x_transferred"],"url":"http://www.openwall.com/lists/oss-security/2012/10/03/4"},{"tags":["x_refsource_MISC","x_transferred"],"url":"https://bugzilla.redhat.com/show_bug.cgi?id=862813"},{"name":"55777","tags":["vdb-entry","x_refsource_BID","x_transferred"],"url":"http://www.securityfocus.com/bid/55777"},{"name":"midnight-commander-code-exec(79033)","tags":["vdb-entry","x_refsource_XF","x_transferred"],"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/79033"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"datePublic":"2012-09-28T00:00:00.000Z","descriptions":[{"lang":"en","value":"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."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2017-08-28T12:57:01.000Z","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","shortName":"redhat"},"references":[{"name":"[oss-security] 20121003 Re: CVE Request (minor) -- mc: Improper sanitization of MC_EXT_SELECTED variable when viewing multiple files","tags":["mailing-list","x_refsource_MLIST"],"url":"http://www.openwall.com/lists/oss-security/2012/10/03/5"},{"tags":["x_refsource_MISC"],"url":"https://www.midnight-commander.org/ticket/2913"},{"tags":["x_refsource_MISC"],"url":"https://bugs.gentoo.org/show_bug.cgi?id=436518#c7"},{"name":"[oss-security] 20121003 CVE Request (minor) -- mc: Improper sanitization of MC_EXT_SELECTED variable when viewing multiple files","tags":["mailing-list","x_refsource_MLIST"],"url":"http://www.openwall.com/lists/oss-security/2012/10/03/4"},{"tags":["x_refsource_MISC"],"url":"https://bugzilla.redhat.com/show_bug.cgi?id=862813"},{"name":"55777","tags":["vdb-entry","x_refsource_BID"],"url":"http://www.securityfocus.com/bid/55777"},{"name":"midnight-commander-code-exec(79033)","tags":["vdb-entry","x_refsource_XF"],"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/79033"}]}},"cveMetadata":{"assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","assignerShortName":"redhat","cveId":"CVE-2012-4463","datePublished":"2012-10-10T18:00:00.000Z","dateReserved":"2012-08-21T00:00:00.000Z","dateUpdated":"2024-08-06T20:35:09.816Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2012-10-10 18:55:04","lastModifiedDate":"2026-04-29 01:13:23","problem_types":["CWE-20","n/a"],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:H/Au:N/C:P/I:P/A:P","baseScore":5.1,"accessVector":"NETWORK","accessComplexity":"HIGH","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"},"baseSeverity":"MEDIUM","exploitabilityScore":4.9,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":true}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:midnight-commander:midnight_commander:4.8.5:*:*:*:*:*:*:*","matchCriteriaId":"ACCF5D13-8D13-43C7-9B3A-FD1DDB50D55A"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2012","CveId":"4463","Ordinal":"1","Title":"CVE-2012-4463","CVE":"CVE-2012-4463","Year":"2012"},"notes":[{"CveYear":"2012","CveId":"4463","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"CVE-2012-4463"},{"CveYear":"2012","CveId":"4463","Ordinal":"2","NoteData":"2012-10-10","Type":"Other","Title":"Published"},{"CveYear":"2012","CveId":"4463","Ordinal":"3","NoteData":"2017-08-28","Type":"Other","Title":"Modified"}]}}}