Skip to main content
Mallory
CriticalExploited in the wildCISA KEVPublic exploitVulnerability

CVE-2023-20198: Unauthenticated Administrator Account Creation in Cisco IOS XE Web UI

Published Oct 16, 2023 · Updated 17 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days11 mentions · peak 4 in a dayToday
CVSS10.0Critical · v3.1
EPSS99.8%100th percentile
CISA KEVYesAdded Oct 16, 2023
In the wildActivePer CISA KEV
Vendors
Rockwell AutomationCisco Systems
IdentifiersCVE-2023-20198CWE-287

CVE-2023-20198 is a critical authentication bypass and privilege escalation vulnerability in the Cisco IOS XE web UI. A remote, unauthenticated attacker with access to an affected HTTP or HTTPS management interface can issue privileged commands to create a local account with privilege level 15, obtaining full IOS administrative control. The vulnerability has a CVSS score of 10.0 and has been actively exploited. In observed attack chains, attackers subsequently used the newly created account to exploit the separate vulnerability CVE-2023-20273, obtaining root-level command execution and installing an implant. Root-level execution through that chain should not be attributed to CVE-2023-20198 alone.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation compromises the device's administrative security boundary, allowing unauthorized access to running configurations, modification of accounts and network settings, and disruption of device operations. Observed intrusions have included configuration theft and creation of GRE tunnels for traffic collection. Administrative control can also support persistence, network reconnaissance, traffic interception, and further compromise of connected networks. Chaining the vulnerability with CVE-2023-20273 enables underlying operating-system compromise and implant deployment.

Mitigation

If you can’t patch tonight, do this now.

Disable HTTP and HTTPS management services using 'no ip http server' and 'no ip http secure-server'; use both commands when both services are enabled and save the configuration so changes survive reloads. If the web UI must remain enabled, restrict access to trusted management sources with ACLs and remove exposure to the internet and other untrusted networks. Setting 'ip http active-session-modules none' prevents exploitation over HTTP, while 'ip http secure-active-session-modules none' prevents exploitation over HTTPS. Review privileged accounts, tunnel interfaces, configuration changes, and available authentication and command-accounting logs. Disabling the web UI does not eradicate an existing compromise.

Remediation

Patch, then assume compromise.

Upgrade to a Cisco-designated fixed IOS XE release appropriate for the device and release train. Identified fixed releases include 17.9.4a, 17.6.6a, 17.3.8a, and 16.12.10a, with the latter applicable to Catalyst 3650/3850 devices. Apply applicable Cisco SMUs where required and use Cisco Software Checker to determine the appropriate upgrade. Rockwell Automation Stratix 5200 and 5800 devices require firmware revision 17.12.02 or later. For compromised devices, conduct incident response, remove unauthorized accounts and configuration changes, replace compromised credentials, and investigate lateral movement. Patching alone does not undo an existing compromise; rebooting removes the observed nonpersistent BADCANDY implant but does not remove attacker-created accounts or remediate the vulnerability.

Public exploits

Exploits

16 exploits validated by Mallory's analysis. Hidden: 11 rejected by Mallory's analysis as not a working exploit; 2 not yet analyzed, such as Exploit-DB entries.

