Unpacking CVE-2023-20198

Secably Research
Nov 28, 2026
6 min read
Vulnerability Research
Cve Cve-20 Unpacking Vulnerability
Unpacking CVE-2023-20198
Unpacking CVE-2023-20198

Unpacking CVE-2023-20198

Is your own site affected? Check it in 30 seconds

Free Secably scan: SSL, security headers, exposed files and DNS. No signup.

Unpacking CVE-2023-20198 reveals a critical privilege escalation vulnerability in Cisco IOS XE Software. This flaw allows an unauthenticated remote attacker to create an account on an affected device with full administrative privileges (level 15). Attackers exploited this vulnerability in the wild, posing a significant threat to network infrastructure.

What the vulnerability is and its impact

CVE-2023-20198 is a privilege escalation vulnerability affecting the web UI feature of Cisco IOS XE Software. The vulnerability stems from insufficient authentication checks in a specific part of the web UI. An attacker can exploit this to create a new local user account. This new account possesses privilege level 15, granting complete control over the device.

The Common Vulnerability Scoring System (CVSS) v3.1 rates CVE-2023-20198 with a base score of 10.0. This maximum score reflects its critical severity. The metrics are AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H, indicating network access, low attack complexity, no privileges required, no user interaction, scope change, and high impact on confidentiality, integrity, and availability.

Affected Cisco IOS XE Software versions include those running the web UI feature. Specifically, any Cisco IOS XE device with the HTTP or HTTPS server feature enabled and exposed to the internet was vulnerable. Cisco's advisory did not list specific version numbers as vulnerable, but rather the presence of the web UI feature.

Technical root cause analysis

The root cause of CVE-2023-20198 lies within the web UI component of Cisco IOS XE. The vulnerability involves an undocumented or improperly secured API endpoint. This endpoint processes certain HTTP requests without adequately verifying the caller's authentication status or authorization level.

The web UI's handling of specific HTTP POST requests allows for command injection. Attackers craft these requests to include commands that create a new user account. The system processes these commands as if an authenticated, highly privileged user initiated them. This bypasses standard authentication and authorization mechanisms.

The specific flaw resides in how the web server processes requests directed to certain URLs. These URLs are not intended for public access or unauthenticated interaction. However, the underlying code does not enforce proper access controls for these internal functions, leading to the privilege escalation.

Further analysis showed that the web UI contains a component that can write data to a system file. This component, when triggered by a specially crafted request, allows an attacker to inject configuration commands directly into the device's running configuration. This effectively creates an administrative user account.

Exploitation mechanics

Exploitation of CVE-2023-20198 begins with an unauthenticated attacker sending a crafted HTTP POST request to the vulnerable Cisco IOS XE device. The target endpoint is typically associated with the web UI. This request does not require any prior authentication tokens or session cookies.

Attackers specifically target a path like /webui/logout.html or a similar endpoint that, under normal circumstances, handles session management. However, the vulnerability in the underlying code allows for an unexpected payload to be processed. This payload contains commands to create a new user account.

The crafted POST request includes parameters that specify a new username, password, and the desired privilege level. For example, a request might include parameters like username=attacker, password=StrongPassword123!, and privilege=15. The vulnerable component then processes these parameters and executes the corresponding configuration commands on the device.

Upon successful exploitation, the attacker gains a new user account with privilege level 15. This grants them full administrative access to the Cisco IOS XE device. They can then perform any action, including modifying configurations, accessing sensitive information, or deploying further malicious payloads.

Detection: how to check if you're affected

To detect if you are affected by Unpacking CVE-2023-20198, check your Cisco IOS XE devices for the presence of the web UI feature. Verify if the HTTP or HTTPS server is enabled and exposed to the internet. You can use a free port scanner to identify devices exposing ports 80 or 443.

Examine device configurations for suspicious local user accounts. Look for accounts that were not created by authorized administrators or that have unusual names. These accounts often have privilege level 15. The command show running-config | include username can help identify these.

Review system logs for unauthorized access attempts or unexpected configuration changes. Specifically, look for log entries indicating the creation of new user accounts or modifications to existing ones during the period of observed exploitation (October 2023 onwards). Cisco's official advisory provides specific indicators of compromise (IoCs).

Monitor network traffic for unusual HTTP POST requests directed at your Cisco IOS XE devices. Look for requests targeting paths like /webui/logout.html or similar web UI endpoints with unexpected payloads. Tools like network intrusion detection systems (NIDS) can assist in this monitoring.

Secably offers a free website vulnerability scanner that can help identify exposed web interfaces on your network perimeter. While not specifically designed for Cisco IOS XE, it can detect open HTTP/HTTPS services. For continuous monitoring of your attack surface, Secably's paid plans provide ongoing vulnerability scanning and asset discovery, helping you identify internet-facing devices that might be running vulnerable software. Zondex can also aid in internet-wide scanning to discover exposed services. Zondex helps identify internet-exposed assets that might be running the vulnerable Cisco IOS XE web UI.

Remediation steps

The primary remediation for Unpacking CVE-2023-20198 is to apply the official Cisco software updates. Cisco released patches to address this vulnerability. Consult the Cisco Security Advisory for the specific patched releases applicable to your device models and software versions.

If immediate patching is not possible, disable the HTTP and HTTPS server features on internet-facing Cisco IOS XE devices. This mitigates the risk by removing the vulnerable attack surface. Use the commands no ip http server and no ip http secure-server in global configuration mode.

Implement strict access control lists (ACLs) to restrict access to the web UI. Only allow trusted management IP addresses to connect to the device's HTTP or HTTPS services. This reduces the exposure of the vulnerable interface to the wider internet.

Inspect all Cisco IOS XE devices for any unauthorized or suspicious user accounts created with privilege level 15. Immediately remove any such accounts. Review audit logs to determine how these accounts were created and what actions they performed.

As a precautionary measure, change credentials for all administrative accounts on affected devices. This ensures that even if an attacker gained access to existing credentials, they would be invalidated. Implement strong password policies and multi-factor authentication where supported.

Timeline of disclosure

The timeline surrounding Unpacking CVE-2023-20198 began with Cisco Talos identifying suspicious activity. On October 11, 2023, Cisco Talos observed active exploitation attempts targeting Cisco IOS XE devices.

Cisco promptly responded to the discovery. On October 12, 2023, Cisco released a security advisory, detailing CVE-2023-20198. This advisory provided initial information about the vulnerability, its impact, and initial mitigation advice.

Following Cisco's disclosure, the cybersecurity community began to observe widespread exploitation. On October 16, 2023, the U.S. Cybersecurity and Infrastructure Security Agency (CISA) issued an alert (AA23-289A). This alert urged organizations to take immediate action to address the vulnerability.

Throughout October and November 2023, security researchers and vendors continued to report ongoing active exploitation of CVE-2023-20198. This highlighted the urgency of applying patches and implementing mitigations.

For more technical details on similar vulnerabilities and their remediation, consider reading Technical Analysis of Unpacking CVE-20, which explores other critical security flaws.

Check your site for vulnerabilities

Run a free security scan — no signup, results in seconds.

Related Posts

Stronger security starts with visibility.

Scan your website for vulnerabilities and get actionable insights.

Put this into practice: scan your website free

Secably checks SSL/TLS, security headers, cookies, exposed files and DNS in seconds. No signup needed; a free account keeps your reports and re-scans on schedule.