Check: SQL4-00-016835
MS SQL Server 2014 Instance STIG:
SQL4-00-016835
(in versions v2 r3 through v1 r4)
Title
SQL Server must have the Data Quality Services software component removed if it is unused. (Cat II impact)
Discussion
Information systems are capable of providing a wide variety of functions and services. Some of the functions and services, provided by default or selected for installation by an administrator, may not be necessary to support essential organizational operations (e.g., key missions, functions). Applications must adhere to the principles of least functionality by providing only essential capabilities. Unused and unnecessary SQL Server components increase the number of available attack vectors. By minimizing the services and applications installed on the system, the number of potential vulnerabilities is reduced. The Data Quality Services software component must be removed from SQL Server if it is unused.
Check Content
If the Data Quality Services feature is used and satisfies organizational requirements, this is not a finding. Run the query: SELECT * FROM sys.databases WHERE name in ('DQS_MAIN', 'DQS_PROJECTS', 'DQS_STAGING_DATA'); If any rows are returned, this is a finding. In Windows Server 2008 R2 or lower, click on the Start button. In the Start menu, navigate to All Programs >> Microsoft SQL Server 2014. If the "Data Quality Services" folder exists and contains the Data Quality Server Installer program, this is a finding. In Windows Server 2012 or higher, click on the Start button. In the Start menu, navigate to Apps >> Microsoft SQL Server 2014. If the Data Quality Server Installer program is listed, this is a finding. In Windows Explorer, navigate to <drive where SQL Server is installed>:\Program Files\Microsoft SQL Server\MSSQL12.<Instance name>\MSSQL\Binn\ If this contains the file DQSInstaller.exe, this is a finding.
Fix Text
Either using the Start menu or via the command "control.exe", open the Windows Control Panel. Open Programs and Features. Double-click on Microsoft SQL Server 2014. In the dialog box that appears, select Remove. Wait for the Remove wizard to appear. Select the relevant SQL Server instance; click Next. Select Data Quality Services; click Next. Follow the remaining prompts, to remove Data Quality Services from SQL Server. Then run the following script: USE master; GO DROP DATABASE DQS_STAGING; GO DROP DATABASE DQS_PROJECTS; GO DROP DATABASE DQS_MAIN; GO Restart the server.
Additional Identifiers
Rule ID: SV-213843r395853_rule
Vulnerability ID: V-213843
Group Title: SRG-APP-000141-DB-000091
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-000381 |
The organization configures the information system to provide only essential capabilities. |
Controls
Number | Title |
---|---|
CM-7 |
Least Functionality |