GLSA-201001-05 : net-snmp: Authorization bypass

Medium Nessus Plugin ID 44894

Synopsis

The remote Gentoo host is missing one or more security-related patches.

Description

The remote host is affected by the vulnerability described in GLSA-201001-05 (net-snmp: Authorization bypass)

The netsnmp_udp_fmtaddr() function (snmplib/snmpUDPDomain.c), when using TCP wrappers for client authorization, does not properly parse hosts.allow rules.
Impact :

A remote, unauthenticated attacker could bypass the ACL filtering, possibly resulting in the execution of arbitrary SNMP queries.
Workaround :

If possible, protect net-snmp with custom iptables rules:
iptables -s [client] -d [host] -p udp --dport 161 -j ACCEPT iptables -s 0.0.0.0/0 -d [host] -p udp --dport 161 -j DROP

Solution

All net-snmp users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=net-analyzer/net-snmp-5.4.2.1-r1'

See Also

https://security.gentoo.org/glsa/201001-05

Plugin Details

Severity: Medium

ID: 44894

File Name: gentoo_GLSA-201001-05.nasl

Version: 1.8

Type: local

Published: 2010/02/25

Updated: 2018/07/11

Dependencies: 12634

Risk Information

Risk Factor: Medium

CVSS v2.0

Base Score: 5

Temporal Score: 3.7

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

Temporal Vector: CVSS2#E:U/RL:OF/RC:C

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:net-snmp, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Exploit Available: false

Exploit Ease: No known exploits are available

Patch Publication Date: 2010/01/13

Reference Information

CVE: CVE-2008-6123

BID: 33755

GLSA: 201001-05

CWE: 20