SecurityTracker.com
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


 


Category:   Application (Game)  >   XGalaga Vendors:   Rumsey, Joe
(Debian Issues Fix) XGalaga Buffer Overflow May Let Local Users Gain Elevated Privileges
SecurityTracker Alert ID:  1007082
SecurityTracker URL:  http://securitytracker.com/id/1007082
CVE Reference:   CVE-2003-0454   (Links to External Site)
Date:  Jun 29 2003
Impact:   Execution of arbitrary code via local system, User access via local system
Fix Available:  Yes  Vendor Confirmed:  Yes  
Version(s): 2.0
Description:   A buffer overflow vulnerability was reported in the XGalaga game. A local user may be able to execute arbitrary code with 'games' group privileges.

Steve Kemp reported that the software does not check the length of the HOME environment variable. A local user can set a specially crafted value for the variable to trigger a buffer overflow in 'highscore.c'. It may be possible to execute arbitrary code (but the author of the report was unable to confirm that). If arbitrary code execution can be achieved, the code will execute with 'games' group privileges.

A demonstration exploit is provided:

skx@hell:$ export HOME=`perl -e 'print "x" x 500'`

Impact:   A local user may be able to obtain 'games' group privileges.
Solution:   Debian has released a fix for the stable distribution (woody) in version 2.0.34-19woody1 and for the unstable distribution (sid) in version 2.0.34-22.

Debian GNU/Linux 3.0 alias woody:

Source archives:

http://security.debian.org/pool/updates/main/x/xgalaga/xgalaga_2.0.34-19woody1.dsc
Size/MD5 checksum: 576 746a62bbc0e1fe3e402ebf0baf7d409f
http://security.debian.org/pool/updates/main/x/xgalaga/xgalaga_2.0.34-19woody1.diff.gz
Size/MD5 checksum: 33875 cca65c5c025fe964e574ed286bf1a48e
http://security.debian.org/pool/updates/main/x/xgalaga/xgalaga_2.0.34.orig.tar.gz
Size/MD5 checksum: 314189 9f7ee685e9c4741b5f0edc3f91df9510

Alpha architecture:

http://security.debian.org/pool/updates/main/x/xgalaga/xgalaga_2.0.34-19woody1_alpha.deb
Size/MD5 checksum: 208352 2ee48a6c41ed2912f9c04b7e5bab0b2f

ARM architecture:

http://security.debian.org/pool/updates/main/x/xgalaga/xgalaga_2.0.34-19woody1_arm.deb
Size/MD5 checksum: 198666 3bba4b2486e3c48f6d116f55b521180d

Intel IA-32 architecture:

http://security.debian.org/pool/updates/main/x/xgalaga/xgalaga_2.0.34-19woody1_i386.deb
Size/MD5 checksum: 191654 4fd57335930cb976e93b48993fc159e0

Intel IA-64 architecture:

http://security.debian.org/pool/updates/main/x/xgalaga/xgalaga_2.0.34-19woody1_ia64.deb
Size/MD5 checksum: 225428 0030ed8957fda5d7787415deceb05b41

HP Precision architecture:

http://security.debian.org/pool/updates/main/x/xgalaga/xgalaga_2.0.34-19woody1_hppa.deb
Size/MD5 checksum: 211990 8877bd894336e2b4eeae5e90bb76bae9

Motorola 680x0 architecture:

http://security.debian.org/pool/updates/main/x/xgalaga/xgalaga_2.0.34-19woody1_m68k.deb
Size/MD5 checksum: 192832 5edfdbf20d05364609abd78121e86839

Big endian MIPS architecture:

http://security.debian.org/pool/updates/main/x/xgalaga/xgalaga_2.0.34-19woody1_mips.deb
Size/MD5 checksum: 205460 928639b6561e32e4e8f7820dbae789ed

Little endian MIPS architecture:

http://security.debian.org/pool/updates/main/x/xgalaga/xgalaga_2.0.34-19woody1_mipsel.deb
Size/MD5 checksum: 202588 27e65f0489cee88c3b2af603764ae66f

PowerPC architecture:

http://security.debian.org/pool/updates/main/x/xgalaga/xgalaga_2.0.34-19woody1_powerpc.deb
Size/MD5 checksum: 199984 f0baf858ea5f44368fe14fceb581862f

IBM S/390 architecture:

http://security.debian.org/pool/updates/main/x/xgalaga/xgalaga_2.0.34-19woody1_s390.deb
Size/MD5 checksum: 200876 a816f3a90931f141ed0d0450d77feb44

Sun Sparc architecture:

http://security.debian.org/pool/updates/main/x/xgalaga/xgalaga_2.0.34-19woody1_sparc.deb
Size/MD5 checksum: 205648 ce754d6e1665737c7160a14ca47d21f8

Vendor URL:  www.debian.org/security/ (Links to External Site)
Cause:   Boundary error
Underlying OS:  Linux (Debian)
Underlying OS Comments:  3.0

Message History:   This archive entry is a follow-up to the message listed below.
Jun 29 2003 XGalaga Buffer Overflow May Let Local Users Gain Elevated Privileges



 Source Message Contents

Subject:  [SECURITY] [DSA-334-1] New xgalaga packages fix buffer overflow


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

