Security Advisory

CVE-2023-20273: Cisco IOS XE Web UI Command Injection

Last updated:
  • CVE-2023-20273

CVE-2023-20273 is a command injection in the web UI of Cisco IOS XE that lets an authenticated user run operating system commands as root. In October 2023 attackers chained it after CVE-2023-20198 to install an implant on routers and switches. NVD scores it 7.2 and CISA KEV lists it. Upgrade to a fixed release and turn off the HTTP server.

Vulnerability summary

CVSS base score

7.2

High severity

EPSS score (FIRST)

92.9%

Probability of exploitation in the wild in the next 30 days

CISA KEV catalog

Yes

Listed as known exploited

Published

Vulnerability ID: CVE-2023-20273 · Source: NVD

Affected components

ComponentCPEVersion range
Cisco IOS XE Software with the web UI (ip http server / ip http secure-server) enabledcpe:2.3:o:cisco:ios_xe:*:*:*:*:*:*:*:*Release 16 and later (312 IOS XE releases in NVD's configuration); first fixed 17.9.4a, 17.6.6a, 17.3.8a, 16.12.10a (Catalyst 3650/3850 only); SMUs for 17.9.4 and 17.6.5
Rockwell Automation Stratix 5800 and Stratix 5200 with the web UI enabled—All versions (ICSA-23-297-01); disable the HTTP server or restrict web UI access with ACLs

What does this mean for affected devices?

CVE-2023-20273 is a command injection in the web UI of Cisco IOS XE: an authenticated user can send crafted input that runs commands on the underlying operating system as root. It is the second half of the October 2023 attack chain. Cisco's advisory says attackers first used CVE-2023-20198 to create a local account, then "leveraging the new local user to elevate privilege to root and write the implant to the file system". NVD and Cisco both score it 7.2 (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H) with CWE-78; the high privilege requirement is why the score is lower than the 10.0 of the first step (NVD, CVE record).

Which devices are affected?

Cisco's advisory cisco-sa-iosxe-webui-privesc-j22SaA4z (bug CSCwh87343) covers Cisco IOS XE Software release 16 and later with the web UI enabled through ip http server or ip http secure-server. show running-config | include ip http server|secure|active shows whether either is configured; with ip http active-session-modules none or ip http secure-active-session-modules none the bug cannot be reached over HTTP or HTTPS respectively. IOS, IOS XE before release 16, NX-OS, ASA, FTD and ISE are not affected. NVD's configuration lists 312 IOS XE 16.x and 17.x releases.

IOS XE also runs Rockwell Automation industrial switches. CISA advisory ICSA-23-297-01 lists all versions of Stratix 5800 and Stratix 5200 with the web UI enabled for both CVEs, and Rockwell tells customers to disable the Stratix HTTP servers on internet-facing systems or restrict web UI access with access control lists.

How do I fix CVE-2023-20273?

Upgrade. Cisco's first fixed releases are 17.9.4a, 17.6.6a, 17.3.8a and, for Catalyst 3650 and 3850 only, 16.12.10a; SMUs exist for 17.9.4 and 17.6.5, and the Cisco CSAF file carries the machine-readable product list. Until then, Cisco "strongly recommends" disabling the HTTP Server feature on all internet-facing systems with no ip http server and no ip http secure-server, or restricting it to trusted addresses with access lists, which Cisco assesses "with high confidence" are effective. The advisory also lists log messages and a Talos check for the implant; follow them before trusting an exposed device. See our CISA BOD 23-02 guide for management-interface exposure and how to fix command injection in embedded firmware for the bug class.

Is CVE-2023-20273 exploited?

Yes. Cisco says it is "aware of active exploitation of these vulnerabilities". CISA added CVE-2023-20273 to the KEV catalog on 2023-10-23 with the required action "Verify that instances of Cisco IOS XE Web UI are in compliance with BOD 23-02 and apply mitigations per vendor instructions. For affected products (Cisco IOS XE Web UI exposed to the internet or to untrusted networks), follow vendor instructions to determine if a system may have been compromised and immediately report positive findings to CISA." (due 2023-10-27; known ransomware campaign use: Unknown); it is still listed as of 2026-11-25 in catalog version 2026.11.24. FIRST EPSS gives 0.92938, the 99.83rd percentile, in the 2026-11-24 dataset (FIRST EPSS).

How to fix this class of issueThis advisory's weakness class is Command injection. Our practical guide covers how to detect, fix, verify and disclose it: How to fix command injection in embedded firmware.

Evidence

  • NVD: Analyzed; web UI command injection in IOS XE, authenticated, root; NVD Primary CVSS v3.1 7.2 AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H; Cisco Secondary 7.2; CWE-78; 312 IOS XE CPE entries; read 2026-11-25. — NVD
  • Cisco advisory v2.6 (2023-11-01): CVE-2023-20198 then CVE-2023-20273 to root and implant; bug CSCwh87343; affects IOS XE with ip http server or secure-server; active-session-modules none blocks; not affected IOS, IOS XE before 16, NX-OS, ASA, FTD, ISE; first fixed 17.9.4a, 17.6.6a, 17.3.8a, 16.12.10a (3650/3850); SMUs 17.9.4, 17.6.5; disable HTTP server or ACLs (high confidence); IoCs; active exploitation. — Cisco Security Advisory cisco-sa-iosxe-webui-privesc-j22SaA4z
  • Cisco CSAF for the same advisory. — Cisco CSAF
  • ICSA-23-297-01 (Update A, 2023-11-21): Stratix 5800 and Stratix 5200 with web UI, all versions, CVE-2023-20198 and CVE-2023-20273; disable Stratix HTTP servers on internet-facing systems; ACLs. — CISA ICS advisory CSAF
  • KEV catalog 2026.11.24: dateAdded 2023-10-23, due 2023-10-27, BOD 23-02 required action, knownRansomwareCampaignUse Unknown, CWE-78; checked 2026-11-25. — CISA KEV
  • EPSS 0.92938, percentile 0.99832, dataset 2026-11-24, read 2026-11-25. — FIRST EPSS

Related advisories

Sources

  1. NVD
  2. Cisco Security Advisory: Multiple Vulnerabilities in Cisco IOS XE Software Web UI Feature
  3. Cisco CSAF: cisco-sa-iosxe-webui-privesc-j22SaA4z
  4. CISA ICSA-23-297-01: Rockwell Automation Stratix 5800 and Stratix 5200 (CSAF)
  5. CVE.org record CVE-2023-20273 (CNA: Cisco)
  6. CISA KEV
  7. FIRST EPSS

Frequently asked questions

How are CVE-2023-20273 and CVE-2023-20198 related?

Cisco says attackers used CVE-2023-20198 first to create a local user with a privilege 15 command, then used CVE-2023-20273 with that account to gain root and write an implant to the file system. Both are tracked as bug CSCwh87343 and fixed in the same releases.

Which Cisco IOS XE releases fix CVE-2023-20273?

Cisco lists 17.9.4a, 17.6.6a, 17.3.8a and 16.12.10a (Catalyst 3650 and 3850 only) as first fixed releases, plus SMUs for 17.9.4 and 17.6.5. The Cisco Software Checker returns the fixed release for other trains.

What can I do if I cannot upgrade right away?

Cisco recommends disabling the HTTP Server feature on internet-facing systems with no ip http server and no ip http secure-server, or restricting it to trusted addresses with access lists. Save the configuration afterwards so a reload does not revert it, and check the advisory's indicators of compromise.

Are industrial switches affected by CVE-2023-20273?

Yes. CISA's ICSA-23-297-01 lists Rockwell Automation Stratix 5800 and Stratix 5200 switches, which run Cisco IOS XE, in all versions with the web UI enabled. Rockwell advises disabling the HTTP servers on internet-facing systems and restricting web UI access with ACLs.