Microsoft SQL Server sa Account Default Blank Password

This script is Copyright (C) 2001-2012 H D Moore


Synopsis :

The remote database service has an account with a blank password.

Description :

The remote instance of MS SQL / SQL Server has the default 'sa'
account enabled without any password.

An attacker may leverage this flaw to execute commands against the
remote host, as well as read the content of any databases it might
have.

Solution :

Disable the 'sa' account or set a password for it.

In addition, filter incoming TCP traffic to this port.

For MSDE (OEM versions without MSQL console) :

C:\MSSQL7\BINN\osql -U sa

At the Password: prompt press <Enter>.

Type the following replacing .password. with the password you wish to
assign, in single quotes:

EXEC sp_password NULL, .password., .sa.
go
exit

Risk factor :

High / CVSS Base Score : 7.5
(CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P)
CVSS Temporal Score : 6.5
(CVSS2#E:H/RL:OF/RC:C)
Public Exploit Available : true

Family: Databases

Nessus Plugin ID: 10673 ()

Bugtraq ID: 4797

CVE ID: CVE-2000-1209