1 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
2 |
Gentoo Linux Security Advisory GLSA 200703-20 |
3 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
4 |
http://security.gentoo.org/ |
5 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
6 |
|
7 |
Severity: Low |
8 |
Title: LSAT: Insecure temporary file creation |
9 |
Date: March 18, 2007 |
10 |
Bugs: #159542 |
11 |
ID: 200703-20 |
12 |
|
13 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
14 |
|
15 |
Synopsis |
16 |
======== |
17 |
|
18 |
LSAT insecurely creates temporary files which can lead to symlink |
19 |
attacks allowing a local user to overwrite arbitrary files. |
20 |
|
21 |
Background |
22 |
========== |
23 |
|
24 |
The Linux Security Auditing Tool (LSAT) is a post install security |
25 |
auditor which checks many system configurations and local network |
26 |
settings on the system for common security or configuration errors and |
27 |
for packages that are not needed. |
28 |
|
29 |
Affected packages |
30 |
================= |
31 |
|
32 |
------------------------------------------------------------------- |
33 |
Package / Vulnerable / Unaffected |
34 |
------------------------------------------------------------------- |
35 |
1 app-admin/lsat <= 0.9.2 Vulnerable! |
36 |
------------------------------------------------------------------- |
37 |
NOTE: Certain packages are still vulnerable. Users should migrate |
38 |
to another package if one is available or wait for the |
39 |
existing packages to be marked stable by their |
40 |
architecture maintainers. |
41 |
|
42 |
Description |
43 |
=========== |
44 |
|
45 |
LSAT insecurely writes in /tmp with a predictable filename. |
46 |
|
47 |
Impact |
48 |
====== |
49 |
|
50 |
A local attacker could create symbolic links in the temporary files |
51 |
directory, pointing to a valid file somewhere on the filesystem. When |
52 |
the LSAT script is executed, this would result in the file being |
53 |
overwritten with the rights of the user running the software, which |
54 |
could be the root user. |
55 |
|
56 |
Workaround |
57 |
========== |
58 |
|
59 |
There is no known workaround at this time. |
60 |
|
61 |
Resolution |
62 |
========== |
63 |
|
64 |
Since LSAT is not actively maintained anymore, this package has been |
65 |
masked. All LSAT users are advised to unmerge it. |
66 |
|
67 |
|
68 |
# emerge --ask --unmerge "app-admin/lsat" |
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-200703-20.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 2007 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 |