Visit our newest sister site!
Hundreds of free aircraft flight manuals
Civilian • Historical • Military • Declassified • FREE!

TUCoPS :: Web :: Apps :: web5529.htm

SQL Server BULK INSERT command remote overflow
11th Jul 2002 [SBWID-5529]

	SQL Server BULK INSERT command remote overflow


	Microsoft SQL Server 2000


	In  Mark  Litchfield  []  advisory   [#NISR11072002]
	[] :

	The \'BULK INSERT\' query will  take  a  user  supplied  file  name  and
	insert the contents of this file into a specified  table.  By  supplying
	an overly long filename to the query, a buffer  is  overflowed  and  the
	saved return address stored on the stack  is  overwritten.  This  allows
	the attacker to gain control over the process\'  execution.  SQL  Server
	2000 can be run in the security context of a  domain  account  or  LOCAL
	SYSTEM, so depending upon the particular setup, an attacker may be  able
	to gain complete control over the vulnerable system.

	To be  able  to  use  the  \'BULK  INSERT\'  query  one  must  have  the
	privileges of the database owner or dbo. Note this does not  necessarily
	imply \'sa\' equivalence.

	Another point to note is that whilst this  overflow  is  \'UNICODE\'  in
	nature by supplying code  as  a  UNICODE  string  exploitation  is  made


	Get patch from :




TUCoPS is optimized to look best in Firefox® on a widescreen monitor (1440x900 or better).
Site design & layout copyright © 1986-2015 AOH