1 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
2 |
Gentoo Linux Security Advisory GLSA 200509-21 |
3 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
4 |
http://security.gentoo.org/ |
5 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
6 |
|
7 |
Severity: Normal |
8 |
Title: Hylafax: Insecure temporary file creation in xferfaxstats |
9 |
script |
10 |
Date: September 30, 2005 |
11 |
Bugs: #106882 |
12 |
ID: 200509-21 |
13 |
|
14 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
15 |
|
16 |
Synopsis |
17 |
======== |
18 |
|
19 |
Hylafax is vulnerable to linking attacks, potentially allowing a local |
20 |
user to overwrite arbitrary files. |
21 |
|
22 |
Background |
23 |
========== |
24 |
|
25 |
Hylafax is a client-server fax package for class 1 and 2 fax modems. |
26 |
|
27 |
Affected packages |
28 |
================= |
29 |
|
30 |
------------------------------------------------------------------- |
31 |
Package / Vulnerable / Unaffected |
32 |
------------------------------------------------------------------- |
33 |
1 net-misc/hylafax < 4.2.2 *>= 4.2.0-r3 |
34 |
*>= 4.2.1-r2 |
35 |
>= 4.2.2 |
36 |
|
37 |
Description |
38 |
=========== |
39 |
|
40 |
Javier Fernandez-Sanguino has discovered that xferfaxstats cron script |
41 |
supplied by Hylafax insecurely creates temporary files with predictable |
42 |
filenames. |
43 |
|
44 |
Impact |
45 |
====== |
46 |
|
47 |
A local attacker could create symbolic links in the temporary file |
48 |
directory, pointing to a valid file somewhere on the filesystem. When |
49 |
the xferfaxstats script of Hylafax is executed, this would result in |
50 |
the file being overwritten with the rights of the user running the |
51 |
script, which typically is the root user. |
52 |
|
53 |
Workaround |
54 |
========== |
55 |
|
56 |
There is no known workaround at this time. |
57 |
|
58 |
Resolution |
59 |
========== |
60 |
|
61 |
All Hylafax users should upgrade to the latest version: |
62 |
|
63 |
# emerge --sync |
64 |
# emerge --ask --oneshot --verbose net-misc/hylafax |
65 |
|
66 |
References |
67 |
========== |
68 |
|
69 |
[ 1 ] Original bug report |
70 |
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=329384 |
71 |
|
72 |
Availability |
73 |
============ |
74 |
|
75 |
This GLSA and any updates to it are available for viewing at |
76 |
the Gentoo Security Website: |
77 |
|
78 |
http://security.gentoo.org/glsa/glsa-200509-21.xml |
79 |
|
80 |
Concerns? |
81 |
========= |
82 |
|
83 |
Security is a primary focus of Gentoo Linux and ensuring the |
84 |
confidentiality and security of our users machines is of utmost |
85 |
importance to us. Any security concerns should be addressed to |
86 |
security@g.o or alternatively, you may file a bug at |
87 |
http://bugs.gentoo.org. |
88 |
|
89 |
License |
90 |
======= |
91 |
|
92 |
Copyright 2005 Gentoo Foundation, Inc; referenced text |
93 |
belongs to its owner(s). |
94 |
|
95 |
The contents of this document are licensed under the |
96 |
Creative Commons - Attribution / Share Alike license. |
97 |
|
98 |
http://creativecommons.org/licenses/by-sa/2.0 |