【威胁通告】Cisco IOS&IOS XE Software CMP 远程执行代码漏洞

美国时间2017年3月17日,思科官方网站发布公告称Cisco IOS&IOS XE Software 集群管理协议(Cluster Management Protocol)存在远程执行代码漏洞(CVE-2017-3881,CNNVD-201703-840)。

该漏洞是思科在研究CIA泄漏文档“穹顶7号”的过程中发现。攻击者可以在未授权的情况下远程重启受影响的设备或越权执行代码。造成该漏洞的主要原因是由于没有限制CMP-specific Telnet仅可用于内部与本地的集群成员之间的通信,而是可用于连接任何受影响的设备,以及对于变形过的CMP-specific Telnet选项设置的错误处理。当用Telnet连接一个受影响设备的过程中,攻击者可以通过发送一个变形过的CMP-specific Telnet选项设置来建立与该设备的连接,利用此方法攻击者可以远程执行任意代码来完全控制此设备或者使得该设备重启。相关链接如下:

https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20170317-cmp

http://www.cnnvd.org.cn/vulnerability/show/cv_id/2017030840

受影响的产品及版本

思科公布目前有318款产品受此漏洞影响,详细产品列表见报告后附录。

不受影响的产品

  • 目前没有其他已知的产品受此漏洞影响。
  • 运行Cisco IOS Software 但是没有在上述受影响列表内的设备不受影响。
  • 运行Cisco IOS XE Software但是不包含CMP协议子系统的产品不受影响。

检测方法

运行Cisco IOS 与IOS XE 软件的设备均需要确认Telnet的设置选项是否为接受任何连接请求。运行Cisco IOS XE软件的设备还需要额外确认软件镜像中是否存在CMP子系统。

对于运行Cisco IOS XE软件的设备,要确认软件镜像下是否存在CMP子系统,可以在该设备的CLI下输入以下命令:

    show subsys class protocol | include ^cmp

下面的例子为软件镜像中存在CMP子系统的结果:

下面的例子为软件镜像中不存在CMP子系统的结果:

要确认设备是否配置为接受任何Telnet连接请求,可以在该设备的CLI下输入以下命令:

show running-config | include ^line vty|transport input

运行此命令可得到多种结果,以下举例说明:

  • 在line vty配置行后缺少transport input配置行说明该设备在处理来自虚拟终端(VTY)的链接访问时采用的是一系列默认协议,这些协议包扩Telnet的协议,该设备将接受任何来自VTY的Telnet连接请求,因此这是一个受该漏洞影响的配置。

  • 设备被特地配置为在处理部分可用VTY的连接请求时仅接受SSH协议,然而编号为6-15的VTY仍然使用默认协议。该设备在处理这些特定的VTY连接请求时仍然会接受任何Telnet请求,因此这是一个受漏洞影响的配置。

  • 在处理与所有VTY的连接时,使用任何可用的协议。Telnet协议也会被使用,因此这是一个受漏洞影响的配置。

  • 对于所有的VTY连接请求,仅允许使用SSH协议。任何使用Telnet的VTY连接均不会通过,因此这不是一个受漏洞影响的配置。

  • 对于来自VTY的连接请求,Telnet和SSH协议均被允许。利用Telnet连接该设备的请求均会通过,因此这是一个受漏洞影响的配置。

要查询Cisco IOS Software的版本信息,管理员可以登录到设备,在CLI下使用show version命令来查看系统相关信息。如果该设备在运行Cisco IOS Software,系统信息会有类似于Cisco Internetwork Operating System Software or Cisco IOS Software条目的出现。要查询Cisco IOS XE Software的版本信息,可以同样在CLI下使用show version命令来查询,如果该设备在运行Cisco IOS XE Software,会有类似于Cisco IOS XE Software的条目出现。

规避方案

  • 禁用Telnet协议

思科官方建议禁用Telnet协议而采用SSH协议来处理连接请求。具体的操作方法见如下链接:

http://www.cisco.com/c/en/us/support/docs/ip/access-lists/13608-21.html

  • 不方便禁用Telnet的用户可以创建设备层次的VTY访问白名单或者基础设施访问控制名单(iACLs)。具体操作方法可参考如下链接:

