CVE DatabaseCVE-2023-20198
한국어 권고문 →
CVE-2023-2019810.0/CRITICALCISA KEVCWE-420

Cisco IOS XE Web UI Remote Privilege Escalation and System Compromise (CVE-2023-20198)

⚡ Jump to Patch
Affected Vendors
cisco
Affected Components
ios xe
Published Date
2023-10-16
CVSS v3.1
10.0
CRITICAL
EPSS (30d)
99.8%
FIRST.org
CISA KEV
Exploited

Executive & SecOps Summary

SECOPS ASSESSMENT
Affected Scope

Cisco IOS XE Software with the Web UI feature enabled and exposed to the internet

Impact

Unauthenticated remote attackers can bypass authentication to create a local user with Privilege 15 access, subsequently elevating to root to install a persistent malicious implant

Mitigation

Immediately disable the Web UI (HTTP/HTTPS Server) feature or restrict access to trusted management networks, and upgrade to the recommended fixed software releases

Affected Products & Version Scope

All Cisco IOS XE Software devices with the Web UI (HTTP/HTTPS Server) feature enabled

Remediation & Live Workaround Commands

PATCH & WORKAROUND

1. Official Patch & Version Upgrade Commands

Refer to the Cisco Security Advisory to identify and download the appropriate fixed release for your specific hardware platform.

bash
# Example: Downloading and installing the recommended IOS XE image via TFTP
Router# copy tftp: flash:
Address or name of remote host? 192.168.1.100
Source filename? cat9k_iosxe.17.09.04a.SPA.bin
Destination filename [cat9k_iosxe.17.09.04a.SPA.bin]? 

# Configure boot path and save configuration
Router(config)# boot system flash:cat9k_iosxe.17.09.04a.SPA.bin
Router(config)# end
Router# write memory
Router# reload

2. Temporary Workaround & Hardening Configuration

If patching cannot be applied immediately, disable the Web UI feature to eliminate the attack surface.

bash
# Disable both HTTP and HTTPS servers globally
Router# configure terminal
Router(config)# no ip http server
Router(config)# no ip http secure-server
Router(config)# end
Router# write memory

If the Web UI is strictly required for operations, restrict access using an Access Control List (ACL).

bash
# Define an ACL restricting access to trusted management subnets (e.g., 10.10.10.0/24)
Router(config)# ip access-list standard MGMT_ACL
Router(config-std-nacl)# permit 10.10.10.0 0.0.0.255
Router(config-std-nacl)# deny any log
Router(config-std-nacl)# exit

# Apply the ACL to the HTTP/HTTPS server configuration
Router(config)# ip http access-class MGMT_ACL
Router(config)# end
Router# write memory

3. Log Audit & IoC Verification Commands

Inspect the device configuration and logs to detect unauthorized accounts or potential exploitation attempts.

bash
# 1. Check for unauthorized Privilege 15 local user accounts
Router# show run | include username

# 2. Audit configuration changes and login events in system logs
Router# show logging | include %SYS-5-CONFIG_I|%SEC_LOGIN

# 3. External curl check to detect the presence of the malicious implant (Run from an external terminal)
# If infected, the response will return a specific hexadecimal string.
$ curl -k -X POST https://[DEVICE_IP]/webui/logout -d '{"test":"test"}'
Interactive SecOps Remediation Checklist
0/4 (0%)
Recommended Security Control & Mitigation Partner
NordLayer / Zero-Trust Network Access
Immediately disable the Web UI service on all internet-exposed Cisco IOS XE devices or restrict access to trusted IPs, and upgrade to a patched release.

Stop Exposing VPN Ports to the Internet — Switch to Zero-Trust Access

Eliminate public-facing VPN concentrators and firewall management ports with identity-first Zero-Trust Network Access.

90% Attack Surface Reduction · Hardware-Free

Technical Root Cause & Exploitation Mechanics

1. Vulnerability Overview & Root Cause

