Cisco IOS XE Vulnerabilities: Fixes and Affected Versions
Cisco IOS XE updates address web UI vulnerabilities CVE-2023-20198 and CVE-2023-20273, exploited to create local accounts and gain root access. Devices with the web UI enabled are affected; 17.9.4a fixes the 17.9 branch. Administrators can disable the HTTP server feature and save the running configuration to prevent reactivation after reload; affected systems also need forensic triage.
Summary written with AI from this article, and checked against it.

Affected systems and impact
| Flaw | Affected systems | Impact |
|---|---|---|
| CVE-2023-20198Privilege escalation in the web UI | Cisco IOS XE with web UI enabled: 16.12 before 16.12.10a; 17.3 before 17.3.8a; 17.6 before 17.6.6a; 17.9 before 17.9.4a | Attackers gain access and execute a privilege 15 command to create a local account |
| CVE-2023-20273OS command injection in the web UI | Cisco IOS XE with web UI enabled: 16.12 before 16.12.10a; 17.3 before 17.3.8a; 17.6 before 17.6.6a; 17.9 before 17.9.4a | Attackers with elevated privileges gain root access and implant a malicious script |
At a glanceCVE-2023-20198
CVE-2023-20198 has a CVSS 3.1 base score of 10.0 (Critical) from NVD. It is fixed in Cisco IOS XE 16.12.10a, 17.3.8a, 17.6.6a and 17.9.4a.
| Severity | 10.0 Critical (CVSS 3.1, NVD) |
|---|---|
| Fixed in | Cisco IOS XE 16.12.10a, 17.3.8a, 17.6.6a, 17.9.4a |
| Affected | Cisco IOS XE 16.12 – before 16.12.10a; 17.3 – before 17.3.8a; 17.6 – before 17.6.6a; 17.9 – before 17.9.4a |
| Exploited | Yes: in CISA's Known Exploited Vulnerabilities catalog since October 16, 2023 |
| EPSS | 99.6% chance of exploitation in the next 30 days (FIRST, October 27, 2026) |
| Public exploit | 36 GitHub repositories name it: proofs of concept, scanners, detections. Unverified: some are fake or malicious. |
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
| Weakness | CWE-420 |
| Ubuntu | Listed, no packages yet |
| Debian | Listed, no packages yet |
| Red Hat | Not tracked yet |
| Also in | Rockwellautomation allen-bradley stratix 5200 firmware, Rockwellautomation allen-bradley stratix 5800 firmware |
Is there a public exploit for CVE-2023-20198?
Yes: CVE-2023-20198 is exploited in the wild. CISA added it to its Known Exploited Vulnerabilities catalog on October 16, 2023. 36 public GitHub repositories name it: proofs of concept, scanners and detections. None of it is verified: some such repositories are fake or carry malware, so read the code before running it, and only against systems you own. FIRST's EPSS puts the chance of exploitation in the next 30 days at 99.6%, higher than 99.9% of scored CVEs.
At a glanceCVE-2023-20273
CVE-2023-20273 has a CVSS 3.1 base score of 7.2 (High) from NVD. It is fixed in Cisco IOS XE 16.12.10a, 17.3.8a, 17.6.6a and 17.9.4a.
| Severity | 7.2 High (CVSS 3.1, NVD) |
|---|---|
| Fixed in | Cisco IOS XE 16.12.10a, 17.3.8a, 17.6.6a, 17.9.4a |
| Affected | Cisco IOS XE 17.3 – before 17.3.8a; 17.6 – before 17.6.6a; 17.9 – before 17.9.4a; 16.12 – before 16.12.10a; 185 versions listed by NVD, 16.1.1 to 17.12.1 |
| Exploited | Yes: in CISA's Known Exploited Vulnerabilities catalog since October 23, 2023 |
| EPSS | 93% chance of exploitation in the next 30 days (FIRST, October 27, 2026) |
| Public exploit | 1 GitHub repository names it: proofs of concept, scanners, detections. Unverified: some are fake or malicious. |
| Vector | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| Weakness | CWE-78 OS Command Injection |
| Ubuntu | Listed, no packages yet |
| Debian | Listed, no packages yet |
| Red Hat | Not tracked yet |
Is there a public exploit for CVE-2023-20273?
Yes: CVE-2023-20273 is exploited in the wild. CISA added it to its Known Exploited Vulnerabilities catalog on October 23, 2023. 1 public GitHub repository names it: proofs of concept, scanners and detections. None of it is verified: some such repositories are fake or carry malware, so read the code before running it, and only against systems you own. FIRST's EPSS puts the chance of exploitation in the next 30 days at 93%, higher than 99.8% of scored CVEs.
Cisco has recently rolled out free software updates to address two critical vulnerabilities identified as CVE-2023-20198 and CVE-2023-20273. These vulnerabilities had been exploited as zero-days and compromised over 50,000 Cisco IOS XE devices. The updates intend to enhance the security infrastructure of the vulnerable devices and minimize the risks posed by these security flaws.
Risk Scoring
The Common Vulnerability Scoring System (CVSS) provides risk assessments for these vulnerabilities. The CVSSv3 scores are as follows:
- CVE-2023-20273: CVSSv3 Score of 7.2
- CVE-2023-20198: CVSSv3 Score of 10
The higher the score, the greater the potential impact and risk. A score of 10 for CVE-2023-20198 indicates an extremely critical risk level.
Affected Products
Devices running Cisco IOS XE Software with the web UI feature enabled are affected by these vulnerabilities. In other words, if your Cisco device has the web UI feature active, you are at risk.
Solutions
Cisco has updated its original advisory with information about the first fixed software release available for download from the company's Software Download Center. At the moment, the first fixed release is version 17.9.4a. Future updates will be rolled out, although the dates remain undisclosed.
Software Release Details
- First Fixed Release for 17.9: 17.9.4a (Available)
- First Fixed Release for 17.6: 17.6.6a (To Be Determined)
- First Fixed Release for 17.3: 17.3.8a (To Be Determined)
- First Fixed Release for 16.12 (Catalyst 3650 & 3850 only): 16.12.10a (To Be Determined)
Vulnerability Details
Both identified vulnerabilities reside in the web UI of Cisco devices operating on the IOS XE software. The threat actor exploited these flaws initially to gain access and subsequently executed a "privilege 15 command" to establish a regular local account. From there, the attacker escalated the user's privileges to root level using CVE-2023-20273 and implanted a malicious script. It should be noted that this script does not remain after a system reboot, lacking persistence.
Sudden Drop in Hacked Cisco IOS XE Hosts
Initially, close to 10,000 devices were compromised, and this number soared to over 40,000. Interestingly, a steep decline in the number of affected devices was later observed. Researchers at Fox-IT provided insight into this decline, revealing that the malware was modified to check for an Authorization HTTP header value before responding. Consequently, a different assessment showed that 37,890 devices are still compromised.
Recommendations
Update Affected Devices
Ensure that your Cisco devices are updated to the most secure software versions as soon as possible.
Disable Web UI Feature
Administrators should immediately disable the web UI feature on exposed systems by executing the 'no ip http server' or 'no ip http secure-server' commands. After disabling this feature, save the running configuration to prevent reactivation upon system reload.
Forensic Triage
Administrators should conduct forensic triage on affected IOS XE systems with the help of the repository provided, which contains essential steps to determine if the system has been compromised.
Ending Note
While Cisco has taken prompt action by releasing an update for IOS XE 17.9, several other versions remain vulnerable as updates for them are still pending. As a preventive measure, the best course of action is to disable the HTTP server feature on the vulnerable IOS XE devices, effectively nullifying the attack vector.
By adhering to the guidelines provided, users can safeguard their systems and significantly mitigate the risks associated with these vulnerabilities.
Sources
- CVE recordCVE-2023-20198 in the National Vulnerability Database · nvd.nist.gov
- CVE recordCVE-2023-20273 in the National Vulnerability Database · nvd.nist.gov



