Skip to main content
Meet us at Black Hat USA 2026— Las Vegas, August 1–6Book a Meeting
Mallory
HighCISA KEVExploited in the wildPublic exploit

Cisco IOS XE Web UI Post-Authentication Command Injection / Privilege Escalation

IdentifiersCVE-2023-20273CWE-77

CVE-2023-20273 is a vulnerability in the web UI feature of Cisco IOS XE Software that allows an authenticated remote attacker to inject commands due to insufficient input validation. By sending crafted input to the web UI, an attacker can cause commands to be executed on the underlying operating system with root privileges. In observed real-world exploitation, this issue was commonly chained after CVE-2023-20198, which allowed attackers to create a privileged local account; the newly created account was then used to authenticate to the web UI and exploit CVE-2023-20273 for root-level command execution and implant deployment.

Share:
For your environment

Are you exposed to this one?

Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.

ANALYST BRIEF

Impact, mitigation & remediation

What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.

Impact

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

Successful exploitation results in root-level command execution on the affected Cisco IOS XE device. This enables full device compromise, including modification of system configuration, creation or persistence of unauthorized accounts, writing files or implants to the filesystem, deployment of backdoors or web shells, and loss of confidentiality, integrity, and availability of the device and potentially adjacent networks managed or transited by it.

Mitigation

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

If immediate patching is not possible, disable the IOS XE HTTP/HTTPS server (web UI) using 'no ip http server' and/or 'no ip http secure-server'. Where the web UI must remain enabled, restrict access to trusted administrative networks and source IPs using ACLs, and remove public internet exposure. Because this vulnerability has been actively exploited in the wild and often chained with CVE-2023-20198, exposed devices should be investigated for compromise, including unauthorized local accounts, implants/web shells, suspicious tunnels, and filesystem changes.

Remediation

Patch, then assume compromise.

Upgrade Cisco IOS XE Software to a fixed release as identified by Cisco. The provided content cites fixed versions including 17.9.4a, 17.6.6a, 17.3.8a, and 16.12.10a for Catalyst 3650/3850, with relevant SMUs where applicable. Use Cisco's software checker and vendor advisory guidance to determine the correct fixed image for the affected platform. For downstream products based on IOS XE, apply the vendor-provided fixed firmware; the content specifically notes Rockwell Stratix 5200/5800 should be upgraded to firmware revision 17.12.02 or later.
PUBLIC EXPLOITS

Exploits

2 valid exploits after Mallory filtered fakes, detection scripts, and README-only repos (1 hidden).

VALID 2 / 3 TOTALView more in app
CVE-2023-20198MaturityPoCVerified exploit

This 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.

charlesjsonDisclosed Jun 25, 2026pythonmarkdownnetworkweb
CVE-2023-20273MaturityPoCVerified exploit

This repository provides a Proof-of-Concept (PoC) exploit for CVE-2023-20273, a command injection vulnerability in Cisco IOS XE WebUI. The repository contains two files: a detailed README.md with usage instructions and exploit.py, a Python script implementing the exploit logic. The exploit targets Cisco IOS XE devices with the WebUI enabled and requires valid credentials. It works by sending a crafted POST request to the /webui/rest/softwareMgmt/installAdd endpoint, injecting arbitrary shell commands via the ipaddress field. The script supports both direct command execution and reverse shell payloads, with options to retrieve command output via the target's web server. The exploit is confirmed to work on several Cisco Catalyst models and IOS XE versions, with filesystem space being a potential limiting factor. The code is a functional PoC, not weaponized, and is intended for security testing and research.

smokeintheshellDisclosed Dec 9, 2023pythonmarkdownnetwork
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 AutomationStratix 5200hardware
Rockwell AutomationStratix 5800hardware

Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.

What this page doesn’t show

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, which detections to deploy, and what to do tonight.
Exposure mapping

Query your assets running an affected version, and investigate the blast radius.

Threat actor evidence3

Every observed campaign linking this CVE to a named adversary.

Associated malware

Malware families riding this exploit, with evidence and IOCs.

Detection signatures1

YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.

Vendor-by-vendor mapping

Cross-references every affected SKU, including bundled OEM variants.

Social activity6

Community discussion across Reddit, Mastodon, and other social sources.