IISW-SI-000216 - The IIS 8.5 website must have resource mappings set to disable the serving of certain file types.

Information

Resource mapping is the process of tying a particular file type to a process in the web server that can serve that type of file to a requesting client and to identify which file types are not to be delivered to a client.

By not specifying which files can and which files cannot be served to a user, the web server could deliver to a user web server configuration files, log files, password files, etc.

The web server must only allow hosted application file types to be served to a user and all other types must be disabled.

NOTE: Nessus has not performed this check. Please review the benchmark to ensure target compliance.

Solution

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

Open the IIS 8.5 Manager.

Click the site name under review.

Double-click 'Request Filtering'.

For any file name extensions from the black list which have 'Allowed' set to 'True', remove the file name extension.

Select 'Deny File Name Extension' from the 'Actions' pane.

Add each file name extension from the black list.

Select 'Apply' from the 'Actions' pane.

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_MS_IIS_8-5_STIG.zip

Item Details

References: CAT|II, CCI|CCI-000381, Rule-ID|SV-91497r1_rule, STIG-ID|IISW-SI-000216, Vuln-ID|V-76801

Plugin: Windows

Control ID: 1b024470dffce14d923240aad0a22896f3b9181e075d527108f1ee6d02a2a6d8