1.25 IIST-SI-000234

Information

Debugging and trace information used to diagnose the IIS 10.0 website must be disabled.

GROUP ID: V-218761
RULE ID: SV-218761r961167

Setting compilation debug to false ensures detailed error information does not inadvertently display during live application usage, mitigating the risk of application information being displayed to users.

Solution

Follow the procedures below for each site hosted on the IIS 10.0 web server:

Open the IIS 10.0 Manager.

Click the site name under review.

Double-click '.NET Compilation'.

Scroll down to the 'Behavior' section and set the value for 'Debug' to 'False'.

See Also

https://workbench.cisecurity.org/benchmarks/23698