SQL6-D0-016200 - The SQL Server default account [sa] must be disabled.

Information

SQL Server's [sa] account has special privileges required to administer the database. The [sa] account is a well-known SQL Server account and is likely to be targeted by attackers and thus more prone to providing unauthorized access to the database.

This [sa] default account is administrative and could lead to catastrophic consequences, including the complete loss of control over SQL Server. If the [sa] default account is not disabled, an attacker might be able to gain access through the account. SQL Server by default disables the [sa] account at installation.

Some applications that run on SQL Server require the [sa] account to be enabled for the application to function properly. These applications that require the [sa] account to be enabled are usually legacy systems.

Solution

Modify the enabled flag of SQL Server's [sa] (system administrator) account by running the following script.
USE master;
GO
ALTER LOGIN [sa] DISABLE;
GO

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_MS_SQL_Server_2016_Y24M07_STIG.zip

Item Details

Category: ACCESS CONTROL

References: 800-53|AC-3, CAT|I, CCI|CCI-000213, Rule-ID|SV-214028r960792_rule, STIG-ID|SQL6-D0-016200, STIG-Legacy|SV-94023, STIG-Legacy|V-79317, Vuln-ID|V-214028

Plugin: MS_SQLDB

Control ID: a359288dfa58275a2dd3ff2260f984c0c2fca6ae87397a88baea49a4d9f04199