Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
Tools/GitHubGitHub/gill-singh-a/cve-2023-20198-exploit
Authentication & AuthorizationVulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingCommand and Control
GitHubgill-singh-a/cve-2023-20198-exploit

CVE-2023-20198-Exploit

Proof-of-concept exploit for CVE-2023-20198, an authentication bypass vulnerability affecting Cisco IOS XE Web UI

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share
View Repository
76 months agoNot yet reviewed

Cisco IOS XE Authentication Bypass (CVE-2023-20198)

This repository contains a proof-of-concept exploit for CVE-2023-20198, an authentication bypass vulnerability affecting Cisco IOS XE Web UI.

The vulnerability allows unauthenticated attackers to execute arbitrary commands on vulnerable Cisco devices via crafted SOAP requests, potentially leading to full device compromise, including remote command execution and creation/deletion of administrative users.

Vulnerability Overview

  • CVE: CVE-2023-20198

  • Affected Product: Cisco IOS XE (Web UI / WSMA Interface)

  • Impact:

    • Authentication bypass
    • Remote command execution (RCE)
    • Unauthorized user creation
    • Unauthorized user deletion
  • Attack Vector: Network (HTTP/HTTPS)

  • Privileges Required: None (unauthenticated)

This vulnerability is caused by improper authentication handling in the Web Services Management Agent (WSMA) endpoint, allowing attackers to bypass authentication using crafted HTTP requests.

Requirements

  • Python 3.x
  • requests
  • colorama

Install dependencies:

root@kitploit:~
pip install -r requirements.txt

Usage

root@kitploit:~
usage: main.py [-h] -t TARGET [-c] [-C CMD] [-a] [-d] [-u USERNAME] [-p PASSWORD]

Authentication Bypass Exploit for Cisco IOS XE Devices (CVE-2023-20198)

options:
  -h, --help            show this help message and exit
  -t TARGET, --target TARGET
                        Target Cisco IOS XE Device
  -c, --check           Check if the Target is vulnerable to CVE-2023-20198
  -C CMD, --cmd CMD     Cisco IOS XE Command to Execute
  -a, --add             Add New Username and Password
  -d, --delete          Delete existing User
  -u USERNAME, --username USERNAME
                        Username for Account Creation
  -p PASSWORD, --password PASSWORD
                        Password for Account Creation (Random Password Generated if not Provided)

Usage

Command Line Options

Vulnerability Check

Check if the target is vulnerable:

root@kitploit:~
python3 exploit.py -t https://<TARGET-IP> -c

Vulnerability Check

If vulnerable, the tool will automatically detect the exploitable WSMA endpoint and display device details.

Remote Command Execution

Execute commands on the vulnerable device:

root@kitploit:~
python3 exploit.py -t https://<TARGET-IP> -C "<COMMAND>"

Example:

root@kitploit:~
python3 exploit.py -t https://<TARGET-IP> -C "show running | include username"

Exploit

Add Administrative User

Create a new privilege 15 admin user:

root@kitploit:~
python3 exploit.py -t https://<TARGET-IP> -a -u cisco -p kaptaan

Account Creation

If no password is supplied, the script generates a random secure password automatically.

Accessing Web Interface

With the newly created account, you can access the Web UI of the Device

Web UI

Delete Existing User

Delete an existing user:

root@kitploit:~
python3 exploit.py -t https://<TARGET-IP> -d -u cisco

Account Deletion

Detection & Mitigation

  • Upgrade Cisco IOS XE to the latest patched version

  • Disable Web UI if not required:

    root@kitploit:~
    no ip http server
    no ip http secure-server
    
  • Restrict management access via ACLs

References

  • Cisco Advisory — CVE-2023-20198
  • NVD: CVE-2023-20198
  • Cisco IOS XE WSMA Documentation
  • Security Research Community Reports
Download Tool
OptionDescription
-t, --targetTarget Cisco IOS XE Device (Required)
-c, --checkCheck if the target is vulnerable
-C, --cmdExecute a Cisco IOS XE command
-a, --addAdd a new administrative user
-d, --deleteDelete an existing user
-u, --usernameUsername for account creation/deletion
-p, --passwordPassword for new account (random if not provided)