SQLI-22-017200 - The "Remote Access" feature must be disabled unless specifically required and approved.

Information

Information systems are capable of providing a wide variety of functions and services. Some of the default functions and services may not be necessary to support essential organizational operations (e.g., key missions, functions).

It is detrimental for applications to provide, or install by default, functionality exceeding requirements or mission objectives.

Applications must adhere to the principles of least functionality by providing only essential capabilities.

SQL Server may spawn additional external processes to execute procedures that are defined in the SQL Server but stored in external host files (external procedures). The spawned process used to execute the external procedure may operate within a different OS security context than SQL Server and provide unauthorized access to the host system.

The "Remote Access" option controls the execution of local stored procedures on remote servers or remote stored procedures on local server. Remote access functionality can be abused to launch a denial-of-service (DoS) attack on remote servers by off-loading query processing to a target.

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

Solution

Disable use of [Remote Access] if it is not authorized.

To disable the use of [Remote Access], from the query prompt:
EXEC SP_CONFIGURE 'remote access', 0;
RECONFIGURE WITH OVERRIDE;

See Also

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

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-7a., CAT|II, CCI|CCI-000381, Rule-ID|SV-271298r1111126_rule, STIG-ID|SQLI-22-017200, Vuln-ID|V-271298

Plugin: MS_SQLDB

Control ID: 77dbd461169ba76f690bdee1bc674f884c6637fd8fc35491d51b9e351357c221