300+ Cisco switches affected by critical bug found in Vault 7 data dump
While combing through WikiLeaks’ Vault 7 data dump, Cisco has unearthed a critical vulnerability affecting 300+ of its switches and one gateway that could be exploited to take over the devices.
The vulnerability
The flaw is present in the Cisco Cluster Management Protocol (CMP) processing code in Cisco IOS and Cisco IOS XE Software.
“The vulnerability is due to the combination of two factors: the failure to restrict the use of CMP-specific Telnet options only to internal, local communications between cluster members and instead accept and process such options over any Telnet connection to an affected device, and the incorrect processing of malformed CMP-specific Telnet options,” Cisco explained.
“An attacker could exploit this vulnerability by sending malformed CMP-specific Telnet options while establishing a Telnet session with an affected Cisco device configured to accept Telnet connections. An exploit could allow an attacker to execute arbitrary code and obtain full control of the device or cause a reload of the affected device.”
Affected devices, and what to do
The extensive and complete list of affected devices is provided in the security advisory.
Cisco says that they are not aware of any public announcements or active malicious use of the vulnerability, and that they will provide free software updates to address it (they don’t say when).
In the meantime, users can mitigate the risk by disabling the Telnet protocol and switching to using SSH. If that’s not possible, they can reduce the attack surface by implementing infrastructure access control lists.
The security advisory provides helpful instructions on how to do all that, as well as how to discover whether your device uses the CMP subsystem, is configured to accept Telnet connections, and which Cisco IOS and IOS XE Software release it is running.
It also includes indicators of compromise that can be used to detect exploitation attempts.