V-276319
SV-276319r1150018_rule
CAT II
The Allow Filesystem Enumeration feature must be disabled for Azure SQL Server Managed Instance, unless specifically required and approved.
From: Microsoft Azure SQL Managed Instance Security Technical Implementation Guide (V1R1)
Description
<VulnDiscussion>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. Applications must adhere to the principles of least functionality by providing only essential capabilities. Azure SQL Managed Instance may spawn additional external processes to execute procedures that are defined in Azure SQL Managed Instance 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 Azure SQL Managed Instance and provide unauthorized access to the host system.
SQL Server is capable of providing a wide range of features and services. Some of the features and services, provided by default, may not be necessary, and enabling them could adversely affect the security of the system.
The Allow Filesystem Enumeration feature allows access to the file system, potentially providing unauthorized access and must be disabled on secure systems.</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 allow filesystem enumeration is enabled, execute the following command:
SELECT name, value, value_in_use
FROM sys.configurations
WHERE name = 'allow filesystem enumeration'
If "value_in_use" is a "1", review the system documentation to determine whether the use of allow filesystem enumeration 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 allow filesystem enumeration, from the query prompt:
EXEC SP_CONFIGURE 'show advanced options', 1;
RECONFIGURE WITH OVERRIDE;
EXEC SP_CONFIGURE 'allow filesystem enumeration', 0;
RECONFIGURE WITH OVERRIDE;
EXEC SP_CONFIGURE 'show advanced options', 0;
RECONFIGURE WITH OVERRIDE;
CCI Reference
CCI-000381- Created
- 2026-04-07 20:08:22
- Last Updated
- 2026-04-07 20:08:22