The Apache web server must allow the mappings to unused and vulnerable scripts to be removed.

From Apache Server 2.4 Windows Server Security Technical Implementation Guide

Part of SRG-APP-000141-WSR-000082

Associated with: CCI-000381

AS24-W1-000310_rule The Apache web server must allow the mappings to unused and vulnerable scripts to be removed.

Vulnerability discussion

Scripts allow server-side processing on behalf of the hosted application user or as processes needed in the implementation of hosted applications. Removing scripts not needed for application operation or deemed vulnerable helps to secure the web server.To ensure scripts are not added to the web server and run maliciously, script mappings that are not needed or used by the web server for hosted application operation must be removed.

Check content

Review the <'INSTALL PATH'>\conf\httpd.conf file. Locate cgi-bin files and directories enabled in the "Script", "ScriptAlias" or "ScriptAliasMatch", or "ScriptInterpreterSource" directives. If any script is not needed for application operation, this is a finding.

Fix text

Remove any scripts in cgi-bin directory if they are not needed for application operation.

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