Lucene search
K

netPanzer-0.8.txt

🗓️ 26 May 2006 00:00:00Reported by aluigi.orgType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 24 Views

netPanzer denial of service bug in versions <= 0.8 (rev 952

Code
`  
#######################################################################  
  
Luigi Auriemma  
  
Application: netPanzer  
http://www.netpanzer.org  
http://netpanzer.berlios.de  
Versions: <= 0.8 (rev 952)  
Platforms: *nix, *BSD, Windown, Mac and others  
Bug: server termination  
Exploitation: remote, versus server  
Date: 23 May 2006  
Author: Luigi Auriemma  
e-mail: [email protected]  
web: aluigi.org  
  
  
#######################################################################  
  
  
1) Introduction  
2) Bug  
3) The Code  
4) Fix  
  
  
#######################################################################  
  
===============  
1) Introduction  
===============  
  
  
netPanzer is a nice and well known open source multiplayer strategy  
game.  
  
  
#######################################################################  
  
======  
2) Bug  
======  
  
  
The game is affected by a denial of service which happens when a client  
uses a flag (called also frameNum) major than 41 since the setFrame  
function in src/Lib/2D/Surface.hpp checks if this number is minor than  
frameCount:  
  
void setFrame(const float &frameNum)  
{  
assert(frameNum >= 0.0);  
assert(frameNum < frameCount);  
mem = frame0 + (pix.y * stride) * int(frameNum);  
}  
  
The result is the immediate interruption of the server:  
  
netpanzer: src/Lib/2D/Surface.hpp:370: void Surface::setFrame(const  
float&): Assertion `frameNum < frameCount' failed. Received signal  
SIGABRT(6) aborting and trying to shutdown.  
Closing logfile.  
Aborted  
  
  
#######################################################################  
  
===========  
3) The Code  
===========  
  
  
http://aluigi.org/poc/panza.zip  
  
  
#######################################################################  
  
======  
4) Fix  
======  
  
  
No fix.  
No reply from the developers.  
  
  
#######################################################################  
  
  
---   
Luigi Auriemma  
http://aluigi.org  
http://mirror.aluigi.org  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation