Gentoo Archives: gentoo-announce

From: Stefan Behte <craig@g.o>
To: gentoo-announce@g.o
Cc: bugtraq@×××××××××××××.com, full-disclosure@××××××××××××××.uk, security-alerts@×××××××××××××.com
Subject: [gentoo-announce] [ GLSA 201001-05 ] net-snmp: Authorization bypass
Date: Wed, 13 Jan 2010 22:17:02
Message-Id: 4B4E43EB.3010808@gentoo.org
1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
2 Gentoo Linux Security Advisory GLSA 201001-05
3 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
4 http://security.gentoo.org/
5 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
6
7 Severity: Normal
8 Title: net-snmp: Authorization bypass
9 Date: January 13, 2010
10 Bugs: #250429
11 ID: 201001-05
12
13 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
14
15 Synopsis
16 ========
17
18 A remote attacker can bypass the tcp-wrappers client authorization in
19 net-snmp.
20
21 Background
22 ==========
23
24 net-snmp bundles software for generating and retrieving SNMP data.
25
26 Affected packages
27 =================
28
29 -------------------------------------------------------------------
30 Package / Vulnerable / Unaffected
31 -------------------------------------------------------------------
32 1 net-analyzer/net-snmp < 5.4.2.1-r1 >= 5.4.2.1-r1
33
34 Description
35 ===========
36
37 The netsnmp_udp_fmtaddr() function (snmplib/snmpUDPDomain.c), when
38 using TCP wrappers for client authorization, does not properly parse
39 hosts.allow rules.
40
41 Impact
42 ======
43
44 A remote, unauthenticated attacker could bypass the ACL filtering,
45 possibly resulting in the execution of arbitrary SNMP queries.
46
47 Workaround
48 ==========
49
50 If possible, protect net-snmp with custom iptables rules:
51
52 iptables -s [client] -d [host] -p udp --dport 161 -j ACCEPT
53 iptables -s 0.0.0.0/0 -d [host] -p udp --dport 161 -j DROP
54
55 Resolution
56 ==========
57
58 All net-snmp users should upgrade to the latest version:
59
60 # emerge --sync
61 # emerge --ask --oneshot --verbose ">=net-analyzer/net-snmp-5.4.2.1-r1"
62
63 References
64 ==========
65
66 [ 1 ] CVE-2008-6123
67 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-6123
68
69 Availability
70 ============
71
72 This GLSA and any updates to it are available for viewing at
73 the Gentoo Security Website:
74
75 http://security.gentoo.org/glsa/glsa-201001-05.xml
76
77 Concerns?
78 =========
79
80 Security is a primary focus of Gentoo Linux and ensuring the
81 confidentiality and security of our users machines is of utmost
82 importance to us. Any security concerns should be addressed to
83 security@g.o or alternatively, you may file a bug at
84 https://bugs.gentoo.org.
85
86 License
87 =======
88
89 Copyright 2010 Gentoo Foundation, Inc; referenced text
90 belongs to its owner(s).
91
92 The contents of this document are licensed under the
93 Creative Commons - Attribution / Share Alike license.
94
95 http://creativecommons.org/licenses/by-sa/2.5

Attachments

File name MIME type
signature.asc application/pgp-signature