SQLI-22-017100 - The SQL Server User Options feature must be disabled unless specifically required and approved.

Information

SQL Server is capable of providing a wide range of features and services. Some of the features and services, provided by default, may not be necessary, and enabling them could adversely affect system security.

The "user options" option specifies global defaults for all users. A list of default query processing options is established for the duration of a user's work session. The "user options" option enables changing the default values of the SET options (if the server's default settings are not appropriate).

NOTE: Nessus has provided the target output to assist in reviewing the benchmark to ensure target compliance.

Solution

Disable use of or remove any external application executable object definitions that are not authorized. To disable the use of the "User Options" option, from the query prompt:
sp_configure 'show advanced options', 1;
GO
RECONFIGURE;
GO
sp_configure 'user options', 0;
GO
RECONFIGURE;
GO

See Also

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

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-7a., CAT|II, CCI|CCI-000381, Rule-ID|SV-274452r1111123_rule, STIG-ID|SQLI-22-017100, Vuln-ID|V-274452

Plugin: MS_SQLDB

Control ID: dafb8d849c84cf0952d24e22ccf9c03c21ac5d3d034c4e17e988e51ede5a9373