Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 118623 - games-emulation/xmame: buffer overflows and privilege escalation
Summary: games-emulation/xmame: buffer overflows and privilege escalation
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: High major
Assignee: Gentoo Games
URL: http://kerneltrap.org/node/6055
Whiteboard: B1 [noglsa] DerCorny
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-10 22:59 UTC by Stefan Cornelius (RETIRED)
Modified: 2006-01-11 05:38 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Cornelius (RETIRED) gentoo-dev 2006-01-10 22:59:37 UTC
Xmame buffer overflow, with a possibility of privilege escalation 
I. BACKGROUND
Xmame and xmess are ports of MAME, the Multiple Arcade Machine Emulator
 and MESS, the Multi Emulator Super System. They run primarily on Linux
 and various flavors of UNIX, although some other operating systems,
 such as BeOS, are supported to some degree.
II. DESCRIPTION
Several functions in src/fileio.c and src/unix/fileio.c did not handle
 large input propely. These can cause buffer overflow.
Most of the distros install xmame with suid root. There is a possibility
 for a local user to gain root privilege.
Exploitation requires an attacker to send a specially
 constructed input for these few arguments.
Comment 1 Stefan Cornelius (RETIRED) gentoo-dev 2006-01-10 23:02:19 UTC
you know whats coming next: please provide fixed packages, thx
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2006-01-10 23:08:35 UTC
Gentoo doesn't install xmame suid root.
Comment 3 SpanKY gentoo-dev 2006-01-11 05:29:31 UTC
yeah, as we've noted before, no game is allowed to be installed setuid root in Gentoo ... we have explicit post install checks for it

therefore, there is no security issue here
Comment 4 Stefan Cornelius (RETIRED) gentoo-dev 2006-01-11 05:38:28 UTC
Closing as invalid. Sorry for the trouble, next time i'll simply join your channel and ask before i open bugs :/