SQLI-22-017700 - The SQL Server External Scripts Enabled 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 default features and services may not be necessary and enabling them could adversely affect the security of the system.

The External Scripts Enabled feature allows scripts external to SQL such as files located in an R library to be executed.

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 approved.

To disable the use of [External Scripts Enabled] option, from the query prompt:
EXEC SP_CONFIGURE 'External Scripts Enabled', 0;
RECONFIGURE WITH OVERRIDE;

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-271293r1111138_rule, STIG-ID|SQLI-22-017700, Vuln-ID|V-271293

Plugin: MS_SQLDB

Control ID: 0dd1c17a03736cd02553dd69839fd6940b5472f0416eac5ed8633e97be90ad93