http://www.cisco.com/c/en/us/support/docs/ip/access-lists/13608-21.html#anc41

http://www.cisco.com/c/en/us/support/docs/ip/access-lists/43920-iacl.html

  • 用户可以利用思科官方的检测工具来检测,地址如下:

http://tools.cisco.com/security/center/selectIOSVersion.x

注:

目前思科官方还没有提供可用的相关补丁用来升级解决此问题,请时刻关注思科官方发布的补丁和最新更新。

附录

受影响的产品如下:

Cisco Catalyst 2350-48TD-S Switch

Cisco Catalyst 2350-48TD-SD Switch

Cisco Catalyst 2360-48TD-S Switch

Cisco Catalyst 2918-24TC-C Switch

Cisco Catalyst 2918-24TT-C Switch

Cisco Catalyst 2918-48TC-C Switch

Cisco Catalyst 2918-48TT-C Switch

Cisco Catalyst 2928-24TC-C Switch

Cisco Catalyst 2960-24-S Switch

Cisco Catalyst 2960-24LC-S Switch

Cisco Catalyst 2960-24LT-L Switch

Cisco Catalyst 2960-24PC-L Switch

Cisco Catalyst 2960-24PC-S Switch

Cisco Catalyst 2960-24TC-L Switch

Cisco Catalyst 2960-24TC-S Switch

Cisco Catalyst 2960-24TT-L Switch

Cisco Catalyst 2960-48PST-L Switch

Cisco Catalyst 2960-48PST-S Switch

Cisco Catalyst 2960-48TC-L Switch

Cisco Catalyst 2960-48TC-S Switch

Cisco Catalyst 2960-48TT-L Switch

Cisco Catalyst 2960-48TT-S Switch

Cisco Catalyst 2960-8TC-L Compact Switch

Cisco Catalyst 2960-8TC-S Compact Switch

Cisco Catalyst 2960-Plus 24LC-L Switch

Cisco Catalyst 2960-Plus 24LC-S Switch

Cisco Catalyst 2960-Plus 24PC-L Switch

Cisco Catalyst 2960-Plus 24PC-S Switch

Cisco Catalyst 2960-Plus 24TC-L Switch

Cisco Catalyst 2960-Plus 24TC-S Switch

Cisco Catalyst 2960-Plus 48PST-L Switch

Cisco Catalyst 2960-Plus 48PST-S Switch

Cisco Catalyst 2960-Plus 48TC-L Switch

Cisco Catalyst 2960-Plus 48TC-S Switch

Cisco Catalyst 2960C-12PC-L Switch

Cisco Catalyst 2960C-8PC-L Switch

Cisco Catalyst 2960C-8TC-L Switch

Cisco Catalyst 2960C-8TC-S Switch

Cisco Catalyst 2960CG-8TC-L Compact Switch

Cisco Catalyst 2960CPD-8PT-L Switch

Cisco Catalyst 2960CPD-8TT-L Switch

Cisco Catalyst 2960CX-8PC-L Switch

Cisco Catalyst 2960CX-8TC-L Switch

Cisco Catalyst 2960G-24TC-L Switch

Cisco Catalyst 2960G-48TC-L Switch

Cisco Catalyst 2960G-8TC-L Compact Switch

Cisco Catalyst 2960L-16PS-LL Switch

Cisco Catalyst 2960L-16TS-LL Switch

Cisco Catalyst 2960L-24PS-LL Switch

Cisco Catalyst 2960L-24TS-LL Switch

Cisco Catalyst 2960L-48PS-LL Switch

Cisco Catalyst 2960L-48TS-LL Switch

Cisco Catalyst 2960L-8PS-LL Switch

Cisco Catalyst 2960L-8TS-LL Switch

Cisco Catalyst 2960PD-8TT-L Compact Switch

Cisco Catalyst 2960S-24PD-L Switch

Cisco Catalyst 2960S-24PS-L Switch

Cisco Catalyst 2960S-24TD-L Switch

Cisco Catalyst 2960S-24TS-L Switch

Cisco Catalyst 2960S-24TS-S Switch

Cisco Catalyst 2960S-48FPD-L Switch

Cisco Catalyst 2960S-48FPS-L Switch

Cisco Catalyst 2960S-48LPD-L Switch

