CVE-2023-20273
High · 7.2 CISA KEVCVSS
7.2
EPSS
92.9%
Published
Oct 25, 2023
CISA due date
Oct 27, 2023
Cloudanix analysis
Attackers can take full control of certain Cisco network devices through their web management feature if they gain administrative access, putting network availability and traffic security at risk.
- Exploitation
- Remote Authenticated
- Attacker needs
- High Privilege
- Complexity
- Low
- Impact
- Remote Code Execution
- Component
- Network Service
- Class
- Command Injection
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
The flaw is an authenticated command injection vulnerability in the Cisco IOS XE web UI. Because the web UI insufficiently validates attacker-controlled input, a remote attacker with high-privileged web UI credentials can pass crafted input that is executed by the underlying operating system with root privileges. Successful exploitation can allow full device compromise, including arbitrary command execution, persistence, configuration modification, traffic interception, and deployment of additional tooling or implants on the network device.
Why it matters to the business
Compromise of an IOS XE device can affect a critical network control point such as a switch, router, or wireless infrastructure component. An attacker with root-level control may disrupt connectivity, alter routing or switching behavior, capture or redirect traffic, create unauthorized administrative access, and use the device as a foothold into internal networks. This vulnerability is in CISA KEV, has active in-the-wild exploitation, and has a high EPSS score, so organizations should treat exposed or internet-reachable web UI services as high-priority risk even though exploitation requires authenticated access.
How an attack unfolds
An attacker first identifies Cisco IOS XE devices with the HTTP or HTTPS web UI enabled, especially devices reachable from untrusted networks. The attacker then obtains or creates high-privileged web UI access, which may occur through stolen credentials, weak administrative controls, or chaining with another vulnerability. Once authenticated, the attacker sends crafted input to the web UI that is not properly sanitized. The web UI passes that input to the underlying operating system, resulting in command execution as root. With root execution, the attacker can inspect and modify device state, add or alter accounts, deploy a web implant or other persistence mechanism, collect configuration and credential material, pivot through the network, or disrupt device operation. Public reporting around this activity has associated exploitation with IOS XE web UI compromise campaigns, including chains where an initial web UI access vulnerability was used before command injection to install an implant.
How to fix it
Upgrade affected Cisco IOS XE devices to a Cisco fixed release that addresses CVE-2023-20273. Cisco has not provided fixed version details in the supplied input, so use the Cisco Software Checker and the official Cisco advisory to identify the exact fixed release for each platform and train. If immediate upgrade is not possible, disable the IOS XE web UI by removing `ip http server` and `ip http secure-server` where operationally feasible. Restrict management access to trusted administrative networks only, enforce MFA or strong administrative authentication where supported, rotate privileged credentials, and audit local users and configuration changes. Do not expose the web UI directly to the internet. Because this vulnerability is in CISA KEV with a remediation due date of 2023-10-27 and is actively exploited, remediation should be prioritized above routine patch cycles.
How to confirm the fix worked
Confirm that each affected device is running a Cisco IOS XE release identified by Cisco as fixed for this vulnerability. Verify that HTTP/HTTPS management services are disabled unless strictly required by checking for `ip http server` and `ip http secure-server` in the running configuration. If the web UI must remain enabled, verify that access control lists, management VRFs, firewalls, or other controls restrict access to trusted administrative sources only. Review device configuration for unauthorized local users, unexpected privilege 15 accounts, unusual AAA changes, suspicious web UI activity, and unexplained configuration changes. Validate externally that the web UI is not reachable from the public internet or other untrusted segments. Where compromise is suspected, follow Cisco incident response guidance, collect forensic artifacts before rebooting when possible, and consider device reimaging or replacement if integrity cannot be established.
Typical attack path
- Scan for Cisco IOS XE devices with the web UI exposed over HTTP or HTTPS.
- Confirm that the target runs an affected IOS XE release and that the web UI is enabled.
- Obtain high-privileged web UI access through stolen credentials, misconfiguration, or vulnerability chaining.
- Send crafted input to a vulnerable web UI endpoint to trigger command injection.
- Execute commands on the underlying operating system with root privileges.
- Establish persistence by modifying configuration, adding accounts, or deploying an implant.
- Collect device configuration, credentials, routing data, or network metadata.
- Use the compromised network device for traffic interception, lateral movement, command-and-control relay, or service disruption.
How to detect it
Review IOS XE device logs, AAA logs, TACACS+/RADIUS logs, web management access logs if exported, SIEM records, NetFlow, firewall logs, and configuration archives for evidence of unauthorized web UI access or post-exploitation activity. Focus on unusual HTTP/HTTPS management access from non-administrative IP addresses, successful administrative logins outside normal change windows, creation of unexpected local users, changes to AAA or privilege levels, activation or reactivation of HTTP/HTTPS server features, and unexplained configuration changes. Search for signs associated with IOS XE web UI compromise campaigns, including suspicious access to web UI endpoints, implant-check requests, and anomalous files or processes on the underlying IOS XE Linux environment. Compare running configuration against known-good backups. Investigate any device that returned unexpected output to Cisco-recommended implant checks or that shows web UI activity followed by configuration changes, new users, or abnormal outbound connections. Because exploitation may involve chaining with other IOS XE web UI vulnerabilities, treat unauthorized privilege 15 account creation and web UI command execution artifacts as high-confidence indicators requiring full device integrity review.
- /webui/
- /webui/logoutconfirm.html
- logoutconfirm.html?logon_hash=
- cisco_tac_admin
- cisco_support
- %SYS-5-CONFIG_P: Configured programmatically
- SEP_webui_wsma_http
- ip http server
- ip http secure-server
- username cisco_tac_admin privilege 15
- username cisco_support privilege 15
- /usr/binos/conf/nginx-conf/cisco_service.conf
- cisco_service.conf
What your security team should do
- Immediately inventory Cisco IOS XE devices and identify systems with the web UI enabled, especially internet-facing management interfaces.
- Patch affected devices to a Cisco fixed IOS XE release or disable the web UI if it is not operationally required.
- Restrict management-plane access to trusted administrative networks and remove public internet exposure for HTTP/HTTPS device management.
- Audit device logs and configurations for unauthorized users, privilege escalation, implant indicators, and unexplained configuration changes since at least October 2023.
- Rotate privileged device credentials and review AAA, TACACS+/RADIUS, and local user configurations for abuse.
- Hunt for evidence of IOS XE web UI compromise using Cisco Talos and vendor-provided indicators, including implant checks and suspicious web UI requests.
- If signs of compromise are found, isolate the device management plane, preserve logs and forensic data, remove unauthorized accounts, rebuild or reimage the device from trusted media, and redeploy with a fixed release.
- Add continuous monitoring for web UI exposure, configuration drift, and unexpected management access attempts on network infrastructure.
The record
A vulnerability in the web UI feature of Cisco IOS XE Software could allow an authenticated, remote attacker to inject commands with the privileges of root. This vulnerability is due to insufficient input validation. An attacker could exploit this vulnerability by sending crafted input to the web UI. A successful exploit could allow the attacker to inject commands to the underlying operating system with root privileges.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|
Related vulnerabilities
- CVE-2026-62853 ThingLinks is an enterprise IoT platform. CWE-78
- CVE-2026-119335 Pi-hole is a DNS sinkhole that protects devices from unwanted content without installing… CWE-78
- CVE-2026-116241 pgAdmin 4's Import/Export Data tool wraps a user's query export in a psql \copy (...) TO… CWE-78
- CVE-2026-119713 Paperclip 2026.403.0 before 2026.416.0 contains a remote code execution vulnerability… CWE-78
- CVE-2026-119288 Zuke is a code-first, strongly typed build automation system for Deno. CWE-78
- CVE-2026-118238 The Tenda W18E web management server is vulnerable to OS command injection via the… CWE-78
- CVE-2026-91913 Dell OpenManage Enterprise, versions prior to 4.8.0, contains an Improper Neutralization… CWE-78
- CVE-2026-118992 CallBackery versions before 0.62.0 for Perl allow OS command execution via sqlite3 shell… CWE-78