REDHAT-BUG-862813: Low severity Midnight commander Midnight commander vulnerability

Published Oct 3, 2012
·
Updated

A security flaw was found in the way Midnight Commander, a user-friendly text console file manager and visual shell, performed sanitization of MCEXTSELECTED environment variable when multiple files were selected (first selected file was used as actual content of the MCEXTSELECTED variable, while the remaining files were provided as arguments to the temporary script, handling the F3 / Enter key press event). A remote attacker could provide a specially-crafted archive that, when expanded and previewed by the victim could lead to arbitrary code execution with the privileges of the user running mc executable.

References: [1] https://bugs.gentoo.org/showbug.cgi?id=436518

Upstream ticket: [2] https://www.midnight-commander.org/ticket/2913

Affected Software

1 affected component
Midnight commander Midnight commander

Event History

Oct 3, 2012
Data Sourced
03:29 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of REDHAT-BUG-862813?

The severity of REDHAT-BUG-862813 is classified as a medium security vulnerability.

2

How do I fix REDHAT-BUG-862813?

To fix REDHAT-BUG-862813, update to the latest version of Midnight Commander that has addressed the sanitization flaw.

3

What systems are affected by REDHAT-BUG-862813?

REDHAT-BUG-862813 affects systems running vulnerable versions of Midnight Commander.

4

What type of vulnerability is REDHAT-BUG-862813?

REDHAT-BUG-862813 is a security flaw related to improper sanitization of environment variables.

5

Who reported REDHAT-BUG-862813?

REDHAT-BUG-862813 was reported by users within the Midnight Commander community and identified in bug tracking systems.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203