Cisco Catalyst 2960S-48LPS-L Switch

Cisco Catalyst 2960S-48TD-L Switch

Cisco Catalyst 2960S-48TS-L Switch

Cisco Catalyst 2960S-48TS-S Switch

Cisco Catalyst 2960S-F24PS-L Switch

Cisco Catalyst 2960S-F24TS-L Switch

Cisco Catalyst 2960S-F24TS-S Switch

Cisco Catalyst 2960S-F48FPS-L Switch

Cisco Catalyst 2960S-F48LPS-L Switch

Cisco Catalyst 2960S-F48TS-L Switch

Cisco Catalyst 2960S-F48TS-S Switch

Cisco Catalyst 2960X-24PD-L Switch

Cisco Catalyst 2960X-24PS-L Switch

Cisco Catalyst 2960X-24PSQ-L Cool Switch

Cisco Catalyst 2960X-24TD-L Switch

Cisco Catalyst 2960X-24TS-L Switch

Cisco Catalyst 2960X-24TS-LL Switch

Cisco Catalyst 2960X-48FPD-L Switch

Cisco Catalyst 2960X-48FPS-L Switch

Cisco Catalyst 2960X-48LPD-L Switch

Cisco Catalyst 2960X-48LPS-L Switch

Cisco Catalyst 2960X-48TD-L Switch

Cisco Catalyst 2960X-48TS-L Switch

Cisco Catalyst 2960X-48TS-LL Switch

Cisco Catalyst 2960XR-24PD-I Switch

Cisco Catalyst 2960XR-24PD-L Switch

Cisco Catalyst 2960XR-24PS-I Switch

Cisco Catalyst 2960XR-24PS-L Switch

Cisco Catalyst 2960XR-24TD-I Switch

Cisco Catalyst 2960XR-24TD-L Switch

Cisco Catalyst 2960XR-24TS-I Switch

Cisco Catalyst 2960XR-24TS-L Switch

Cisco Catalyst 2960XR-48FPD-I Switch

Cisco Catalyst 2960XR-48FPD-L Switch

Cisco Catalyst 2960XR-48FPS-I Switch

Cisco Catalyst 2960XR-48FPS-L Switch

Cisco Catalyst 2960XR-48LPD-I Switch

Cisco Catalyst 2960XR-48LPD-L Switch

Cisco Catalyst 2960XR-48LPS-I Switch

Cisco Catalyst 2960XR-48LPS-L Switch

Cisco Catalyst 2960XR-48TD-I Switch

Cisco Catalyst 2960XR-48TD-L Switch

Cisco Catalyst 2960XR-48TS-I Switch

Cisco Catalyst 2960XR-48TS-L Switch

Cisco Catalyst 2970G-24T Switch

Cisco Catalyst 2970G-24TS Switch

Cisco Catalyst 2975 Switch

Cisco Catalyst 3550 12G Switch

Cisco Catalyst 3550 12T Switch

Cisco Catalyst 3550 24 DC SMI Switch

Cisco Catalyst 3550 24 EMI Switch

Cisco Catalyst 3550 24 FX SMI Switch

Cisco Catalyst 3550 24 PWR Switch

Cisco Catalyst 3550 24 SMI Switch

Cisco Catalyst 3550 48 EMI Switch

Cisco Catalyst 3550 48 SMI Switch

Cisco Catalyst 3560-12PC-S Compact Switch

Cisco Catalyst 3560-24PS Switch

Cisco Catalyst 3560-24TS Switch

Cisco Catalyst 3560-48PS Switch

Cisco Catalyst 3560-48TS Switch

Cisco Catalyst 3560-8PC Compact Switch

Cisco Catalyst 3560C-12PC-S Switch

Cisco Catalyst 3560C-8PC-S Switch

Cisco Catalyst 3560CG-8PC-S Compact Switch

Cisco Catalyst 3560CG-8TC-S Compact Switch

Cisco Catalyst 3560CPD-8PT-S Compact Switch

Cisco Catalyst 3560CX-12PC-S Switch

Cisco Catalyst 3560CX-12PD-S Switch

Cisco Catalyst 3560CX-12TC-S Switch

Cisco Catalyst 3560CX-8PC-S Switch

Cisco Catalyst 3560CX-8PT-S Switch

