1. Home
  2. Security Hardening
  3. CIS Apache HTTP Server 2.4 L1 V2.0.0
  4. Ensure Options for the OS Root Directory Are Restricted

Ensure Options for the OS Root Directory Are Restricted

Details

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

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:

Search the Apache configuration files (httpd.conf and any included configuration files) to find a root element.

Add a single Options directive if there is none.

Set the value for Options to None.


. . .
Options None
. . .

Default Value:

The default value for the root directory’s Option directive is Indexes FollowSymLinks.

Supportive Information

The following resource is also helpful.

This security hardening control applies to the following category of controls within NIST 800-53: Configuration Management.This control applies to the following type of system Unix.

References

Source

Updated on July 16, 2022
Was this article helpful?

Related Articles