Server side includes (SSIs) must run with execution capability disabled.

From APACHE 2.2 Server for UNIX Security Technical Implementation Guide

Part of WA000-WWA054

SV-32753r1_rule Server side includes (SSIs) must run with execution capability disabled.

Vulnerability discussion

The Options directive configures the web server features that are available in particular directories. The IncludesNOEXEC feature controls the ability of the server to utilize SSIs while disabling the exec command, which is used to execute external scripts. If the full includes feature is used it could allow the execution of malware leading to a system compromise.

Check content

To view the Options value enter the following command: grep "Options" /usr/local/apache2/conf/httpd.conf. Review all uncommented Options statements for the following values: +IncludesNoExec -IncludesNoExec -Includes If these values don’t exist this is a finding. Notes: - If the value does NOT exist, this is a finding. - If all enabled Options statement are set to None this is not a finding.

Fix text

Edit the httpd.conf file and add one of the following to the enabled Options directive: +IncludesNoExec -IncludesNoExec -Includes Remove the ‘Includes’ or ‘+Includes’ setting from the options statement.

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