FreeBSD : net-snmp -- DoS for SNMP agent via crafted GETBULK request (daf045d7-b211-11dd-a987-000c29ca8953)

medium Nessus Plugin ID 34770

Synopsis

The remote FreeBSD host is missing one or more security-related updates.

Description

Wes Hardaker reports through sourceforge.net forum :

SECURITY ISSUE: A bug in the getbulk handling code could let anyone with even minimal access crash the agent. If you have open access to your snmp agents (bad bad bad; stop doing that!) or if you don't trust everyone that does have access to your agents you should updated immediately to prevent potential denial of service attacks.

Description at cve.mitre.org additionally clarifies :

Integer overflow in the netsnmp_create_subtree_cache function in agent/snmp_agent.c in net-snmp 5.4 before 5.4.2.1, 5.3 before 5.3.2.3, and 5.2 before 5.2.5.1 allows remote attackers to cause a denial of service (crash) via a crafted SNMP GETBULK request, which triggers a heap-based buffer overflow, related to the number of responses or repeats.

Solution

Update the affected packages.

See Also

https://sourceforge.net/p/legacy_/forum/forum.php?forum_id=882903

https://www.openwall.com/lists/oss-security/2008/10/31/1

http://www.nessus.org/u?38116fd5

http://www.nessus.org/u?13141554

Plugin Details

Severity: Medium

ID: 34770

File Name: freebsd_pkg_daf045d7b21111dda987000c29ca8953.nasl

Version: 1.18

Type: local

Published: 11/14/2008

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: Medium

Base Score: 5

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:P

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:net-snmp, cpe:/o:freebsd:freebsd

Required KB Items: Host/local_checks_enabled, Host/FreeBSD/release, Host/FreeBSD/pkg_info

Patch Publication Date: 11/14/2008

Vulnerability Publication Date: 10/12/2008

Reference Information

CVE: CVE-2008-4309

CWE: 20