5.1 Ensure Options for the OS Root Directory Are Restricted

Information

The Apache 'Options' directive allows for specific configuration of options, including execution of CGI, following symbolic links, server side includes, and content negotiation.

Refer to the Apache 2.2 documentation for details:
[http://httpd.apache.org/docs/2.2/mod/core.html#options](http://httpd.apache.org/docs/2.2/mod/core.html#options ).

Rationale:

The 'Options' directive for the root OS level is used to create a default minimal options policy that allows only the minimal options at the root directory level. Then for specific web sites or portions of the web site, options may be enabled as needed and appropriate. No options should be enabled and the value for the 'Options' directive should be 'None'.

Solution

Perform the following to implement the recommended state:

1. Search the Apache configuration files ('httpd.conf' and any included configuration files) to find a root '<Directory>' element.
2. Add a single 'Options' directive if there is none.
3. Set the value for 'Options' to 'None'.
. . .
Options None
. . .

See Also

https://workbench.cisecurity.org/files/2020

Item Details

Category: ACCESS CONTROL

References: 800-53|AC-6, CSCv6|18

Plugin: Unix

Control ID: e21b0e3b7b22b384c30aa39c6638bf5de706055b20e78438034d068d31ca43ca