
Ein Exploitskript, das entwickelt wurde, um die CVE-2023-20198 Cisco Zero-Day-Sicherheitslücke auf ihren IOS-Routern auszunutzen
Ein Exploitation-Script, das zur Ausnutzung der Cisco Zero-Day-Schwachstelle CVE-2023-20198 auf deren IOS XE entwickelt wurde.
Hacker nutzen diese Schwachstelle weitgehend aus, indem sie durch Umgehung der Authentifizierung einen Benutzer mit Privilegstufe 15 erstellen. Ein bösartiger XML-Inhalt ermöglicht die Ausnutzung des WebUI-Endpunkts von Cisco. Dieses Tool dient nicht nur der Ausnutzung, sondern erkennt auch verwundbare Implantate für die Exploitation und kann ebenfalls für die Massenerkennung und -ausnutzung verwendet werden.
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 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
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
Da das Ausnutzungs- und Erkennungstool auf der theoretischen Proof-of-Concept von Horizona3https://www.horizon3.ai/cisco-ios-xe-cve-2023-20198-deep-dive-and-poc/Imp basiert, half mir dies, das Tool für diese CVE zu entwickeln. Zur Erkennung kann es das anfällige Cisco-Implantat erkennen, aber für eine ordnungsgemäße Ausnutzung müssen Benutzer den bösartigen XML-Inhalt übergeben, der im theoretischen Proof-of-Concept von Horizona3 enthalten ist. Dies ist notwendig, da nur eine theoretische Erklärung gegeben wurde, um dies zu tun. Sobald jedoch ordnungsgemäße Informationen und Ressourcen vorliegen, wird dieses Ausnutzungs- und Erkennungstool aktualisiert.
Wichtig: Bei unethischer Ausnutzung übernehme ich keine Verantwortung für rechtswidrige Handlungen. Bitte verwenden Sie dies nur zu ethischen und legalen Zwecken.
Proof-of-Concept entwickelt von D.Sanjai Kumar mit ♥️. Für Upgrades oder Fehlerkorrekturen kontaktieren Sie mich über mein LinkedIn. Vielen Dank!