1. Home
  2. Security Hardening
  3. CIS Apache HTTP Server 2.2 L1 V3 6.0
  4. Ensure the Group Is Set Correctly on Apache Directories and Files

Ensure the Group Is Set Correctly on Apache Directories and Files

Details

The Apache directories and files should be set to have a group of root (or a root equivalent group). This applies to all the Apache software directories and files installed. The only expected exception is that the Apache web document root (‘$APACHE_PREFIX/htdocs’) is likely to need a designated group to allow web content to be updated (such as ‘webupdate’) through a change management process.

Rationale:

Securing Apache files and directories will reduce the probability of unauthorized modifications.

Solution

Perform the following:

Set the group on the $’APACHE_PREFIX’ directories, such as ‘/usr/local/apache2’:

$ chgrp -R root $APACHE_PREFIX

Supportive Information

The following resource is also helpful.

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

References

Source

Updated on July 16, 2022
Was this article helpful?

Related Articles