Skip to main content

Security Exposure

SNMPv1 and SNMPv2c notifications carry community strings in cleartext, which CISA alert TA17-156A identifies as open to sniffing and replay. MITRE ATT&CK lists SNMP on 162/TCP and UDP among services targeted by password guessing.

Hardening

  • Accept traps only from known device addresses through host or network ACLs.
  • Use SNMPv3 notifications with authentication and encryption.
  • Keep trap receivers on the management network, away from internet-facing interfaces.
  • Separate trap reception from accounts that have SNMP write access, as CISA advises.

Monitoring

Alert on traps from unknown sources and on sudden spikes in trap volume. Authentication-failure traps from devices show that an unrecognized system tried to query them.

SNMP trap Vulnerabilities

10 CVEs
CVECVSS
CVE-2025-20352KEV
Cisco IOS and IOS XE Software SNMP Denial of Service and Remote Code Execution Vulnerability
7.7
CVE-2017-6742KEV
Cisco IOS and IOS XE Software SNMP Remote Code Execution Vulnerability
8.8
CVE-2016-6366KEV
Cisco Adaptive Security Appliance (ASA) SNMP Buffer Overflow Vulnerability
8.8
CVE-2017-6736KEV
Cisco IOS and IOS XE Software SNMP Remote Code Execution Vulnerability
8.8
CVE-2017-6737KEV
Cisco IOS and IOS XE Software SNMP Remote Code Execution Vulnerability
8.8
CVE-2017-6740KEV
Cisco IOS and IOS XE Software SNMP Remote Code Execution Vulnerability
8.8
CVE-2017-6743KEV
Cisco IOS and IOS XE Software SNMP Remote Code Execution Vulnerability
8.8
CVE-2017-6739KEV
Cisco IOS and IOS XE Software SNMP Remote Code Execution Vulnerability
8.8
CVE-2017-6738KEV
Cisco IOS and IOS XE Software SNMP Remote Code Execution Vulnerability
8.8
CVE-2017-6744KEV
Cisco IOS Software SNMP Remote Code Execution Vulnerability
8.8

Frequently Asked Questions

What is the difference between port 161 and port 162?→

Agents listen on UDP 161 for requests from managers. Managers listen on UDP 162 for traps and other notifications sent by agents (RFC 3417).

Does every device need port 162 open?→

No. Only systems that receive notifications, such as SNMP managers, need to listen on UDP 162.

Which vulnerabilities affect the service on port 162?→

This database lists 10 CVEs related to SNMP trap, 10 of them confirmed as exploited by CISA. Examples: CVE-2025-20352, CVE-2017-6742, CVE-2016-6366, CVE-2017-6736.

Port assignments from the IANA Service Name and Transport Protocol Port Number Registry. Services can be configured to run on any port, so traffic on port 162 is not guaranteed to be SNMP trap. Exploited-in-the-wild data from the CISA KEV catalog (CC0).