Web server options for the OS root must be disabled.
Severity | Group ID | Group Title | Version | Rule ID | Date | STIG Version |
|---|---|---|---|---|---|---|
| medium | V-26324 | WA00545 | WA00545 A22 | SV-33213r1_rule | 2019-01-07 | 1 |
Description
The Apache Options directive allows for specific configuration of options, including execution of CGI, following symbolic links, server side includes, and content negotiation. 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.
ℹ️ Check
Enter the following command:
more /usr/local/Apache2.2/conf/httpd.conf.
Review the httpd.conf file and search for the following directive:
Directory
For every root directory entry (i.e. <Directory />) ensure the following entry exists:
Options None
If the statement above is not found in the root directory statement, this is a finding.
If Allow directives are included in the root directory statement, this is a finding.
If the root directory statement is not found at all, this is a finding.
✔️ Fix
Ensure the root directory has the appropriate Options assignment.