
CVE-2023-20198 Cisco IOSルータのゼロデイ脆弱性を悪用するために開発されたエクスプロイトスクリプト
CVE-2023-20198 Cisco IOS XE のゼロデイ脆弱性を悪用するために開発されたエクスプロイトスクリプト
ハッカーはこの脆弱性を広く悪用しており、認証をバイパスして15レベルの特権ユーザーを作成します。悪意のあるXMLコンテンツにより、このエクスプロイトはCiscoのWebUIエンドポイントに対して行われます。これはエクスプロイトだけでなく、脆弱なインプラントの検出も行い、大量の検出とエクスプロイトにも使用できます!
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
このエクスプロイトおよび検出ツールは、Horizona3https://www.horizon3.ai/cisco-ios-xe-cve-2023-20198-deep-dive-and-poc/Imp による理論的なPoCに基づいて開発されました。これは、このCVEに対するツールの開発を助けるものであり、検出においては脆弱なCiscoインプラントを検出できます。ただし、適切なエクスプロイトを行うには、ユーザーが悪意のあるXMLコンテンツを渡す必要があります。これはHorizona3の理論的なPoCであり、ユーザーがエクスプロイトのために提供する必要があります。なぜなら、理論的な説明のみでは不十分であり、適切な情報とリソースが得られ次第、このエクスプロイトおよび検出ツールをアップグレードする予定です。
重要な注意:非倫理的なエクスプロイトが行われた場合、私は違法行為について一切の責任を負いません。本ツールは倫理的かつ合法的な目的でのみ使用してください。
Proof of conept Developed by D.Sanjai Kumar with ♥️ for any upgrade and miscoded contact me throguh my LinkedIn. Thank you!