V-271292
SV-271292r1111143_rule
CAT II
The SQL Server Replication Xps feature must be disabled unless specifically required and approved.
From: Microsoft SQL Server 2022 Instance Security Technical Implementation Guide (V1R4)
Description
<VulnDiscussion>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.
Enabling the replication Xps opens a significant attack surface area that can be used by an attacker to gather information about the system and potentially abuse the privileges of SQL Server.</VulnDiscussion><FalsePositives></FalsePositives><FalseNegatives></FalseNegatives><Documentable>false</Documentable><Mitigations></Mitigations><SeverityOverrideGuidance></SeverityOverrideGuidance><PotentialImpacts></PotentialImpacts><ThirdPartyTools></ThirdPartyTools><MitigationControl></MitigationControl><Responsibility></Responsibility><IAControls></IAControls>
Check Procedure
To determine if [Replication Xps] is enabled, execute the following command:
SELECT name, value, value_in_use
FROM sys.configurations
WHERE name = 'Replication Xps'
If [value_in_use] is a [1], review the system documentation to determine whether the use of [Replication Xps] is approved. If it is not approved, this is a finding.
Fix Text
Disable use of or remove any external application executable object definitions that are not approved.
To disable the use of [Replication Xps] option, from the query prompt:
EXEC SP_CONFIGURE 'show advanced options', 1;
RECONFIGURE WITH OVERRIDE;
EXEC SP_CONFIGURE 'replication xps', 0;
RECONFIGURE WITH OVERRIDE;
EXEC SP_CONFIGURE 'show advanced options', 0;
RECONFIGURE WITH OVERRIDE;
GO
RECONFIGURE;
GO
CCI Reference
CCI-000381- Created
- 2026-04-07 20:08:24
- Last Updated
- 2026-04-07 20:08:24