LiveBreach Intelligence: data breaches, leaks & ransomware, tracked as they surfaceOngoing protection: GalaxyWarden →
Recent BreachesData breach tracker

CVE-2017-12240: Cisco IOS and IOS XE Software DHCP Remote Code Execution Vulnerability

RBRecent Breaches Vulnerability Intelligence·Mar 3, 2022
High⚠ Actively exploited (CISA KEV)
High
Severity
Active
CISA KEV
No
Ransomware use
Mar 24, 2022
Patch deadline
⚠ Exploited in the wild. CISA added CVE-2017-12240 to its Known Exploited Vulnerabilities catalog on Mar 3, 2022, with a federal patch deadline of Mar 24, 2022 — meaning attackers are actively using it. If you run the affected software, patch it immediately.

The Dynamic Host Configuration Protocol (DHCP) relay subsystem of Cisco IOS and Cisco IOS XE Software contains a vulnerability that could allow an unauthenticated, remote attacker to execute arbitrary…

CVE-2017-12240 is a vulnerability in the DHCP relay subsystem of Cisco IOS and IOS XE Software. An unauthenticated remote attacker could exploit it to execute arbitrary code and take full control of an affected device. Network infrastructure that handles DHCP relay is a high-value target; compromise can give an attacker a foothold deep inside the network.

Public detail is limited to the CISA description and the CWE classification. Confirm exact affected releases, fixed versions, and configuration prerequisites against the vendor advisory before acting.

How it works

The weakness is classified as CWE-20 (Improper Input Validation). In the DHCP relay path, the software fails to properly validate certain input before processing it. An attacker who can send crafted DHCP-related traffic to a vulnerable device may trigger memory corruption or similar unsafe handling that leads to arbitrary code execution with the privileges of the affected process—typically enough to gain full control of the system.

Because the attack is described as unauthenticated and remote, the attacker does not need valid credentials or prior access; reachability to the DHCP relay service is the primary prerequisite. Exact packet formats and exploitation mechanics are not provided in the public summary; treat any proof-of-concept claims with caution and rely on the vendor’s technical description.

Am I affected? How to find it in your systems

Cisco IOS and IOS XE commonly run on enterprise routers, switches, and other network devices that act as DHCP relays between clients and DHCP servers. Inventory every device running these operating systems, especially those configured for DHCP relay (ip helper-address or equivalent).

How to remediate

Patching is the primary remediation. Apply the software updates Cisco released for this vulnerability, following the vendor’s installation and reload guidance. CISA’s required action is simply to apply updates per vendor instructions.

If you can't patch immediately

Until the vendor update can be applied, reduce exposure with compensating controls:

These measures lower risk but do not eliminate it; prioritize the official patch.

If your data may have been exposed

Actively exploited remote-code-execution flaws on network devices can lead to broader compromise and data theft. Ransomware use specifically tied to this CVE is not documented. If you suspect intrusion, follow your incident-response process: isolate affected devices, preserve logs, and hunt for lateral movement. As a quick personal check, you can run a free exposure scan of your email address against known breach data to see whether your credentials have appeared in prior incidents.

AICompiled with AI assistance from public sources and published under our editorial standards.

Details

AffectedCisco · IOS and IOS XE Software
WeaknessCWE-20
Added to CISA KEVMar 3, 2022
Federal patch deadlineMar 24, 2022
Known ransomware useNot documented
Check if your data is exposed →

Official records: NVD · CISA KEV

← All actively-exploited vulnerabilities