Mappings to unused and vulnerable scripts on the IIS 8.5 website must be removed.

From IIS 8.5 Site Security Technical Implementation Guide

Part of SRG-APP-000141-WSR-000082

Associated with: CCI-000381

SV-91495r1_rule Mappings to unused and vulnerable scripts on the IIS 8.5 website must be removed.

Vulnerability discussion

IIS 8.5 will either allow or deny script execution based on file extension. The ability to control script execution is controlled through two features with IIS 8.5, Request Filtering and "Handler Mappings".For "Handler Mappings", the ISSO must document and approve all allowable file extensions the website allows (white list) and denies (black list) by the website. The white list and black list will be compared to the "Handler Mappings" in IIS 8. "Handler Mappings" at the site level take precedence over "Handler Mappings" at the server level.

Check content

For "Handler Mappings", the ISSO must document and approve all allowable scripts the website allows (white list) and denies (black list) by the website. The white list and black list will be compared to the "Handler Mappings" in IIS 8.5. "Handler Mappings" at the site level take precedence over "Handler Mappings" at the server level. Open the IIS 8.5 Manager. Click the site name under review. Double-click "Handler Mappings". If any script file extensions from the black list are enabled, this is a finding.

Fix text

Open the IIS 8.5 Manager. Click the site name under review. Double-click "Handler Mappings". Remove any script file extensions listed on the black list that are enabled. Select "Apply" from the "Actions" pane.

Pro Tips

Lavender hyperlinks in small type off to the right (of CSS class id, if you view the page source) point to globally unique URIs for each document and item. Copy the link location and paste anywhere you need to talk unambiguously about these things.

You can obtain data about documents and items in other formats. Simply provide an HTTP header Accept: text/turtle or Accept: application/rdf+xml.

Powered by sagemincer