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