potatoqualitee / stigiis

🦅 DISA STIG automation module for IIS
MIT License
5 stars 0 forks source link

V-76799 #6

Open potatoqualitee opened 4 years ago

potatoqualitee commented 4 years ago

could do a list of the blocked ones

potatoqualitee commented 4 years ago

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

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 "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.

Check Text: For "Request Filtering", 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 "Request Filtering" in IIS 8.5. "Request Filtering" at the site level take precedence over "Request Filtering" at the server level.

Open the IIS 8.5 Manager.

Click the site name under 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: Open the IIS 8.5 Manager.

Click the site name under 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.