Advisory Details

May 1st, 2025

Cisco IOS XE SNMP GET-NEXT ctspIpSgtValue Stack-based Buffer Overflow Remote Code Execution Vulnerability

ZDI-25-278
ZDI-CAN-25021

CVE ID CVE-2025-20176
CVSS SCORE 8.8, AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
AFFECTED VENDORS Cisco
AFFECTED PRODUCTS IOS
VULNERABILITY DETAILS

This vulnerability allows remote attackers to execute arbitrary code on affected installations of Cisco IOS XE. Authentication is required to exploit this vulnerability.

The specific flaw exists within the SNMP service, which listens on UDP port 161 by default. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a fixed-length stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of the device.

ADDITIONAL DETAILS Cisco has issued an update to correct this vulnerability. More details can be found at:
https://sec.cloudapps.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-snmp-dos-sdxnSUcW
DISCLOSURE TIMELINE
  • 2024-10-08 - Vulnerability reported to vendor
  • 2025-05-01 - Coordinated public release of advisory
  • 2025-05-01 - Advisory Updated
CREDIT leg00m
BACK TO ADVISORIES