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.
In short
CVE-2020-3118 (Cisco IOS XR Software Discovery Protocol Format String) has a CVSS 3.1 base score of 8.8, rated high. CISA added it to the Known Exploited Vulnerabilities catalog on 3 Nov 2021. Fixed in Cisco iOS XR 6.6.12 or later.
Description
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).
CVSS 3.1 breakdown
- Attack vector
- Adjacent
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HAffected products
- Cisco iOS XR≥ 6.6.0 < 6.6.12 · ≥ 7.0.0 < 7.0.2 · 5.2.5 · 6.4.2
Remediation
Fixed in- Cisco iOS XR≥ 6.6.12
References
Related CVEs
Exploited and critical vulnerabilities in the same product or from the same vendor.
Data from the NVD, CISA KEV catalog and FIRST EPSS. The CVSS 4.0 base score is shown where the NVD has one, otherwise CVSS 3.1.
