Vulnerability Discussion
HTTP error pages contain information that could enable an attacker to gain access to an information system. Failure to prevent the sending of HTTP error pages with full information to remote requesters exposes internal configuration information to potential attackers.
Check
Note: If the server is hosting WSUS, this is Not Applicable.
Open the IIS 10.0 Manager.
Click the IIS 10.0 web server name.
Double-click the "Error Pages" icon.
Click any error message, and then click "Edit Feature Setting" from the "Actions" Pane. This will apply to all error messages.
If the feature setting is not set to "Detailed errors for local requests and custom error pages for remote requests", or "Custom error pages" this is a finding.
Fix
Open the IIS 10.0 Manager.
Click the IIS 10.0 web server name.
Double-click the "Error Pages" icon.
Click any error message, and then click "Edit Feature Setting" from the "Actions" Pane. This will apply to all error messages.
Set Feature Setting to "Detailed errors for local requests and custom error pages for remote requests" or "Custom error pages".