CVE-2020-3118
CONFIRMED EXPLOITEDCisco IOS XR Software Discovery Protocol Format String Vulnerability
Is Cisco IOS XR affected by CVE-2020-3118?
Cisco IOS XR is listed in the CISA Known Exploited Vulnerabilities catalog for CVE-2020-3118, added on 2021-11-03. CISA only adds a CVE once it has evidence of exploitation in the wild, so the patching question is not whether it can be attacked but how soon your instances must be updated.
Affected products published by NIST NVD (5 vulnerable CPE entries): cisco ios_xr.
Published CPE version bounds mark releases below 7.0.2 as vulnerable. Those bounds describe what is affected, not what patches it: upgrade to the fixed release named in the vendor advisory below, then confirm the installed version with your package manager or scanner.
The CISA remediation deadline for this entry is 2022-05-03.
RELATED VULNERABILITY DOSSIERS
Other catalog entries that share this product, vendor, or weakness, or that sit next to this advisory in the CISA KEV timeline.
- CVE-2022-20821Same productCisco IOS XR
Cisco IOS XR Open Port Vulnerability
- CVE-2010-3035Same productCisco IOS XR
Cisco IOS XR Border Gateway Protocol (BGP) Denial-of-Service Vulnerability
- CVE-2009-2055Same productCisco IOS XR
Cisco IOS XR Border Gateway Protocol (BGP) Denial-of-Service Vulnerability
- CVE-2020-3569Same productCisco IOS XR
Cisco IOS XR Software DVMRP Memory Exhaustion Vulnerability
- CVE-2020-29583Neighboring entryZyxel Multiple Products
Zyxel Multiple Products Use of Hard-Coded Credentials Vulnerability
- CVE-2020-3161Neighboring entryCisco Cisco IP Phones
Cisco IP Phones Web Server Remote Code Execution and Denial-of-Service Vulnerability
1. VULNERABILITY OVERVIEW & TECHNICAL MECHANISM
Cisco IOS XR improperly validates string input from certain fields in Cisco Discovery Protocol messages. Exploitation could allow an unauthenticated, adjacent attacker to execute code with administrative privileges or cause a reload on an affected device.
Get Stack Watch email when a KEV hits your stack ($99/year or $12/month)
A vulnerability in the Cisco Discovery Protocol implementation for Cisco IOS XR Software could allow an unauthenticated, adjacent attacker to execute arbitrary code or cause a reload on an affected device. The vulnerability is due to improper validation of string input from certain fields in Cisco Discovery Protocol messages. An attacker could exploit this vulnerability by sending a malicious Cisco Discovery Protocol packet to an affected device. A successful exploit could allow the attacker to cause a stack overflow, which could allow the attacker to execute arbitrary code with administrative privileges on an affected device. Cisco Discovery Protocol is a Layer 2 protocol. To exploit this vulnerability, an attacker must be in the same broadcast domain as the affected device (Layer 2 adjacent).
2. AFFECTED VERSIONS, PRODUCTS & VERIFIED CPE CONFIGURATIONS
3. EXPLOITATION EVIDENCE, IMPACT & HOW TO DETECT IT
This vulnerability was added to the CISA Known Exploited Vulnerabilities (KEV) catalog on 2021-11-03. Inclusion in KEV requires verified evidence of active exploitation in the wild. Known ransomware campaign use is recorded by CISA as: "Unknown".
Note: KEV inclusion confirms that threat actors have exploited this flaw in real-world incidents; it does not imply every deployment of IOS XR has been compromised.
- CVSS vector indicates high impact to Confidentiality (C:H), Integrity (I:H), and Availability (A:H) of the affected component.
- Perimeter appliance / gateway surface (Cisco IOS XR): stream syslog, NetFlow, and authentication telemetry off-box to an independent collector (`Zeek`, `Suricata`, `Wazuh`) so logs survive appliance tampering. Inspect `conn.log` / `ssl.log` for unauthenticated probes against exposed VPN or management interfaces.
- Command/Argument Injection class (CWE-77/78/88): monitor process trees for `/bin/sh`, `bash`, `cmd.exe`, `powershell`, `curl`, or `wget` spawned as child processes of the service daemon.
- Memory corruption class (CWE-119/416/787): monitor system logs (`dmesg`, `journalctl`, Windows Event ID 1000, crash dumps) for segmentation faults (`SIGSEGV`/`SIGABRT`) or worker process restarts.
- Inventory all hosts running Cisco IOS XR and compare installed package/build versions against the NVD CPE configurations and vendor advisory below.
4. FIXED VERSION, MITIGATIONS & OFFICIAL ADVISORY CITATIONS
Apply updates per vendor instructions.
- http://packetstormsecurity.com/files/156203/Cisco-Discovery-Protocol-CDP-Remote-Device-Takeover.htmlThird Party AdvisoryVDB Entry
- https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20200205-iosxr-cdp-rceVendor Advisory
- http://packetstormsecurity.com/files/156203/Cisco-Discovery-Protocol-CDP-Remote-Device-Takeover.htmlThird Party AdvisoryVDB Entry
- https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20200205-iosxr-cdp-rceVendor Advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2020-3118US Government Resource
SCORING & VECTOR TELEMETRY
Primary assessment authored by NIST NVD (nvd@nist.gov).
EPSS estimates the statistical probability of exploitation activity in the next 30 days—it is not proof of confirmed exploitation.
RELEVANT DEFENSIVE TOOLS
Curated open-source defensive and verification utilities from The Loot applicable to this asset class:
Network security monitoring (NSM) and protocol metadata extraction framework
Multi-threaded IDS, IPS, and network security monitoring engine
Modern, cryptographically opinionated kernel-space VPN tunnel
Endpoint visibility, digital forensics, and incident response (DFIR) platform