1 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
2 |
Gentoo Linux Security Advisory GLSA 200510-01 |
3 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
4 |
http://security.gentoo.org/ |
5 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
6 |
|
7 |
Severity: Normal |
8 |
Title: gtkdiskfree: Insecure temporary file creation |
9 |
Date: October 03, 2005 |
10 |
Bugs: #104565 |
11 |
ID: 200510-01 |
12 |
|
13 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
14 |
|
15 |
Synopsis |
16 |
======== |
17 |
|
18 |
gtkdiskfree is vulnerable to symlink attacks, potentially allowing a |
19 |
local user to overwrite arbitrary files. |
20 |
|
21 |
Background |
22 |
========== |
23 |
|
24 |
gtkdiskfree is a GTK-based GUI to show free disk space. |
25 |
|
26 |
Affected packages |
27 |
================= |
28 |
|
29 |
------------------------------------------------------------------- |
30 |
Package / Vulnerable / Unaffected |
31 |
------------------------------------------------------------------- |
32 |
1 app-admin/gtkdiskfree < 1.9.3-r1 >= 1.9.3-r1 |
33 |
|
34 |
Description |
35 |
=========== |
36 |
|
37 |
Eric Romang discovered that gtkdiskfree insecurely creates a |
38 |
predictable temporary file to handle command output. |
39 |
|
40 |
Impact |
41 |
====== |
42 |
|
43 |
A local attacker could create a symbolic link in the temporary files |
44 |
directory, pointing to a valid file somewhere on the filesystem. When |
45 |
gtkdiskfree is executed, this would result in the file being |
46 |
overwritten with the rights of the user running the application. |
47 |
|
48 |
Workaround |
49 |
========== |
50 |
|
51 |
There is no known workaround at this time. |
52 |
|
53 |
Resolution |
54 |
========== |
55 |
|
56 |
All gtkdiskfree users should upgrade to the latest version: |
57 |
|
58 |
# emerge --sync |
59 |
# emerge --ask --oneshot --verbose ">=app-admin/gtkdiskfree-1.9.3-r1" |
60 |
|
61 |
References |
62 |
========== |
63 |
|
64 |
[ 1 ] CAN-2005-2918 |
65 |
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-2918 |
66 |
[ 2 ] Original Advisory |
67 |
http://www.zataz.net/adviso/gtkdiskfree-09052005.txt |
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-200510-01.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 |
http://bugs.gentoo.org. |
85 |
|
86 |
License |
87 |
======= |
88 |
|
89 |
Copyright 2005 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.0 |