Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[ GLSA 200603-26 ] bsd-games: Local privilege escalation in tetris-bsd
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index News & Announcements
View previous topic :: View next topic  
Author Message
GLSA
Advocate
Advocate


Joined: 12 May 2004
Posts: 2663

PostPosted: Wed Mar 29, 2006 7:26 pm    Post subject: [ GLSA 200603-26 ] bsd-games: Local privilege escalation in Reply with quote

Gentoo Linux Security Advisory

Title: bsd-games: Local privilege escalation in tetris-bsd (GLSA 200603-26)
Severity: normal
Exploitable: local
Date: March 29, 2006
Updated: May 22, 2006
Bug(s): #122399
ID: 200603-26

Synopsis

tetris-bsd is prone to local privilege escalation vulnerabilities.

Background

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

Affected Packages

Package: games-misc/bsd-games
Vulnerable: < 2.17-r1
Unaffected: >= 2.17-r1
Architectures: All supported architectures


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:
Code:
# emerge --sync
# emerge --ask --oneshot --verbose ">=games-misc/bsd-games-2.17-r1"


References

CVE-2006-1539


Last edited by GLSA on Sat May 24, 2008 4:17 am; edited 4 times in total
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index News & Announcements All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum