UCF STIG Viewer Logo

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


Overview

Finding ID Version Rule ID IA Controls Severity
V-76801 IISW-SI-000216 SV-91497r2_rule Medium
Description
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.
STIG Date
IIS 8.5 Site Security Technical Implementation Guide 2020-06-05

Details

Check Text ( C-76457r2_chk )
For Request Filtering, the ISSO must document and approve all allowable scripts the website allows (white list) and denies (black list). The white list and black list will be compared to the Request Filtering in IIS 8.5. Request Filtering at the site level take precedence over Request Filtering at the server level.

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 to review.
Double-click Request Filtering >> File Name Extensions Tab.

If any script file extensions from the black list are not denied, this is a finding.
Fix Text (F-83497r2_fix)
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 to review.
Double-click Request Filtering >> File Name Extensions Tab >> Deny File Name Extension.
Add any script file extensions listed on the black list that are not listed.
Select "Apply" from the "Actions" pane.