How Unpacking CVE-202 Works and What You Should Patch

Secably Research
Nov 25, 2026
6 min read
Vulnerability Research
Cve Cve-202 Unpacking Vulnerability
How Unpacking CVE-202 Works and What You Should Patch
How Unpacking CVE-202 Works and What You Should Patch
Unpacking CVE-202 refers to a critical vulnerability, specifically CVE-2023-20198, impacting Cisco IOS XE software. This flaw allows unauthenticated attackers to create highly privileged user accounts through the web UI. Attackers gain full administrative control over affected network devices. The vulnerability carries a CVSSv3.1 score of 10.0 (AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H), indicating maximum severity across all metrics. The vulnerability affects Cisco IOS XE Software if the HTTP Server feature is enabled. This includes both `ip http server` and `ip http secure-server` configurations. No specific version ranges are listed as immune if the feature is active. Cisco's advisory, `cisco-sa-iosxe-webui-privesc-j22MTd8gm`, confirms broad applicability across various IOS XE deployments. Active exploitation of this vulnerability was observed in the wild before public disclosure. The technical root cause of CVE-2023-20198 lies within the HTTP server component of Cisco IOS XE's web UI. A logic error permits unauthorized access to an account creation function. The web UI, intended for device management, fails to properly validate authentication and authorization for specific administrative requests. Attackers exploit this bypass by sending a specially crafted HTTP POST request. This request triggers the creation of a new local user account without requiring any prior credentials. The system then assigns this new user the highest privilege level, typically privilege level 15, granting full administrative access to the device. This flaw is not a buffer overflow or a simple command injection. Instead, it represents a critical authentication bypass within the web application logic itself. The web server process, responsible for handling incoming HTTP requests, incorrectly processes certain requests as legitimate account creation attempts, even when no authenticated session exists. This allows an attacker to inject arbitrary user credentials directly into the device's configuration. The vulnerability does not directly involve the `install_webui.sh` script, though related configuration changes can be an indicator of compromise.

Unpacking CVE-202: Technical Details of CVE-2023-20198

Exploitation mechanics for CVE-2023-20198 involve a specific, unauthenticated HTTP POST request. An attacker targets the exposed web UI of a Cisco IOS XE device. The request includes parameters for a new username and password. The vulnerable endpoint processes these parameters without checking for a valid session token or authentication cookie. The web server then proceeds to add the specified user to the local user database with maximum privileges. This action effectively hands over control of the device to the attacker. Attackers typically send a request similar to the following, though the exact endpoint path may vary based on the specific IOS XE version and configuration. The core concept remains an unauthenticated POST to a sensitive administrative function. The content type is often `application/x-www-form-urlencoded` or `multipart/form-data`. The target path is typically part of the web UI's administrative interface.
POST /webui/path/to/vulnerable/endpoint HTTP/1.1
Host: <TARGET_IP>
User-Agent: Mozilla/5.0
Content-Type: application/x-www-form-urlencoded
Content-Length: <LENGTH>

username=<ATTACKER_USERNAME>&password=<ATTACKER_PASSWORD>&privilege=15&action=create
This crafted request, when sent to an unpatched device with an exposed web UI, results in the immediate creation of `<ATTACKER_USERNAME>` with privilege level 15. The attacker can then use these new credentials to log into the device via SSH, Telnet, or the web UI itself, gaining full administrative control. The absence of any authentication checks before processing this request is the core of the vulnerability. Detecting CVE-2023-20198 exploitation or exposure requires a multi-faceted approach. First, check for unexpected local user accounts on your Cisco IOS XE devices. Attackers often create accounts with generic names like `cisco_tac_admin`, `cisco_support`, or other easily identifiable strings. Use the `show users` and `show running-config | include username` commands to list all configured local users. Look for accounts you did not explicitly create.
Router# show users
Line       User       Host         Location         Idle       Time
vty0       attacker   10.0.0.1     idle             00:00:00   00:00:00
*vty1      admin      192.168.1.1  idle             00:00:00   00:00:00

