Lucene search

K
gentooGentoo FoundationGLSA-200603-26
HistoryMar 29, 2006 - 12:00 a.m.

bsd-games: Local privilege escalation in tetris-bsd

2006-03-2900:00:00
Gentoo Foundation
security.gentoo.org
21

7.5 High

CVSS2

Access Vector

Access Complexity

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:P/I:P/A:P

0.002 Low

EPSS

Percentile

58.9%

Background

bsd-games is a collection of NetBSD games ported to Linux.

Description

Tavis Ormandy of the Gentoo Linux Security Audit Team discovered that the checkscores() function in scores.c reads in the data from the /var/games/tetris-bsd.scores file without validation, rendering it vulnerable to buffer overflows and incompatible with the system used for managing games on Gentoo Linux. As a result, it cannot be played securely on systems with multiple users. Please note that this is probably a Gentoo-specific issue.

Impact

A local user who is a member of group “games” may be able to modify the tetris-bsd.scores file to trigger the execution of arbitrary code with the privileges of other players.

Workaround

Do not add untrusted users to the “games” group.

Resolution

All bsd-games users are advised to update to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=games-misc/bsd-games-2.17-r1"
OSVersionArchitecturePackageVersionFilename
Gentooanyallgames-misc/bsd-games< 2.17-r1UNKNOWN

7.5 High

CVSS2

Access Vector

Access Complexity

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:P/I:P/A:P

0.002 Low

EPSS

Percentile

58.9%