The Apache web server must have resource mappings set to disable the serving of certain file types.

From Apache Server 2.4 Windows Site Security Technical Implementation Guide

Part of SRG-APP-000141-WSR-000083

Associated with: CCI-000381

AS24-W2-000320_rule The Apache web server must have resource mappings set to disable the serving of certain file types.

Vulnerability discussion

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

Check content

Review the <'INSTALLED PATH'>\conf\httpd.conf file. If "Action" or "AddHandler" exist and they configure .exe, .dll, .com, .bat, or .csh, or any other shell as a viewer for documents, this is a finding.

Fix text

Disable MIME types for .exe, .dll, .com, .bat, and .csh programs. If "Action" or "AddHandler" exist and they configure .exe, .dll, .com, .bat, or .csh, remove those references.

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