Endless loop in NetPanzer 0.8

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

                             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@xxxxxxxxxxxxx
              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 

[Index of Archives]     [Linux Security]     [Netfilter]     [PHP]     [Yosemite News]     [Linux Kernel]

  Powered by Linux