[39619] in bugtraq

home help back first fref pref prev next nref lref last post

Endless loop in NetPanzer 0.8

daemon@ATHENA.MIT.EDU (Luigi Auriemma)
Wed Jul 13 18:15:19 2005

Date: Wed, 13 Jul 2005 21:31:54 +0000
From: Luigi Auriemma <aluigi@autistici.org>
To: bugtraq@securityfocus.com, bugs@securitytracker.com, news@securiteam.com,
        full-disclosure@lists.grok.org.uk, vuln@secunia.com
Message-Id: <20050713213154.40141c66.aluigi@autistici.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit


#######################################################################

                             Luigi Auriemma

Application:  NetPanzer
              http://netpanzer.berlios.de
Versions:     <= 0.8
Platforms:    Windows, Linux and Mac
Bugs:         endless loop
Exploitation: remote, versus server (and clients also if useless)
Date:         13 Jul 2005
Author:       Luigi Auriemma
              e-mail: aluigi@autistici.org
              web:    http://aluigi.altervista.org


#######################################################################


1) Introduction
2) Bug
3) The Code
4) Fix


#######################################################################

===============
1) Introduction
===============


NetPanzer is an open source multiplayer tactical game enough known and
played.


#######################################################################

======
2) Bug
======


The network code doesn't verify the correctness of the 16 bit number
containing the size of the entire data block received from the network.
If an attacker sends the number 0x0000 (the minimum should be 0x0002)
the game enters in an endless loop and nobody can play.


#######################################################################

===========
3) The Code
===========


http://aluigi.altervista.org/poc/panzone.zip


#######################################################################

======
4) Fix
======


The SVN version of the game has been fixed:

  http://developer.berlios.de/svn/?group_id=1250


#######################################################################


--- 
Luigi Auriemma 
http://aluigi.altervista.org 

home help back first fref pref prev next nref lref last post