Microsoft SQL Server sa Account Default Blank Password

Critical Nessus Plugin ID 10673

New! Vulnerability Priority Rating (VPR)

Tenable calculates a dynamic VPR for every vulnerability. VPR combines vulnerability information with threat intelligence and machine learning algorithms to predict which vulnerabilities are most likely to be exploited in attacks. Read more about what VPR is and how it's different from CVSS.

VPR Score: 8.1

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

Plugin Details

Severity: Critical

ID: 10673

File Name: mssql_blank_password.nasl

Version: 1.41

Type: remote

Family: Databases

Published: 2001/05/25

Updated: 2018/09/17

Dependencies: 17161, 10144

Risk Information

Risk Factor: Critical

VPR Score: 8.1

CVSS Score Source: CVE-2000-1209

CVSS v2.0

Base Score: 10

Temporal Score: 8.3

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

Temporal Vector: CVSS2#E:F/RL:OF/RC:C

CVSS v3.0

Base Score: 10

Temporal Score: 9.3

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:F/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:microsoft:sql_server

Excluded KB Items: global_settings/supplied_logins_only

Exploit Available: false

Exploit Ease: No exploit is required

Vulnerability Publication Date: 2000/07/11

Exploitable With

CANVAS (CANVAS)

Metasploit (Microsoft SQL Server Payload Execution via SQL Injection)

Reference Information

CVE: CVE-2000-1209

BID: 4797