Cisco Catalyst 3560CX-8TC-S Switch

Cisco Catalyst 3560CX-8XPD-S Switch

Cisco Catalyst 3560E-12D-E Switch

Cisco Catalyst 3560E-12D-S Switch

Cisco Catalyst 3560E-12SD-E Switch

Cisco Catalyst 3560E-12SD-S Switch

Cisco Catalyst 3560E-24PD-E Switch

Cisco Catalyst 3560E-24PD-S Switch

Cisco Catalyst 3560E-24TD-E Switch

Cisco Catalyst 3560E-24TD-S Switch

Cisco Catalyst 3560E-48PD-E Switch

Cisco Catalyst 3560E-48PD-EF Switch

Cisco Catalyst 3560E-48PD-S Switch

Cisco Catalyst 3560E-48PD-SF Switch

Cisco Catalyst 3560E-48TD-E Switch

Cisco Catalyst 3560E-48TD-S Switch

Cisco Catalyst 3560G-24PS Switch

Cisco Catalyst 3560G-24TS Switch

Cisco Catalyst 3560G-48PS Switch

Cisco Catalyst 3560G-48TS Switch

Cisco Catalyst 3560V2-24DC Switch

Cisco Catalyst 3560V2-24PS Switch

Cisco Catalyst 3560V2-24TS Switch

Cisco Catalyst 3560V2-48PS Switch

Cisco Catalyst 3560V2-48TS Switch

Cisco Catalyst 3560X-24P-E Switch

Cisco Catalyst 3560X-24P-L Switch

Cisco Catalyst 3560X-24P-S Switch

Cisco Catalyst 3560X-24T-E Switch

Cisco Catalyst 3560X-24T-L Switch

Cisco Catalyst 3560X-24T-S Switch

Cisco Catalyst 3560X-24U-E Switch

Cisco Catalyst 3560X-24U-L Switch

Cisco Catalyst 3560X-24U-S Switch

Cisco Catalyst 3560X-48P-E Switch

Cisco Catalyst 3560X-48P-L Switch

Cisco Catalyst 3560X-48P-S Switch

Cisco Catalyst 3560X-48PF-E Switch

Cisco Catalyst 3560X-48PF-L Switch

Cisco Catalyst 3560X-48PF-S Switch

Cisco Catalyst 3560X-48T-E Switch

Cisco Catalyst 3560X-48T-L Switch

Cisco Catalyst 3560X-48T-S Switch

Cisco Catalyst 3560X-48U-E Switch

Cisco Catalyst 3560X-48U-L Switch

Cisco Catalyst 3560X-48U-S Switch

Cisco Catalyst 3750 Metro 24-AC Switch

Cisco Catalyst 3750 Metro 24-DC Switch

Cisco Catalyst 3750-24FS Switch

Cisco Catalyst 3750-24PS Switch

Cisco Catalyst 3750-24TS Switch

Cisco Catalyst 3750-48PS Switch

Cisco Catalyst 3750-48TS Switch

Cisco Catalyst 3750E-24PD-E Switch

Cisco Catalyst 3750E-24PD-S Switch

Cisco Catalyst 3750E-24TD-E Switch

Cisco Catalyst 3750E-24TD-S Switch

Cisco Catalyst 3750E-48PD-E Switch

Cisco Catalyst 3750E-48PD-EF Switch

Cisco Catalyst 3750E-48PD-S Switch

Cisco Catalyst 3750E-48PD-SF Switch

Cisco Catalyst 3750E-48TD-E Switch

Cisco Catalyst 3750E-48TD-S Switch

Cisco Catalyst 3750G-12S Switch

Cisco Catalyst 3750G-12S-SD Switch

Cisco Catalyst 3750G-16TD Switch

Cisco Catalyst 3750G-24PS Switch

Cisco Catalyst 3750G-24T Switch

Cisco Catalyst 3750G-24TS Switch

Cisco Catalyst 3750G-24TS-1U Switch

Cisco Catalyst 3750G-48PS Switch

Cisco Catalyst 3750G-48TS Switch

Cisco Catalyst 3750V2-24FS Switch

Cisco Catalyst 3750V2-24PS Switch

Cisco Catalyst 3750V2-24TS Switch