View more in app →
cisco_ios_xe_rce.rbThis repository contains a single Metasploit module (modules/exploits/linux/misc/cisco_ios_xe_rce.rb) that exploits a chain of two vulnerabilities (CVE-2023-20198 and CVE-2023-20273) in Cisco IOS XE devices with the Web UI enabled. The exploit is unauthenticated and allows remote code execution as root by leveraging flaws in the Web UI's authentication and privilege escalation mechanisms. The module is highly weaponized, supporting customizable command payloads (including reverse shells and Meterpreter) and is designed for operational use within the Metasploit framework. The code interacts with the target's HTTP Web UI endpoints and manipulates files in the /var/www/ directory to verify and achieve code execution. The exploit targets a wide range of IOS XE versions (16.1.1 through 17.12.1a and others as listed in the module). The repository is structured as a single Ruby file, following standard Metasploit module conventions, and is intended for use by penetration testers and red teamers to demonstrate or leverage these critical vulnerabilities.Disclosed Oct 16, 2023 · Framework: metasploit · ruby · networkWeaponizedcisco_ios_xe_os_exec_cve_2023_20273.rbThis repository contains a single Metasploit auxiliary module targeting Cisco IOS XE devices vulnerable to CVE-2023-20198 and CVE-2023-20273. The module exploits the vulnerabilities in two stages: first, it creates a new admin user (if credentials are not provided) using CVE-2023-20198, then it leverages CVE-2023-20273 to execute arbitrary OS commands as root. The output of the command is written to a temporary file in /var/www/ on the target, which is then retrieved via the device's web interface (e.g., /webui/<output_file>). After execution, the module attempts to clean up by deleting the output file and removing the created admin user. The exploit is operational and allows attackers to run arbitrary commands on a wide range of Cisco IOS XE versions, provided the Web UI is exposed. The code is written in Ruby and is designed to be used within the Metasploit framework.Disclosed Oct 16, 2023 · Framework: metasploit · ruby · networkWeaponizedcisco_ios_xe_cli_exec_cve_2023_20198.rbThis repository contains a single Metasploit auxiliary module targeting CVE-2023-20198, a critical vulnerability in Cisco IOS XE devices with the Web UI enabled. The module allows an unauthenticated attacker to execute arbitrary CLI commands with the highest privilege (level 15) on vulnerable devices. The exploit is operational and requires the attacker to specify the command and mode (user, privileged, or global) to execute. The module is highly configurable, allowing any CLI command to be run, including those that can create new users or alter device configuration. The exploit works over HTTPS (default port 443) and targets a wide range of Cisco IOS XE versions, as listed in the module documentation. The repository structure is typical for a Metasploit module, with the exploit logic contained in a single Ruby file under the 'modules/auxiliary/admin/http/' directory.Disclosed Oct 16, 2023 · Framework: metasploit · ruby · networkWeaponizedCVE-2023-20198This repository contains a Python proof-of-concept exploit script (CVE-2023-20198.py) and a README file. The script targets Cisco IOS XE Web UI vulnerabilities (CVE-2023-20198 and CVE-2021-1435) to perform a multi-step attack: it creates a local user account, installs a malicious configuration (implant), restarts the web server to activate the implant, checks for the implant's presence, and finally deletes the created user account as cleanup. The script uses hardcoded placeholder URLs (https://target.com/...) which must be replaced with actual target details. The exploit demonstrates a network-based attack vector, leveraging HTTP POST and GET requests to the target's web interface endpoints. The payload is a configuration implant, the content of which must be supplied by the user. The repository is structured simply, with one main exploit script and a README providing usage instructions and a disclaimer.Tounsi007 · Disclosed Oct 18, 2023 · python · networkOperationalcve-2023-20198This repository provides a Python proof-of-concept exploit for CVE-2023-20198, a critical vulnerability in Cisco IOS XE devices' web UI. The main script, 'cve-2023-20198.py', supports two modes: 'check' and 'exploit'. In 'check' mode, it sends a POST request to the '/webui/logoutconfirm.html' endpoint to determine if the device may be compromised, based on the response content. In 'exploit' mode, it creates a new local user account on the target device via the '/webui/create_user' endpoint and attempts to install a configuration implant using the '/webui/cisco_service.conf' endpoint. The script is configurable via command-line arguments, allowing the user to specify the target, credentials, and implant configuration. The repository includes a README with usage instructions, a requirements file for dependencies, and standard project files. The exploit targets Cisco IOS XE devices with the vulnerable web UI enabled and accessible over HTTP or HTTPS.iveresk · Disclosed Oct 20, 2023 · python · networkOperationalCVE-2023-20198This repository provides a functional proof-of-concept exploit for CVE-2023-20198, a critical authentication bypass vulnerability in Cisco IOS XE's web interface. The repository contains two files: a detailed README.md explaining the vulnerability, usage, and references, and exploit.py, a Python script implementing the exploit logic. The script allows attackers to check for the vulnerability, execute arbitrary IOS commands, retrieve the running configuration, and add or remove Privilege 15 users on vulnerable Cisco devices. It does so by sending crafted XML SOAP payloads to the web endpoint '/%2577eb%2575i_%2577sma_Http', targeting the 'cisco:wsma-exec' and 'cisco:wsma-config' SOAP endpoints. The exploit is operational and can be used for both vulnerability checking and post-exploitation actions. No hardcoded IPs or credentials are present; the script is parameterized for attacker-supplied targets and options. The code is standalone, not part of a framework, and is written in Python.smokeintheshell · Disclosed Nov 16, 2023 · python · networkOperationalCVE-2023-20198-RCEThis repository contains a Python exploit script (CVE-2023-20198-RCE.py) targeting Cisco IOS XE devices vulnerable to CVE-2023-20198. The exploit leverages unauthenticated access to the web UI's SOAP/XML endpoints (/webui_wsma_https and /webui_wsma_Http, URL-encoded as /%2577ebui_wsma_https and /%2577ebui_wsma_Http) to execute arbitrary OS or CLI commands, as well as to add or delete users with privilege 15. The script supports multiple modes: executing OS commands, executing CLI commands, adding users, and deleting users. It accepts command-line arguments for the target URL, proxy, user management, and command execution. The README provides usage instructions and example commands. The exploit is operational and can provide full device compromise if the target is vulnerable and accessible.W01fh4cker · Disclosed Apr 25, 2024 · python · networkOperationalcve-2023-20198-poc-ciscoThis repository is a small standalone Python proof-of-concept exploit for CVE-2023-20198 affecting Cisco IOS XE Web UI/WSMA exposure. The repo contains four files: a single executable Python script (CVE-2023-20198-poc.py), a short README describing the vulnerability, a LICENSE file, and a standard Python .gitignore. The exploit logic is entirely contained in the Python script. The script accepts either a single target IP or a file of target IPs and supports multiple mutually exclusive actions: check vulnerability, retrieve running configuration, execute an arbitrary IOS CLI command, add a privileged user, or delete a user. It constructs SOAP XML payloads for either WSMA exec or WSMA config operations and sends them with requests.post() to a double-encoded endpoint path intended to bypass front-end path filtering and reach the internal WSMA service. The code disables TLS verification warnings and does not require authentication. Operationally, the exploit can do more than simple detection: it can execute commands remotely and alter device configuration. The most notable capability is unauthenticated creation of a privilege-15 account using default credentials shellsmoke/pwned unless overridden by arguments. It can also dump configuration via 'sh run', run arbitrary attacker-supplied CLI commands, and remove a user. Responses are parsed as XML for exec actions and may be appended to an output file. There are no hardcoded external C2 servers or third-party callback endpoints. The only network targets are operator-supplied Cisco device IPs accessed over HTTP or HTTPS at the crafted WSMA path. Overall, this is a real, functional exploit PoC with basic but impactful post-exploitation capability against vulnerable Cisco IOS XE devices.djayaGit · Disclosed Nov 23, 2024 · python · markdown · network · webOperationalCisco-IOS-XE-CVE-2023-20198This repository provides a functional exploit for CVE-2023-20198, a critical authentication bypass vulnerability in Cisco IOS XE's web interface. The exploit consists of a single Python script ('exploit.py') and a detailed README. The script allows an unauthenticated attacker to: - Check if a target is vulnerable (by executing 'uname -a') - Retrieve the running configuration ('sh run') - Execute arbitrary IOS commands - Add or remove privilege 15 users on the device The exploit works by sending crafted XML SOAP payloads to the webui_wsma_http/https endpoint, bypassing authentication and leveraging the 'urn:cisco:wsma-exec' and 'urn:cisco:wsma-config' SOAP actions. The script supports both single-target and batch modes, and can optionally use HTTPS. The README provides usage instructions, examples, and references to original research and other PoCs. The exploit is operational and can be used to gain full control over vulnerable Cisco IOS XE devices remotely via the network.G4sul1n · Disclosed Apr 11, 2025 · python · markdown · networkOperationalCVE-2023-20198This repository contains a single Python script, 'exploit.py', which is a proof-of-concept exploit for CVE-2023-20198, a critical vulnerability in Cisco IOS XE devices. The script allows an attacker to: - Check if a target device is vulnerable - Execute arbitrary commands on the device - Retrieve the running configuration - Add or remove privileged (level 15) users The exploit works by sending crafted SOAP/XML payloads to the Cisco IOS XE web interface (typically at the '/webui/wsma' endpoint) over HTTP or HTTPS. The script supports targeting a single IP or a list of IPs, and provides command-line options to select the desired action (check, execute command, get config, add/remove user). The payloads are based on public PoCs and research from ProjectDiscovery and Horizon3.ai. The script is operational and can be used to gain privileged access or execute commands on vulnerable Cisco IOS XE devices. No hardcoded IP addresses or credentials are present; the user supplies the target(s) and, optionally, new user credentials. The script is self-contained and does not rely on external frameworks.Arshit01 · Disclosed Jun 9, 2025 · python · networkOperationalCVE-2023-20198-ExploitThis repository is a small standalone Python proof-of-concept exploit for CVE-2023-20198 affecting Cisco IOS XE Web UI / WSMA. The repository contains three files: a README with usage and vulnerability context, a requirements file listing requests and colorama, and a single executable script, main.py, which implements the exploit logic. The main capability is unauthenticated network exploitation via crafted SOAP POST requests to Cisco WSMA endpoints. The script maintains a list of candidate encoded WSMA paths and probes them to find a working vulnerable endpoint. Once a valid endpoint is found, it can send two classes of SOAP payloads: an exec payload using the urn:cisco:wsma-exec namespace for remote CLI command execution, and a config payload using the urn:cisco:wsma-config namespace for configuration changes. Operationally, the script supports four user-facing actions through command-line arguments: vulnerability checking, arbitrary command execution, administrative user creation, and user deletion. The vulnerability check uses a hardcoded test command ("uname -a") to determine whether the target responds successfully through the bypassed WSMA interface. Command execution allows the operator to run Cisco IOS XE CLI commands remotely. The account-management features appear to build configuration commands and submit them through the configApply SOAP mechanism, enabling creation of a privilege-15 administrative account or deletion of an existing account. The exploit is not part of a larger framework such as Metasploit or Nuclei. It is a direct Python implementation using requests.post with TLS verification disabled. Response handling parses returned XML with ElementTree and extracts text from the WSMA exec response. Based on the available code and README, this is a real exploit rather than a detector-only script, and it provides practical post-bypass actions against exposed vulnerable Cisco devices.Gill-Singh-A · Disclosed Feb 17, 2026 · python · networkOperationalCVE-2023-20198This repository is a small Cisco IOS XE exploitation toolkit focused on the 2023 Web UI/WSMA vulnerability cluster. It contains 4 files: a minimal README and three Python scripts. scripts/exp.py and scripts/poc.py are effectively duplicates: both are standalone command-line exploit scripts that take a target URL and command, then send crafted SOAP envelopes to the encoded WSMA endpoint /%2577ebui_wsma_http or /%2577ebui_wsma_https. They support two modes: 'common' for execCLI command execution and 'super' for configApply/privileged configuration commands. Returned XML is parsed with xmltodict and command output or error information is printed. scripts/exploit.py is the more capable staged exploit. Based on visible code and comments, it targets CVE-2023-20273 and references CVE-2023-20198 as part of the broader attack chain against Cisco IOS XE Web UI. It abuses /webui/rest/softwareMgmt/installAdd by injecting shell syntax into the JSON ipaddress field. The script includes helpers for base64-encoded command execution, writing files to /var/www/ for retrieval through /webui/, and dropping/executing a self-deleting bash reverse shell that connects back to an attacker-controlled host and port. It also references /usr/binos/conf/mcp_chvrf.sh to execute shell content in the global VRF context. Overall purpose: provide practical remote code execution against vulnerable Cisco IOS XE devices, ranging from direct WSMA CLI execution to staged Web UI command injection with output retrieval and reverse shell capability. The code is operational rather than just demonstrative, but it is not part of a major exploitation framework.charlesjson · Disclosed Jun 25, 2026 · python · markdown · network · webOperationalCVE-2023-20198This repository provides a Python proof-of-concept exploit script (CVE_CISCO_20198_V2.py) targeting Cisco IOS XE Web UI vulnerabilities CVE-2023-20198 and CVE-2021-1435. The script automates the process of exploiting these vulnerabilities to create a local user account, install a configuration implant, restart the web server to activate the implant, verify the implant's presence, and finally clean up by deleting the created user account. The main exploit logic is contained in a single Python file, which uses hardcoded endpoints and credentials for demonstration. The repository also includes a README with usage instructions and a GPLv3 license. The attack vector is network-based, requiring access to the target's web interface. The endpoints used in the script are fingerprintable and correspond to typical administrative actions on Cisco web interfaces.sohaibeb · Disclosed Oct 20, 2023 · python · networkPoCCVE-2023-20198This repository is a Proof-of-Concept (PoC) exploit for CVE-2023-20198, a critical privilege escalation vulnerability in Cisco IOS XE's web UI. The repository contains three files: a LICENSE, a README.md with detailed usage instructions and context, and a main Python script (main.py) that implements the exploit logic. The exploit automates the process of creating a privileged local user on the target device, installing a configuration implant, restarting the web server to activate the implant, and checking the implant's status. The script requires a list of target URLs and interacts with several web UI endpoints on the target device. Results, including credentials and login links, are saved to a results file. The exploit is intended for educational and research purposes and is not weaponized, as it requires manual configuration of the implant content and does not include advanced evasion or post-exploitation features.Pushkarup · Disclosed Oct 23, 2023 · python · networkPoCCVE-2023-20198This repository provides a Python-based exploitation and detection tool for CVE-2023-20198, a critical authentication bypass vulnerability in Cisco IOS XE Web UI. The main script, 'exploit.py', supports two modes: 'Detect' (to identify vulnerable devices or implants) and 'Exploit' (to attempt exploitation by sending a user-supplied malicious XML payload to the target's Web UI endpoint). The tool can operate on single domains or lists of domains, supports proxying (e.g., via Burp Suite), and allows output to be saved to a file. The exploit is based on the theoretical POC by Horizon3 and requires the user to provide the actual malicious XML payload for exploitation. The repository is structured with a single main code file, a requirements.txt for dependencies, and documentation in the README. The primary attack vector is network-based, targeting the Web UI endpoint of Cisco IOS XE devices. The endpoint '/%2577ebui_%2577sma_Http' is specifically targeted for exploitation. The tool is a proof-of-concept and not fully weaponized, as it relies on user-supplied payloads and does not automate the full exploitation chain.RevoltSecurities · Disclosed Nov 3, 2023 · python · networkPoCCisco_CVE-2023-20198This repository provides a proof-of-concept exploit for Cisco IOS XE devices vulnerable to CVE-2023-20198, a critical authentication bypass vulnerability. The exploit consists of a crafted HTTP POST request (in the 'payload' file) that targets the Web UI SOAP endpoint '/%2577eb%2575i_%2577sma_Http'. The payload is an XML SOAP envelope containing a UsernameToken and a command execution request ('uname -a'). The exploit is designed to work against Cisco IOS XE devices with the Web UI and HTTP/HTTPS server features enabled, allowing unauthenticated attackers to execute arbitrary commands with administrative privileges. The repository includes a README.md with background information and mitigation advice, and a 'payload' file containing the raw HTTP request and SOAP body used for exploitation. No automation or scripting is provided; the payload is intended for manual use with tools like netcat or curl.Vulnmachines · Disclosed Dec 11, 2023 · http · xml · networkPoC
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
Cisco SystemsIos Xeoperating_system
Rockwell AutomationAllen-Bradley Stratix 5200 Firmwareoperating_system
Rockwell AutomationAllen-Bradley Stratix 5800 Firmwareoperating_system
FAQ

Frequently asked questions

Is CVE-2023-20198 exploited in the wild?
Yes. As of Nov 6, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Oct 16, 2023.
Is there a public exploit for CVE-2023-20198?
Yes. Mallory tracks 16 public exploits or proofs of concept for CVE-2023-20198, the earliest disclosed Oct 16, 2023.
Is there a patch for CVE-2023-20198?
Upgrade to a Cisco-designated fixed IOS XE release appropriate for the device and release train. Identified fixed releases include 17.9.4a, 17.6.6a, 17.3.8a, and 16.12.10a, with the latter applicable to Catalyst 3650/3850 devices.
What products are affected by CVE-2023-20198?
Cisco Systems Ios Xe, Rockwell Automation Allen-Bradley Stratix 5200 Firmware, and Rockwell Automation Allen-Bradley Stratix 5800 Firmware.
How severe is CVE-2023-20198?
CVE-2023-20198 has a CVSS v3.1 score of 10.0 (Critical) and an EPSS score of 99.8% (100th percentile) as of Nov 6, 2026.
Activity feed

Recent activity

136 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
malware newsNews · Nov 5, 2026Vulnerability Scans for Older Cisco IOS Vulnerability / Opt-Out Headers, (Thu, Nov 5th) - Malware News - Malware Analysis, News and IndicatorsA Cisco IOS vulnerability suspected to be the target of an exploit attempt observed in honeypot data. The reference describes vulnerability scanning, but the attribution to CVE-2023-20198 is tentative and successful exploitation is not established.Read more ↗handlers diary fullNews · Nov 5, 2026Vulnerability Scans for Older Cisco IOS Vulnerability / Opt-Out HeadersA suspected exploitation attempt against CVE-2023-20198 was observed in honeypot traffic targeting a Cisco IOS web interface. The request attempted to execute uname -a and URL-encoded the initial 'w' in the endpoint, which the author suggests might evade some WAFs. Headers identified RootEvidence scanning infrastructure. Attribution to this CVE is tentative, and successful exploitation is not demonstrated.Read more ↗talos intelligence blogNews · Oct 29, 2026IR trends Q3 2026: Actors impersonate IT help desks in vishing attacks as ransomware activity increasesA vulnerability in publicly accessible web-based management interfaces exploited in telecommunications-sector cyberespionage intrusions attributed to China state-sponsored actors, including Salt Typhoon. Attackers created privileged accounts, disabled logging, and modified configurations to maintain stealthy access. One campaign deployed the BadCandy web shell for persistence.Read more ↗scworldNews · Sep 30, 2026Stop patching by score - and start patching by authority | perspective | SC MediaA Cisco vulnerability that allows an unauthenticated attacker to obtain a local account with privilege level 15, serving as the initial step in a chain to root-level compromise.Read more ↗
+58 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidence23Every report linking this CVE to a named adversary.
Associated malware14Malware families linked to this CVE, with evidence and IOCs.
Detection signatures24YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity67Community discussion across Reddit, Mastodon, and other social sources.