CVE-2020-3118
Cisco IOS XR Software Cisco Discovery Protocol Format String Vulnerability
Known exploited
CISA added this CVE to its list of known exploited vulnerabilities on 3 Nov 2021. US federal agencies had to act by 3 May 2022.
- Name
- Cisco IOS XR Software Discovery Protocol Format String Vulnerability
- Required action
- Apply updates per vendor instructions.
- Ransomware
- Use in ransomware campaigns is not known
- Notes
- https://nvd.nist.gov/vuln/detail/CVE-2020-3118
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).
Severity (CVSS)
CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- adjacent: the attacker has to be on the same local network or link
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 11.6%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 96.1% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 8 Nov 2024):
- Exploitation
- active: CISA has reliable evidence of exploitation in the wild
- Automatable
- no: each attack takes manual steps
- Technical impact
- total: full control of the component or of its data
Weakness
- CWE-134 Use of Externally-Controlled Format String
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Cisco IOS XR Software |
affected before 6.6.3
|
Is my server affected?
This CVE is in Cisco IOS XR Software of Cisco, which Linux distributions and language package managers do not ship. The advisory of the vendor is in the references below.
Vulnpocalypse matches the package lists of Linux servers and containers against the Trivy vulnerability database, which does not list this product.
References
Advisories
- 20200205 Cisco IOS XR Software Cisco Discovery Protocol Format String Vulnerability tools.cisco.com · vendor advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2020-3118 cisa.gov · government resource
Other references
- http://packetstormsecurity.com/files/156203/Cisco-Discovery-Protocol-CDP-Remote-Device-Takeover.html packetstormsecurity.com
Source: the record CVE-2020-3118 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse