[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20050510211749.0827a4e6.aluigi@autistici.org>
Date: Tue, 10 May 2005 21:17:49 +0000
From: Luigi Auriemma <aluigi@...istici.org>
To: bugtraq@...urityfocus.com, bugs@...uritytracker.com,
news@...uriteam.com, full-disclosure@...ts.grok.org.uk,
vuln@...unia.com, red@...sec.de
Subject: Crash in Zoidcom 1.0 beta 4
#######################################################################
Luigi Auriemma
Application: Zoidcom
http://www.zoidcom.com
Versions: <= 1.0 beta 4
Platforms: Windows and Linux
Bug: access to unallocated memory
Exploitation: remote, versus server and clients
Date: 10 May 2005
Author: Luigi Auriemma
e-mail: aluigi@...istici.org
web: http://aluigi.altervista.org
#######################################################################
1) Introduction
2) Bug
3) The Code
4) Fix
#######################################################################
===============
1) Introduction
===============
Zoidcom in an UDP network library developed by Jörg Rüppel.
#######################################################################
======
2) Bug
======
The first 4 bytes at the beginning of any UDP packet handled by this
library specify the size of the packet data in bits.
When a packet is received the library calls the
ZCom_BitStream::Deserialize function that allocates a target buffer of
the size specified in these 4 bytes and then copies all the subsequent
part of the packet in it.
If an attacker specifies a big amount of bits the Deserialize()
function will try to read the unallocated memory located after
the packet buffer or the library will exit immediately if the amount of
bits is so big that the target buffer cannot be allocated.
#######################################################################
===========
3) The Code
===========
http://aluigi.altervista.org/poc/zoidboom.zip
#######################################################################
======
4) Fix
======
1.0 beta 5
#######################################################################
---
Luigi Auriemma
http://aluigi.altervista.org
_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/
Powered by blists - more mailing lists