Vulnerability Details : CVE-2020-3118
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).
Vulnerability category: OverflowMemory CorruptionExecute code
Products affected by CVE-2020-3118
- cpe:2.3:o:cisco:ios_xr:*:*:*:*:*:*:*:*
- cpe:2.3:o:cisco:ios_xr:*:*:*:*:*:*:*:*
- cpe:2.3:o:cisco:ios_xr:5.2.5:*:*:*:*:*:*:*
- cpe:2.3:o:cisco:ios_xr:6.6.25:*:*:*:*:*:*:*
- cpe:2.3:o:cisco:ios_xr:7.0.1:*:*:*:*:*:*:*
- cpe:2.3:o:cisco:ios_xr:6.5.3:*:*:*:*:*:*:*
- cpe:2.3:o:cisco:ios_xr:6.4.2:*:*:*:*:*:*:*
CVE-2020-3118 is in the CISA Known Exploited Vulnerabilities Catalog
CISA vulnerability name:
Cisco IOS XR Software Discovery Protocol Format String Vulnerability
CISA required action:
Apply updates per vendor instructions.
CISA description:
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.
Notes:
https://nvd.nist.gov/vuln/detail/CVE-2020-3118
Added on
2021-11-03
Action due date
2022-05-03
Exploit prediction scoring system (EPSS) score for CVE-2020-3118
0.22%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 59 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2020-3118
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
8.3
|
HIGH | AV:A/AC:L/Au:N/C:C/I:C/A:C |
6.5
|
10.0
|
NIST | |
8.8
|
HIGH | CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
2.8
|
5.9
|
Cisco Systems, Inc. | |
8.8
|
HIGH | CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
2.8
|
5.9
|
NIST |
CWE ids for CVE-2020-3118
-
The product uses a function that accepts a format string as an argument, but the format string originates from an external source.Assigned by: ykramarz@cisco.com (Secondary)
-
The product writes data past the end, or before the beginning, of the intended buffer.Assigned by: nvd@nist.gov (Primary)
References for CVE-2020-3118
-
https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20200205-iosxr-cdp-rce
Cisco IOS XR Software Cisco Discovery Protocol Format String VulnerabilityVendor Advisory
-
http://packetstormsecurity.com/files/156203/Cisco-Discovery-Protocol-CDP-Remote-Device-Takeover.html
Cisco Discovery Protocol (CDP) Remote Device Takeover ≈ Packet StormThird Party Advisory;VDB Entry
Jump to