Database - eWeek



Flaw Threatens SQL Server




The flaw, which affects SQL Server 7.0 and 2000, is in the way that extended stored procedures validate input to the database. The procedures are external routines that that in SQL are used for some helper functions

Microsoft Corp. has issued a patch for a buffer overrun vulnerability in some versions of its SQL Server database software that could enable an attacker to execute code on a vulnerable machine.

The flaw, which affects SQL Server 7.0 and 2000, occurs when extended stored procedures validate input to the database. The procedures are external routines that in SQL are used for some helper functions.

Several of these procedures dont perform the input validation process correctly, leaving the server open to a buffer overrun, according Microsofts advisory on the problem, released late Wednesday. A successful exploit of this flaw could either cause SQL to fail or allow the attacker to run arbitrary code on the machine.

There are two possible exploit scenarios, Microsoft said. The first would require the attacker to load and execute a database query on a vulnerable server that calls one of the affected functions. In the second scenario, if the databases front end were configured to process arbitrary queries, an attacker could provide inputs that would cause the query to call an affected function.

However, any code the attacker executes on a vulnerable machine would only run in the security context of the SQL Server software, which by default runs as a domain user.







 
 
>>> More Database Articles          >>> More By Dennis Fisher
 

FEATURED SPONSOR MESSAGE

Start the New Year with business intelligence—it’s a smart move

Join us on February 1 for an encore rebroadcast at either 5 am or 12 noon EST and discover how business intelligence (BI) supports companies in uncertain business and economic climates. Get expert advice on how to create a strategy that fits your organization's needs and budget and see how quickly it can pay for itself.

Click Here

Brought to you by


eweek digital



Advertisement
 
APPLY FOR A FREE 
SUBSCRIPTION BELOW:

>Try digital eWEEK
>Renew today
>Subscription help
>More FREE Subscriptions
First Name:Last Name:
Title:Company:
Address:City:
State:Zip Code:
Email:
eWEEK Quick LInks