High severity · published Aug 30, 2021
CVE-2021-36370
An issue was discovered in Midnight Commander through 4.8.26
7.5
CVSS
2%
EPSS
No
On KEV
Description
An issue was discovered in Midnight Commander through 4.8.26. When establishing an SFTP connection, the fingerprint of the server is neither checked nor displayed. As a result, a user connects to the server without the ability to verify its authenticity.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
High
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)2.0% · higher than 81% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
MC
Midnight Commander · Midnight-commander
through 4.8.26 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2021-36370
CVE.org
https://www.cve.org/CVERecord?id=CVE-2021-36370
Exploit
https://docs.ssh-mitm.at/CVE-2021-36370.html
Exploit
https://github.com/MidnightCommander/mc/blob/5c1d3c55dd15356ec7d079084d904b7b0fd58d3e/src/vfs/sftpfs/connection.c#L484
Exploit
https://github.com/MidnightCommander/mc/blob/master/src/vfs/sftpfs/connection.c
Release Notes
https://mail.gnome.org/archives/mc-devel/2021-August/msg00008.html
Vendor Advisory
https://midnight-commander.org/
Product
https://sourceforge.net/projects/mcwin32/files/
More from Midnight Commander
–
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…
–
CVE-2005-0763
Buffer overflow in Midnight Commander (mc) 4.5.55 and earlier may allow attackers to execute arbitrary code
–
CVE-2004-1009
Midnight commander (mc) 4.5.55 and earlier allows remote attackers to cause a denial of service (infinite loop) via unknown attack vectors
–
CVE-2004-1004
Multiple format string vulnerabilities in Midnight Commander (mc) 4.5.55 and earlier allow remote attackers to have an unknown impact
–
CVE-2004-1005
Multiple buffer overflows in Midnight Commander (mc) 4.5.55 and earlier allow remote attackers to have an unknown impact
