Information
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 'Request Filtering', 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 'Request Filtering' in IIS 8. 'Request Filtering' at the site level take precedence over 'Request Filtering' at the server level.
NOTE: Nessus has not performed this check. Please review the benchmark to ensure target compliance.
Solution
Open the IIS 8.5 Manager.
Click the site name under review.
Double-click 'Request Filtering'.
Deny any script file extensions listed on the black list.
Select 'Apply' from the 'Actions' pane.