
نص برمجي استغلالي تم تطويره لاستغلال ثغرة CVE-2023-20198 من نوع zero day في أجهزة التوجيه من Cisco التي تعمل بنظام IOS.
سكريبت استغلال تم تطويره لاستغلال ثغرة اليوم الصفري CVE-2023-20198 في نظام Cisco IOS XE.
لقد استغل القراصنة هذه الثغرة على نطاق واسع، حيث تقوم بإنشاء مستخدم بصلاحيات مستوى 15 عن طريق تجاوز المصادقة. محتوى XML ضار هو ما يُحدث هذا الاستغلال في نقطة نهاية webui الخاصة بـ Cisco. هذه الأداة ليست مخصصة للاستغلال فقط، بل تكتشف أيضًا الغرسات القابلة للاستغلال، ويمكن استخدامها للكشف والاستغلال الجماعيين!
git clone https://github.com/sanjai-AK47/CVE-2023-20198.git
cd CVE-2023-20198
pip install -r requirements.txt
python3 exploit.py --help
usage: exploit.py [-h] {Detect,Exploit} ...
[DESCTIPTION]: Exploitation and Detection tool for Cisco CVE-2023-20198
options:
-h, --help show this help message and exit
[MODE]: Exploitation | Detections Modes:
{Detect,Exploit} [INFO]: Select either Exploit or Detect mode
Detect [INFO]: Detection mode detect the vulnerable implant to exploit
Exploit [INFO]: Exploitation mode exploit the vulnerable implant of CVE-2023-20198
python3 exploit.py Detect -h
usage: exploit.py Detect [-h] [-d DOMAIN] [-dL DOMAINS_LIST] [-px PROXY] [-to TIME_OUT] [-o OUTPUT] [-v]
options:
-h, --help show this help message and exit
-d DOMAIN, --domain DOMAIN
[INFO]: Target domain for exploiting without protocol eg:(www.domain.com)
-dL DOMAINS_LIST, --domains-list DOMAINS_LIST
[INFO]: Targets domain for exploiting without protocol eg:(www.domain.com)
-px PROXY, --proxy PROXY
[INFO]: Switiching proxy will request to your configured proxy (eg: BURPSUITE)
-to TIME_OUT, --time-out TIME_OUT
[INFO]: Switiching timeout will requests till for your timeout and also for BURPSUITE
-o OUTPUT, --output OUTPUT
[INFO]: File name to save output
-v, --verbose [INFO]: Switching verbose will shows failed and offline targets
python3 exploit.py Exploit -h
usage: exploit.py Exploit [-h] [-cfc CONFIG_CONTENT] [-d DOMAIN] [-dL DOMAINS_LIST] [-px PROXY] [-to TIME_OUT] [-o OUTPUT] [-v]
options:
-h, --help show this help message and exit
-cfc CONFIG_CONTENT, --config-content CONFIG_CONTENT
[INFO]: Customized config contents for exploitation
-d DOMAIN, --domain DOMAIN
[INFO]: Target domain for exploiting without protocol eg:(www.domain.com)
-dL DOMAINS_LIST, --domains-list DOMAINS_LIST
[INFO]: Targets domain for exploiting without protocol eg:(www.domain.com)
-px PROXY, --proxy PROXY
[INFO]: Switiching proxy will send request to your configured proxy (eg: BURPSUITE)
-to TIME_OUT, --time-out TIME_OUT
[INFO]: Switiching timeout will requests till for your timeout and also for BURPSUITE
-o OUTPUT, --output OUTPUT
[INFO]: File name to save output
-v, --verbose [INFO]: Switching verbose will shows failed and offline targets
نظرًا لأن أداة الاستغلال والكشف تم تطويرها بناءً على إثبات المفهوم النظري من Horizona3https://www.horizon3.ai/cisco-ios-xe-cve-2023-20198-deep-dive-and-poc/Imp والذي ساعدني في تطوير هذه الأداة لهذا CVE. ولأغراض الكشف، يمكنها اكتشاف الغرسة الضعيفة من Cisco، ولكن للاستغلال الصحيح يحتاج المستخدمون إلى تمرير محتوى XML الضار الموجود في إثبات المفهوم النظري لـ Horizona3، وذلك لأن الشرح النظري فقط هو المتاح حاليًا. قريبًا، بعد الحصول على المعلومات والموارد المناسبة، سيتم ترقية أداة الاستغلال والكشف هذه.
أمر مهم: في حالة أي استغلال غير أخلاقي، فأنا لست مسؤولاً عن أي أعمال غير قانونية. لذا، يُرجى استخدام هذه الأداة لأغراض أخلاقية وقانونية.
تم تطوير إثبات المفهوم بواسطة D.Sanjai Kumar مع ♥️. لأي ترقية أو أخطاء في الترميز، تواصل معي عبر LinkedIn. شكرًا لك!