[36428] in bugtraq

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

Off-by-one bug in Halo 1.04

daemon@ATHENA.MIT.EDU (Luigi Auriemma)
Fri Sep 10 05:33:09 2004

Date: Thu, 9 Sep 2004 20:05:51 +0000
From: Luigi Auriemma <aluigi@autistici.org>
To: bugtraq@securityfocus.com, bugs@securitytracker.com, news@securiteam.com,
        full-disclosure@lists.netsys.com
Message-Id: <20040909200551.05adb445.aluigi@autistici.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit


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

                             Luigi Auriemma

Application:  Halo: Combat Evolved
              http://www.bungie.net/Games/HaloPC/
Versions:     <= 1.4
Platforms:    Windows and MacOS
Bug:          off-by-one (Denial of Service)
Risk:         medium/high
Exploitation: remote, versus server
Date:         09 September 2004
Author:       Luigi Auriemma
              e-mail: aluigi@altervista.org
              web:    http://aluigi.altervista.org


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


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


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

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


Halo is the widely known game originally developed by Bungie Studios
and ported on PC by Gearbox Software (http://www.gearboxsoftware.com).
It has been released in September 2003.


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

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


Halo uses the Gamespy SDK and moreover the handshake algorithm provided
in this library (http://aluigi.altervista.org/papers/gssdkcr.h) to let
players to join servers.

The off-by-one bug is located just in the client's response (the last
stage of this handshake) because if it is longer than 32 bytes causes
the immediate crash of the server.


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

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


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


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

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


Patch 1.05 for both Win32 and MacOS.


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


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


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