Buffer overflow in Cisco IOS and Cisco IOS XE - CVE-2017-6740

 

Buffer overflow in Cisco IOS and Cisco IOS XE - CVE-2017-6740

Published: July 3, 2017 / Updated: March 8, 2022


Vulnerability identifier: #VU7294
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:A/U:Amber
CVE-ID: CVE-2017-6740
CWE-ID: CWE-120
Exploitation vector: Remote access
Exploit availability: The vulnerability is being exploited in the wild
Vendor: Cisco Systems, Inc
Affected software:
Cisco IOS
Cisco IOS XE

Detailed vulnerability description

The vulnerability allows a remote authenticated attacker to execute arbitrary code on the target system.

The weakness exists in the Simple Network Management Protocol (SNMP) subsystem due to buffer overflow when handling malicious input. A remote attacker can send specially crafted SNMP packet via IPv4 or IPv6, trigger memory corruption and execute arbitrary code on the target system.

Successful exploitation of the vulnerability results in system compromise.

How to mitigate CVE-2017-6740

The vulnerability is addressed in the following versions:
15.5(3)S5.24, 15.4(3)S7.7, 15.3(3)S9.18.

Sources