UCF STIG Viewer Logo

SQL Server must have the Data Quality Services software component removed if it is unused.


Overview

Finding ID Version Rule ID IA Controls Severity
V-213843 SQL4-00-016835 SV-213843r395853_rule Medium
Description
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.
STIG Date
MS SQL Server 2014 Instance Security Technical Implementation Guide 2022-09-12

Details

Check Text ( C-15062r312880_chk )
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 :\Program Files\Microsoft SQL Server\MSSQL12.\MSSQL\Binn\

If this contains the file DQSInstaller.exe, this is a finding.
Fix Text (F-15060r312881_fix)
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.