- --------------------------------------------------------------------------
Debian Security Advisory DSA 334-1                     security@debian.org
http://www.debian.org/security/                             Matt Zimmerman
June 28th, 2003                         http://www.debian.org/security/faq
- --------------------------------------------------------------------------

Package        : xgalaga
Vulnerability  : buffer overflows
Problem-Type   : local
Debian-specific: no
CVE Ids        : CAN-2003-0454

Steve Kemp discovered several buffer overflows in xgalaga, a game,
which can be triggered by a long HOME environment variable.  This
vulnerability could be exploited by a local attacker to gain gid
'games'.

For the stable distribution (woody) this problem has been fixed in
version 2.0.34-19woody1.

For the unstable distribution (sid) this problem is fixed in version
2.0.34-22.

We recommend that you update your xgalaga package.

Upgrade Instructions
- --------------------

wget url
        will fetch the file for you
dpkg -i file.deb
        will install the referenced file.

If you are using the apt-get package manager, use the line for
sources.list as given below:

apt-get update
        will update the internal database
apt-get upgrade
        will install corrected packages

You may use an automated update by adding the resources from the
footer to the proper configuration.

Debian GNU/Linux 3.0 alias woody
- --------------------------------

  Source archives:

    http://security.debian.org/pool/updates/main/x/xgalaga/xgalaga_2.0.34-19woody1.dsc
      Size/MD5 checksum:      576 746a62bbc0e1fe3e402ebf0baf7d409f
    http://security.debian.org/pool/updates/main/x/xgalaga/xgalaga_2.0.34-19woody1.diff.gz
      Size/MD5 checksum:    33875 cca65c5c025fe964e574ed286bf1a48e
    http://security.debian.org/pool/updates/main/x/xgalaga/xgalaga_2.0.34.orig.tar.gz
      Size/MD5 checksum:   314189 9f7ee685e9c4741b5f0edc3f91df9510

  Alpha architecture:

    http://security.debian.org/pool/updates/main/x/xgalaga/xgalaga_2.0.34-19woody1_alpha.deb
      Size/MD5 checksum:   208352 2ee48a6c41ed2912f9c04b7e5bab0b2f

  ARM architecture:

    http://security.debian.org/pool/updates/main/x/xgalaga/xgalaga_2.0.34-19woody1_arm.deb
      Size/MD5 checksum:   198666 3bba4b2486e3c48f6d116f55b521180d

  Intel IA-32 architecture:

    http://security.debian.org/pool/updates/main/x/xgalaga/xgalaga_2.0.34-19woody1_i386.deb
      Size/MD5 checksum:   191654 4fd57335930cb976e93b48993fc159e0

  Intel IA-64 architecture:

    http://security.debian.org/pool/updates/main/x/xgalaga/xgalaga_2.0.34-19woody1_ia64.deb
      Size/MD5 checksum:   225428 0030ed8957fda5d7787415deceb05b41

  HP Precision architecture:

    http://security.debian.org/pool/updates/main/x/xgalaga/xgalaga_2.0.34-19woody1_hppa.deb
      Size/MD5 checksum:   211990 8877bd894336e2b4eeae5e90bb76bae9

  Motorola 680x0 architecture:

    http://security.debian.org/pool/updates/main/x/xgalaga/xgalaga_2.0.34-19woody1_m68k.deb
      Size/MD5 checksum:   192832 5edfdbf20d05364609abd78121e86839

  Big endian MIPS architecture:

    http://security.debian.org/pool/updates/main/x/xgalaga/xgalaga_2.0.34-19woody1_mips.deb
      Size/MD5 checksum:   205460 928639b6561e32e4e8f7820dbae789ed

  Little endian MIPS architecture:

    http://security.debian.org/pool/updates/main/x/xgalaga/xgalaga_2.0.34-19woody1_mipsel.deb
      Size/MD5 checksum:   202588 27e65f0489cee88c3b2af603764ae66f

  PowerPC architecture:

    http://security.debian.org/pool/updates/main/x/xgalaga/xgalaga_2.0.34-19woody1_powerpc.deb
      Size/MD5 checksum:   199984 f0baf858ea5f44368fe14fceb581862f

  IBM S/390 architecture:

    http://security.debian.org/pool/updates/main/x/xgalaga/xgalaga_2.0.34-19woody1_s390.deb
      Size/MD5 checksum:   200876 a816f3a90931f141ed0d0450d77feb44

  Sun Sparc architecture:

    http://security.debian.org/pool/updates/main/x/xgalaga/xgalaga_2.0.34-19woody1_sparc.deb
      Size/MD5 checksum:   205648 ce754d6e1665737c7160a14ca47d21f8

  These files will probably be moved into the stable distribution on
  its next revision.

- ---------------------------------------------------------------------------------
For apt-get: deb http://security.debian.org/ stable/updates main
For dpkg-ftp: ftp://security.debian.org/debian-security dists/stable/updates/main
Mailing list: debian-security-announce@lists.debian.org
Package info: `apt-cache show <pkg>' and http://packages.debian.org/<pkg>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE+/kStArxCt0PiXR4RAtsRAJ9qgx+fMo17lsgYwME7GyrKW5bKTQCgo7+a
pKKIvH05vObDesA9cnpJDuc=
=1h5F
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to debian-security-announce-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


 
 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

This web site uses cookies for web analytics. Learn More

Copyright 2019, SecurityGlobal.net LLC