Gentoo Archives: gentoo-announce

From: Sean Amoss <ackle@g.o>
To: gentoo-announce@g.o
Subject: [gentoo-announce] [ GLSA 201203-20 ] Logwatch: Arbitrary code execution
Date: Wed, 28 Mar 2012 11:01:40
Message-Id: 4F72EDA6.6010907@gentoo.org
1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
2 Gentoo Linux Security Advisory GLSA 201203-20
3 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
4 http://security.gentoo.org/
5 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
6
7 Severity: High
8 Title: Logwatch: Arbitrary code execution
9 Date: March 28, 2012
10 Bugs: #356387
11 ID: 201203-20
12
13 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
14
15 Synopsis
16 ========
17
18 A vulnerability in Logwatch might allow remote attackers to execute
19 arbitrary code.
20
21 Background
22 ==========
23
24 Logwatch analyzes and reports on system logs.
25
26 Affected packages
27 =================
28
29 -------------------------------------------------------------------
30 Package / Vulnerable / Unaffected
31 -------------------------------------------------------------------
32 1 sys-apps/logwatch < 7.4.0 >= 7.4.0
33
34 Description
35 ===========
36
37 logwatch.pl does not properly sanitize log filenames against shell
38 metacharacters before passing them to the "system()" function.
39
40 Impact
41 ======
42
43 A remote attacker could pass a specially crafted log filename to
44 Logwatch, possibly resulting in execution of arbitrary code with root
45 privileges or a Denial of Service condition.
46
47 Workaround
48 ==========
49
50 There is no known workaround at this time.
51
52 Resolution
53 ==========
54
55 All Logwatch users should upgrade to the latest version:
56
57 # emerge --sync
58 # emerge --ask --oneshot --verbose ">=sys-apps/logwatch-7.4.0"
59
60 References
61 ==========
62
63 [ 1 ] CVE-2011-1018
64 http://nvd.nist.gov/nvd.cfm?cvename=CVE-2011-1018
65
66 Availability
67 ============
68
69 This GLSA and any updates to it are available for viewing at
70 the Gentoo Security Website:
71
72 http://security.gentoo.org/glsa/glsa-201203-20.xml
73
74 Concerns?
75 =========
76
77 Security is a primary focus of Gentoo Linux and ensuring the
78 confidentiality and security of our users' machines is of utmost
79 importance to us. Any security concerns should be addressed to
80 security@g.o or alternatively, you may file a bug at
81 https://bugs.gentoo.org.
82
83 License
84 =======
85
86 Copyright 2012 Gentoo Foundation, Inc; referenced text
87 belongs to its owner(s).
88
89 The contents of this document are licensed under the
90 Creative Commons - Attribution / Share Alike license.
91
92 http://creativecommons.org/licenses/by-sa/2.5

Attachments

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