1 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
2 |
Gentoo Linux Security Advisory GLSA 200603-26 |
3 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
4 |
http://security.gentoo.org/ |
5 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
6 |
|
7 |
Severity: Normal |
8 |
Title: bsd-games: Local privilege escalation in tetris-bsd |
9 |
Date: March 29, 2006 |
10 |
Bugs: #122399 |
11 |
ID: 200603-26 |
12 |
|
13 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
14 |
|
15 |
Synopsis |
16 |
======== |
17 |
|
18 |
tetris-bsd is prone to local privilege escalation vulnerabilities. |
19 |
|
20 |
Background |
21 |
========== |
22 |
|
23 |
bsd-games is a collection of NetBSD games ported to Linux. |
24 |
|
25 |
Affected packages |
26 |
================= |
27 |
|
28 |
------------------------------------------------------------------- |
29 |
Package / Vulnerable / Unaffected |
30 |
------------------------------------------------------------------- |
31 |
1 games-misc/bsd-games < 2.17-r1 >= 2.17-r1 |
32 |
|
33 |
Description |
34 |
=========== |
35 |
|
36 |
Tavis Ormandy of the Gentoo Linux Security Audit Team discovered that |
37 |
the checkscores() function in scores.c reads in the data from the |
38 |
/var/games/tetris-bsd.scores file without validation, rendering it |
39 |
vulnerable to buffer overflows and incompatible with the system used |
40 |
for managing games on Gentoo Linux. As a result, it cannot be played |
41 |
securely on systems with multiple users. Please note that this is |
42 |
probably a Gentoo-specific issue. |
43 |
|
44 |
Impact |
45 |
====== |
46 |
|
47 |
A local user who is a member of group "games" may be able to modify the |
48 |
tetris-bsd.scores file to trigger the execution of arbitrary code with |
49 |
the privileges of other players. |
50 |
|
51 |
Workaround |
52 |
========== |
53 |
|
54 |
Do not add untrusted users to the "games" group. |
55 |
|
56 |
Resolution |
57 |
========== |
58 |
|
59 |
All bsd-games users are advised to update to the latest version: |
60 |
|
61 |
# emerge --sync |
62 |
# emerge --ask --oneshot --verbose ">=games-misc/bsd-games-2.17-r1" |
63 |
|
64 |
Availability |
65 |
============ |
66 |
|
67 |
This GLSA and any updates to it are available for viewing at |
68 |
the Gentoo Security Website: |
69 |
|
70 |
http://security.gentoo.org/glsa/glsa-200603-26.xml |
71 |
|
72 |
Concerns? |
73 |
========= |
74 |
|
75 |
Security is a primary focus of Gentoo Linux and ensuring the |
76 |
confidentiality and security of our users machines is of utmost |
77 |
importance to us. Any security concerns should be addressed to |
78 |
security@g.o or alternatively, you may file a bug at |
79 |
http://bugs.gentoo.org. |
80 |
|
81 |
License |
82 |
======= |
83 |
|
84 |
Copyright 2006 Gentoo Foundation, Inc; referenced text |
85 |
belongs to its owner(s). |
86 |
|
87 |
The contents of this document are licensed under the |
88 |
Creative Commons - Attribution / Share Alike license. |
89 |
|
90 |
http://creativecommons.org/licenses/by-sa/2.0 |