Joined: 12 May 2004
|Posted: Wed Mar 29, 2006 7:26 pm Post subject: [ GLSA 200603-26 ] bsd-games: Local privilege escalation in
|Gentoo Linux Security Advisory
Title: bsd-games: Local privilege escalation in tetris-bsd (GLSA 200603-26)
Date: March 29, 2006
Updated: May 22, 2006
tetris-bsd is prone to local privilege escalation vulnerabilities.
bsd-games is a collection of NetBSD games ported to Linux.
Vulnerable: < 2.17-r1
Unaffected: >= 2.17-r1
Architectures: All supported architectures
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.
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.
Do not add untrusted users to the "games" group.
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"
Last edited by GLSA on Sat May 24, 2008 4:17 am; edited 4 times in total