CVE-2017-12240Cisco IOS and IOS XE Software DHCP Remote Code Execution Vulnerability
CVSS score
9.8
Critical
CVSS 3.1 from NVD
Exploit probability (EPSS)
13.8%
13.8% chance of exploitation in the next 30 days, higher than 96.6% of all CVEs.
CISA KEV
Actively exploited
Added to KEV on 3 Mar 2022.
US federal deadline to fix: 24 Mar 2022.
Official description
The DHCP relay subsystem of Cisco IOS 12.2 through 15.6 and Cisco IOS XE Software contains a vulnerability that could allow an unauthenticated, remote attacker to execute arbitrary code and gain full control of an affected system. The attacker could also cause an affected system to reload, resulting in a denial of service (DoS) condition. The vulnerability is due to a buffer overflow condition in the DHCP relay subsystem of the affected software. An attacker could exploit this vulnerability by sending a crafted DHCP Version 4 (DHCPv4) packet to an affected system. A successful exploit could allow the attacker to execute arbitrary code and gain full control of the affected system or cause the affected system to reload, resulting in a DoS condition. Cisco Bug IDs: CSCsm45390, CSCuw77959.
Source: NVD · CNA: psirt@cisco.com
How to fix it, step by step
Treat it as urgent
Attackers are already exploiting this flaw: CISA added it to its Known Exploited Vulnerabilities list on 3 Mar 2022.
US federal agencies must fix it by 24 Mar 2022. It's a sensible deadline for everyone else too.
CISA's full instruction
Apply updates per vendor instructions.
Check whether you're affected
Find every system running Cisco Ios and compare its version with the affected versions.
Apply the vendor's fix
The official record doesn't name a fixed version. The vendor's advisory describes the fix:
Check for signs of compromise
Updating closes the flaw but doesn't remove an attacker who got in earlier. Review affected systems for unknown accounts, unusual logins and configuration changes, and use any indicators of compromise the vendor or CISA publish.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected products
| Affected products | Versions |
|---|---|
| Cisco Ios | ≥ 12.2, ≤ 15.6 |
Weakness
Timeline
- Published:
- Added to CISA KEV:
- Last modified:
Frequently asked questions
Is CVE-2017-12240 being exploited?
Yes. CISA added CVE-2017-12240 to its Known Exploited Vulnerabilities catalog on 3 Mar 2022, which means there is evidence of exploitation in the wild. Its EPSS score estimates a 13.8% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2017-12240?
CVE-2017-12240 has a CVSS 3.1 base score of 9.8 (critical).
Which versions are affected?
Cisco Ios (≥ 12.2, ≤ 15.6)
Is there a patch for CVE-2017-12240?
The official record links to vendor advisories or patches; see “What to do” above.
References
- quickview.cloudapps.cisco.com/quickview/bug/CSCsm45390(Vendor Advisory)
- quickview.cloudapps.cisco.com/quickview/bug/CSCuw77959(Vendor Advisory)
- tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20170927-dhcp(Vendor Advisory)
- www.securityfocus.com/bid/101034(Broken Link, Third Party Advisory, VDB Entry)
- www.securitytracker.com/id/1039445(Broken Link, Third Party Advisory, VDB Entry)
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2017-12240(US Government Resource)
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.