MS SQL Server 7.0 can be cause to crash silently when it is sent a TCP packet that contains more than 2 NULLs as the TCP data. This can be used to effectively cause a Denial of Service attack against the MS SQL Server.
Credit:
The information has been provided by: Kevork Belian.
Vulnerable systems:
MS SQL Server version 7.00.699
If the MS SQL Server TCP/IP net library is enabled, any 3 or greater NULL bytes in the TCP data can be used to crash the MS SQL Server listening on the TCP port 1433. The Microsoft SQL Server raises an event 17055 in the Event log (fatal exception EXCEPTION_ACCESS VIOLATION).
Solution:
1) Block all non-trusted incoming traffic on port 1433.
2) Disable the MS SQL Sever TCP/IP net library (if it's not needed).
3) A normal service restart will restart the MS SQL Server after such an attack.
The following Nessus script can be used to test for this vulnerability:
#
# This script was written by Renaud Deraison <deraison@cvs.nessus.org>
#
# See the Nessus Scripts License for details
#