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

medium Nessus Plugin ID 44894

Language:

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.10

Type: local

Published: 2/25/2010

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.2

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.7

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

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 Ease: No known exploits are available

Patch Publication Date: 1/13/2010

Reference Information

CVE: CVE-2008-6123

BID: 33755

CWE: 20

GLSA: 201001-05