SQL4-00-016310 - SQL Server must have the publicly available AdventureWorks sample database removed.

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version

Information

Information systems are capable of providing a wide variety of functions and services. Some of the functions and services, provided by default, 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. Examples include, but are not limited to, installing advertising software, demonstrations, or browser plug-ins not related to requirements and providing a wide array of functionality not required for every mission, but which cannot be disabled.

Applications must adhere to the principles of least functionality by providing only essential capabilities. Even though the very popular 'AdventureWorks' database is no longer installed by default, it introduces a vulnerability to SQL Server and must be removed, if present.

Demonstration and sample database objects and applications present publicly known attack points for malicious users. These demonstration and sample objects are meant to provide simple examples of coding specific functions and are not developed to prevent vulnerabilities from being introduced to the SQL Server and the OS.

Solution

Remove the publicly available 'AdventureWorks' database from SQL Server by running the following script:

USE master;
GO
DROP DATABASE AdventureWorks;
GO

See Also

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

Item Details

References: CAT|II, CCI|CCI-000381, Rule-ID|SV-213832r395853_rule, STIG-ID|SQL4-00-016310, STIG-Legacy|SV-82311, STIG-Legacy|V-67821, Vuln-ID|V-213832

Plugin: MS_SQLDB

Control ID: 51e44abe4a9afc87d4006937792ff26f126a781fcdc7fb67c64dde558bb2e419