Gentoo Archives: gentoo-announce

From: Sune Kloppenborg Jeppesen <jaervosz@g.o>
To: gentoo-announce@l.g.o
Subject: [gentoo-announce] [ GLSA 200611-14 ] TORQUE: Insecure temproary file creation
Date: Tue, 21 Nov 2006 14:40:10
Message-Id: 200611211509.46316.jaervosz@gentoo.org
1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
2 Gentoo Linux Security Advisory GLSA 200611-14
3 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
4 http://security.gentoo.org/
5 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
6
7 Severity: High
8 Title: TORQUE: Insecure temproary file creation
9 Date: November 20, 2006
10 Bugs: #152104
11 ID: 200611-14
12
13 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
14
15 Synopsis
16 ========
17
18 TORQUE creates temporary files in an insecure manner which could lead
19 to the execution of arbitrary code with elevated privileges.
20
21 Background
22 ==========
23
24 TORQUE is a resource manager providing control over batch jobs and
25 distributed compute nodes.
26
27 Affected packages
28 =================
29
30 -------------------------------------------------------------------
31 Package / Vulnerable / Unaffected
32 -------------------------------------------------------------------
33 1 sys-cluster/torque < 2.1.2-r2 >= 2.1.2-r2
34
35 Description
36 ===========
37
38 TORQUE creates temporary files with predictable names. Please note that
39 the TORQUE package shipped in Gentoo Portage is not vulnerable in the
40 default configuration. Only systems with more permissive access rights
41 to the spool directory are vulnerable.
42
43 Impact
44 ======
45
46 A local attacker could create links in the temporary file directory,
47 pointing to a valid file somewhere on the filesystem. This could lead
48 to the execution of arbitrary code with elevated privileges.
49
50 Workaround
51 ==========
52
53 Ensure that untrusted users don't have write access to the spool
54 directory.
55
56 Resolution
57 ==========
58
59 All TORQUE users should upgrade to the latest version:
60
61 # emerge --sync
62 # emerge --ask --oneshot --verbose ">=sys-cluster/torque-2.1.2-r2"
63
64 References
65 ==========
66
67 [ 1 ] CVE-2006-5677
68 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-5677
69
70 Availability
71 ============
72
73 This GLSA and any updates to it are available for viewing at
74 the Gentoo Security Website:
75
76 http://security.gentoo.org/glsa/glsa-200611-14.xml
77
78 Concerns?
79 =========
80
81 Security is a primary focus of Gentoo Linux and ensuring the
82 confidentiality and security of our users machines is of utmost
83 importance to us. Any security concerns should be addressed to
84 security@g.o or alternatively, you may file a bug at
85 http://bugs.gentoo.org.
86
87 License
88 =======
89
90 Copyright 2006 Gentoo Foundation, Inc; referenced text
91 belongs to its owner(s).
92
93 The contents of this document are licensed under the
94 Creative Commons - Attribution / Share Alike license.
95
96 http://creativecommons.org/licenses/by-sa/2.5