Gentoo Archives: gentoo-announce

From: Sune Kloppenborg Jeppesen <jaervosz@g.o>
To: gentoo-announce@l.g.o
Cc: bugtraq@×××××××××××××.com, full-disclosure@××××××××××××.com, security-alerts@×××××××××××××.com
Subject: [gentoo-announce] [ GLSA 200411-17 ] mtink: Insecure tempfile handling
Date: Tue, 09 Nov 2004 19:58:55
Message-Id: 200411092050.50050.jaervosz@gentoo.org
1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
2 Gentoo Linux Security Advisory GLSA 200411-17
3 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
4 http://security.gentoo.org/
5 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
6
7 Severity: Normal
8 Title: mtink: Insecure tempfile handling
9 Date: November 09, 2004
10 Bugs: #70310
11 ID: 200411-17
12
13 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
14
15 Synopsis
16 ========
17
18 mtink is vulnerable to symlink attacks, potentially allowing a local
19 user to overwrite arbitrary files with the rights of the user running
20 the utility.
21
22 Background
23 ==========
24
25 mtink is a status monitor and inkjet cartridge changer for some Epson
26 printers.
27
28 Affected packages
29 =================
30
31 -------------------------------------------------------------------
32 Package / Vulnerable / Unaffected
33 -------------------------------------------------------------------
34 1 net-print/mtink < 1.0.5 >= 1.0.5
35
36 Description
37 ===========
38
39 Tavis Ormandy from Gentoo Linux discovered that mtink uses insecure
40 permissions on temporary files.
41
42 Impact
43 ======
44
45 A local attacker could create symbolic links in the temporary files
46 directory, pointing to a valid file somewhere on the filesystem. When
47 mtink is executed, this would result in the file being overwritten with
48 the rights of the user running the utility, which could be the root
49 user.
50
51 Workaround
52 ==========
53
54 There is no known workaround at this time.
55
56 Resolution
57 ==========
58
59 All mtink users should upgrade to the latest version:
60
61 # emerge --sync
62 # emerge --ask --oneshot --verbose ">=net-print/mtink-1.0.5"
63
64 Availability
65 ============
66
67 This GLSA and any updates to it are available for viewing at
68 the Gentoo Security Website:
69
70 http://security.gentoo.org/glsa/glsa-200411-17.xml
71
72 Concerns?
73 =========
74
75 Security is a primary focus of Gentoo Linux and ensuring the
76 confidentiality and security of our users machines is of utmost
77 importance to us. Any security concerns should be addressed to
78 security@g.o or alternatively, you may file a bug at
79 http://bugs.gentoo.org.
80
81 License
82 =======
83
84 Copyright 2004 Gentoo Foundation, Inc; referenced text
85 belongs to its owner(s).
86
87 The contents of this document are licensed under the
88 Creative Commons - Attribution / Share Alike license.
89
90 http://creativecommons.org/licenses/by-sa/2.0