This vulnerability (CVE-2023-20198) is a critical privilege escalation flaw in the Web UI (HTTP/HTTPS Server) component of Cisco IOS XE Software. Due to insufficient input validation and access control flaws (CWE-420), an unauthenticated remote attacker can craft malicious HTTP requests to bypass authentication mechanisms and execute administrative commands.

2. Exploitation Mechanics & Attack Scenario

In-the-wild attacks observed by Cisco Talos revealed a multi-stage exploitation chain combining two zero-day vulnerabilities: Phase 1 (Initial Access): The attacker exploits CVE-2023-20198 without authentication to issue a command that creates a local user account with Privilege 15 (highest administrative level). Phase 2 (Privilege Escalation): Logging in with this newly created account, the attacker leverages another vulnerability in the Web UI component (CVE-2023-20273) to elevate privileges to root within the underlying Linux operating system. Phase 3 (Implant Deployment): With root access, the attacker writes a non-persistent but highly stealthy implant directly to the file system, enabling persistent backdoor access across sessions.

3. Infrastructure & Business Impact

Cisco IOS XE devices serve as critical backbone infrastructure in enterprise networks, data centers, and carrier environments. Successful exploitation grants complete control over the affected device, allowing attackers to intercept/manipulate network traffic and pivot laterally into internal networks. This vulnerability is actively exploited in the wild, as reflected by its inclusion in the CISA KEV catalog and an EPSS score of 0.9978.

Official Vendor Advisories & References

NVD Original English Description

Cisco is providing an update for the ongoing investigation into observed exploitation of the web UI feature in Cisco IOS XE Software. We are updating the list of fixed releases and adding the Software Checker. Our investigation has determined that the actors exploited two previously unknown issues. The attacker first exploited CVE-2023-20198 to gain initial access and issued a privilege 15 command to create a local user and password combination. This allowed the user to log in with normal user access. The attacker then exploited another component of the web UI feature, leveraging the new local user to elevate privilege to root and write the implant to the file system. Cisco has assigned CVE-2023-20273 to this issue. CVE-2023-20198 has been assigned a CVSS Score of 10.0. CVE-2023-20273 has been assigned a CVSS Score of 7.2. Both of these CVEs are being tracked by CSCwh87343.

Frequently Asked SecOps Questions (CVE-2023-20198)

FAQ

Q1. How critical is CVE-2023-20198 and is it actively exploited in the wild?

CVE-2023-20198 is rated CVSS 10.0 (CRITICAL) with a 30-day EPSS exploitation probability of 99.8%. It is listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, requiring immediate emergency remediation.

Q2. Which vendors and products are affected by CVE-2023-20198?

Primary impacted vendors include cisco across ios xe. Scope summary: All Cisco IOS XE Software devices with the Web UI (HTTP/HTTPS Server) feature enabled

Q3. What temporary mitigations or workarounds exist for CVE-2023-20198 before patching?

[Mitigation] Immediately disable the Web UI (HTTP/HTTPS Server) feature or restrict access to trusted management networks, and upgrade to the recommended fixed software releases Follow the CLI remediation commands and interactive SecOps checklist on this page to restrict exposure prior to your maintenance window.

SECOPS WORKBENCH INTEGRATION

Generate an Internal Engineering Notice or CISO Report for CVE-2023-20198

Instantly format this advisory into an executive CISO summary or engineering patch ticket.

Generate Report →

🔗 Related Advisories in Similar Stack (cisco)

View Category →
SecOps Advisory Dispatch & RSS Feed

Subscribe to Daily Vulnerability Briefings & KEV Alerts

Concise morning briefings for SecOps, DevSecOps, and SRE teams covering newly exploited CVEs and mitigation priorities.

Slack / Teams / RSS Feed:
PatchKO
CVE-2023-20198 Cisco IOS XE Web UI Remote Privilege Escalation and System Compromise (CVE-2023-20198) (CVSS 10.0) - Patch & Workaround | CVE Pulse