Cisco Catalyst 3750V2-48PS Switch

Cisco Catalyst 3750V2-48TS Switch

Cisco Catalyst 3750X-12S-E Switch

Cisco Catalyst 3750X-12S-S Switch

Cisco Catalyst 3750X-24P-E Switch

Cisco Catalyst 3750X-24P-L Switch

Cisco Catalyst 3750X-24P-S Switch

Cisco Catalyst 3750X-24S-E Switch

Cisco Catalyst 3750X-24S-S Switch

Cisco Catalyst 3750X-24T-E Switch

Cisco Catalyst 3750X-24T-L Switch

Cisco Catalyst 3750X-24T-S Switch

Cisco Catalyst 3750X-24U-E Switch

Cisco Catalyst 3750X-24U-L Switch

Cisco Catalyst 3750X-24U-S Switch

Cisco Catalyst 3750X-48P-E Switch

Cisco Catalyst 3750X-48P-L Switch

Cisco Catalyst 3750X-48P-S Switch

Cisco Catalyst 3750X-48PF-E Switch

Cisco Catalyst 3750X-48PF-L Switch

Cisco Catalyst 3750X-48PF-S Switch

Cisco Catalyst 3750X-48T-E Switch

Cisco Catalyst 3750X-48T-L Switch

Cisco Catalyst 3750X-48T-S Switch

Cisco Catalyst 3750X-48U-E Switch

Cisco Catalyst 3750X-48U-L Switch

Cisco Catalyst 3750X-48U-S Switch

Cisco Catalyst 4000 Supervisor Engine I

Cisco Catalyst 4000/4500 Supervisor Engine IV

Cisco Catalyst 4000/4500 Supervisor Engine V

Cisco Catalyst 4500 Series Supervisor Engine II-Plus

Cisco Catalyst 4500 Series Supervisor Engine II-Plus-TS

Cisco Catalyst 4500 Series Supervisor Engine V-10GE

Cisco Catalyst 4500 Series Supervisor II-Plus-10GE

Cisco Catalyst 4500 Supervisor Engine 6-E

Cisco Catalyst 4500 Supervisor Engine 6L-E

Cisco Catalyst 4900M Switch

Cisco Catalyst 4928 10 Gigabit Ethernet Switch

Cisco Catalyst 4948 10 Gigabit Ethernet Switch

Cisco Catalyst 4948 Switch

Cisco Catalyst 4948E Ethernet Switch

Cisco Catalyst 4948E-F Ethernet Switch

Cisco Catalyst Blade Switch 3020 for HP

Cisco Catalyst Blade Switch 3030 for Dell

Cisco Catalyst Blade Switch 3032 for Dell M1000E

Cisco Catalyst Blade Switch 3040 for FSC

Cisco Catalyst Blade Switch 3120 for HP

Cisco Catalyst Blade Switch 3120X for HP

Cisco Catalyst Blade Switch 3130 for Dell M1000E

Cisco Catalyst C2928-24LT-C Switch

Cisco Catalyst C2928-48TC-C Switch

Cisco Catalyst Switch Module 3012 for IBM BladeCenter

Cisco Catalyst Switch Module 3110 for IBM BladeCenter

Cisco Catalyst Switch Module 3110X for IBM BladeCenter

Cisco Embedded Service 2020 24TC CON B Switch

Cisco Embedded Service 2020 24TC CON Switch

Cisco Embedded Service 2020 24TC NCP B Switch

Cisco Embedded Service 2020 24TC NCP Switch

Cisco Embedded Service 2020 CON B Switch

Cisco Embedded Service 2020 CON Switch

Cisco Embedded Service 2020 NCP B Switch

Cisco Embedded Service 2020 NCP Switch

Cisco Enhanced Layer 2 EtherSwitch Service Module

Cisco Enhanced Layer 2/3 EtherSwitch Service Module

Cisco Gigabit Ethernet Switch Module (CGESM) for HP

Cisco IE 2000-16PTC-G Industrial Ethernet Switch

Cisco IE 2000-16T67 Industrial Ethernet Switch

Cisco IE 2000-16T67P Industrial Ethernet Switch

Cisco IE 2000-16TC Industrial Ethernet Switch

