LBreakout2 HOME environment variable buffer overflow

lbreakout2-home-bo (15229) The risk level is classified as HighHigh Risk


LBreakout2 is vulnerable to a buffer overflow, caused by improper bounds checking of user-supplied input. A local attacker can supply a specially-crafted HOME environment variable to the editor.c, theme.c, manager.c, config.c, game.c, levels.c, or main.c file to overflow a buffer and gain elevated 'games' group privileges.


Gain Privileges


For Debian GNU/Linux 3.0 (woody):
Upgrade to the latest lbreakout2 package (2.2.2-1woody1.dsc or later), as listed in DSA-445-1. See References.


  • BID-9712: LGames LBreakout2 Multiple Environment Variable Buffer Overflow Vulnerabilites
  • CVE-2004-0158: Buffer overflow in lbreakout2 allows local users to gain 'games' group privileges via a large HOME environment variable to (1) editor.c, (2) theme.c, (3) manager.c, (4) config.c, (5) game.c, (6) levels.c, or (7) main.c.
  • DSA-445: lbreakout2 -- buffer overflow
  • OSVDB ID: 16570: LBreakout2 Unspecified Buffer Overflow
  • OSVDB ID: 4025: LBreakout HOME Environment Variable Local Overflow

Platforms Affected:

  • Debian Debian Linux 3.0
  • Lgames LBreakout2 prior to 2.4beta-2


Feb 21, 2004

The information within this database may change without notice. 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. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

For corrections or additions please email ignore thisxforceignore this@ignore thisus.ignore thisibm.comignore this

Return to the main page