Router# show running-config | include username
username admin privilege 15 secret 5 $1$xxxx$xxxx
username attacker privilege 15 secret 5 $1$yyyy$yyyy
Next, examine system logs for unusual account creation events or suspicious logins. Cisco devices log user activity. Look for log entries indicating new user creation without administrative initiation or logins from unknown IP addresses. Specifically, check for messages related to AAA (Authentication, Authorization, Accounting) or local user database modifications. The `show logging` command can help review these events. Network traffic analysis can identify attempts to exploit CVE-2023-20198. Monitor for unauthenticated HTTP POST requests targeting the web UI's administrative endpoints. Look for requests that include parameters like `username`, `password`, and `privilege` in their body, originating from external IP addresses. A free port scanner can help identify if your Cisco IOS XE web UI (typically on ports 80 or 443) is exposed to the internet. A free website vulnerability scanner can also scan for exposed administrative interfaces and potentially identify vulnerable configurations, though specific CVE-2023-20198 signature detection may require more specialized tools. You can use a technology stack detector to confirm if your public-facing assets are running Cisco IOS XE. This helps scope your potential exposure. Organizations can also use internet-wide scanning services like Zondex to identify their exposed Cisco devices and services. This external perspective helps confirm which assets are visible to attackers. For deeper insights into similar exploitation techniques, refer to our blog post on Unpacking CVE-2023-20198 — Cisco IOS XE Web UI Privilege Escalation. Remediation for CVE-2023-20198 requires immediate action. The primary remediation is to upgrade Cisco IOS XE Software to a patched version. Cisco released specific software updates addressing this vulnerability. Consult the official Cisco Security Advisory `cisco-sa-iosxe-webui-privesc-j22MTd8gm` for exact patch versions applicable to your specific device models and feature sets. Apply these updates as soon as possible. If immediate patching is not feasible, implement temporary mitigations. Disable the HTTP Server feature on your Cisco IOS XE devices if it is not strictly required. Use the `no ip http server` and `no ip http secure-server` commands in global configuration mode. This removes the attack surface entirely.
Router(config)# no ip http server
Router(config)# no ip http secure-server
Router(config)# write memory
Restrict access to the web UI using Access Control Lists (ACLs). Configure ACLs to permit HTTP/HTTPS traffic only from trusted management networks or specific administrator IP addresses. Apply these ACLs to the external interface of your device. This significantly limits an attacker's ability to reach the vulnerable service.
Router(config)# ip access-list extended WEBUI_MANAGEMENT
Router(config-ext-nacl)# permit tcp host <TRUSTED_ADMIN_IP> any eq 80
Router(config-ext-nacl)# permit tcp host <TRUSTED_ADMIN_IP> any eq 443
Router(config-ext-nacl)# deny ip any any log
Router(config-ext-nacl)# exit
Router(config)# interface <EXTERNAL_INTERFACE>
Router(config-if)# ip access-group WEBUI_MANAGEMENT in
Router(config-if)# exit
Router(config)# write memory
After applying patches or mitigations, conduct a thorough post-compromise investigation. Remove any unauthorized user accounts created by attackers. Review the device configuration for any persistence mechanisms or backdoors attackers might have installed. Check for unexpected changes to scripts, configuration files, or scheduled tasks. Revert any unauthorized changes and rotate credentials for all legitimate administrative accounts. Understanding the full scope of Unpacking CVE-202 requires examining its root cause and ensuring all potential backdoors are closed. The timeline of disclosure for CVE-2023-20198 unfolded rapidly due to active exploitation. Cisco identified the vulnerability and observed suspicious activity in early October 2023. On October 12, 2023, Cisco Talos published initial threat intelligence detailing the observed exploitation. The official Cisco Security Advisory `cisco-sa-iosxe-webui-privesc-j22MTd8gm` was released on October 16, 2023. This advisory confirmed the vulnerability, its impact, and provided initial mitigation advice, emphasizing the need for immediate action given the active exploitation. The process of Unpacking CVE-202 reveals a significant flaw in authentication that was quickly weaponized by threat actors.

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.

Secure your website and accounts

Tools we recommend for site owners and admins.

Compare VPS prices →

Affiliate links: we may earn a commission, your price stays the same.