Cisco IE 2000-16TC-G Industrial Ethernet Switch

Cisco IE 2000-16TC-G-E Industrial Ethernet Switch

Cisco IE 2000-16TC-G-N Industrial Ethernet Switch

Cisco IE 2000-16TC-G-X Industrial Ethernet Switch

Cisco IE 2000-24T67 Industrial Ethernet Switch

Cisco IE 2000-4S-TS-G Industrial Ethernet Switch

Cisco IE 2000-4T Industrial Ethernet Switch

Cisco IE 2000-4T-G Industrial Ethernet Switch

Cisco IE 2000-4TS Industrial Ethernet Switch

Cisco IE 2000-4TS-G Industrial Ethernet Switch

Cisco IE 2000-8T67 Industrial Ethernet Switch

Cisco IE 2000-8T67P Industrial Ethernet Switch

Cisco IE 2000-8TC Industrial Ethernet Switch

Cisco IE 2000-8TC-G Industrial Ethernet Switch

Cisco IE 2000-8TC-G-E Industrial Ethernet Switch

Cisco IE 2000-8TC-G-N Industrial Ethernet Switch

Cisco IE 3000-4TC Industrial Ethernet Switch

Cisco IE 3000-8TC Industrial Ethernet Switch

Cisco IE-3010-16S-8PC Industrial Ethernet Switch

Cisco IE-3010-24TC Industrial Ethernet Switch

Cisco IE-4000-16GT4G-E Industrial Ethernet Switch

Cisco IE-4000-16T4G-E Industrial Ethernet Switch

Cisco IE-4000-4GC4GP4G-E Industrial Ethernet Switch

Cisco IE-4000-4GS8GP4G-E Industrial Ethernet Switch

Cisco IE-4000-4S8P4G-E Industrial Ethernet Switch

Cisco IE-4000-4T4P4G-E Industrial Ethernet Switch

Cisco IE-4000-4TC4G-E Industrial Ethernet Switch

Cisco IE-4000-8GS4G-E Industrial Ethernet Switch

Cisco IE-4000-8GT4G-E Industrial Ethernet Switch

Cisco IE-4000-8GT8GP4G-E Industrial Ethernet Switch

Cisco IE-4000-8S4G-E Industrial Ethernet Switch

Cisco IE-4000-8T4G-E Industrial Ethernet Switch

Cisco IE-4010-16S12P Industrial Ethernet Switch

Cisco IE-4010-4S24P Industrial Ethernet Switch

Cisco IE-5000-12S12P-10G Industrial Ethernet Switch

Cisco IE-5000-16S12P Industrial Ethernet Switch

Cisco ME 4924-10GE Switch

Cisco RF Gateway 10

Cisco SM-X Layer 2/3 EtherSwitch Service Module

声 明

本安全公告仅用来描述可能存在的安全问题,绿盟科技不为此安全公告提供任何保证或承诺。由于传播、利用此安全公告所提供的信息而造成的任何直接或者间接的后果及损失,均由使用者本人负责,绿盟科技以及安全公告作者不为此承担任何责任。绿盟科技拥有对此安全公告的修改和解释权。如欲转载或传播此安全公告,必须保证此安全公告的完整性,包括版权声明等全部内容。未经绿盟科技允许,不得任意修改或者增减此安全公告内容,不得以任何方式将其用于商业目的。

关于绿盟科技

北京神州绿盟信息安全科技股份有限公司(简称绿盟科技)成立于2000年4月,总部位于北京。在国内外设有30多个分支机构,为政府、运营商、金融、能源、互联网以及教育、医疗等行业用户,提供具有核心竞争力的安全产品及解决方案,帮助客户实现业务的安全顺畅运行。

基于多年的安全攻防研究,绿盟科技在网络及终端安全、互联网基础安全、合规及安全管理等领域,为客户提供入侵检测/防护、抗拒绝服务攻击、远程安全评估以及Web安全防护等产品以及专业安全服务。

北京神州绿盟信息安全科技股份有限公司于2014年1月29日起在深圳证券交易所创业板上市交易,股票简称:绿盟科技,股票代码:300369。

如果您需要了解更多内容,可以
加入QQ群:570982169
直接询问:010-68438880

Spread the word. Share this post!

Meet The Author

Leave Comment