2.2.10 Ensure HTTP server is not enabled

Information

HTTP or web servers provide the ability to host web site content.

Rationale:

Unless there is a need to run the system as a web server, it is recommended that the service be disabled to reduce the potential attack surface.

Solution

Run the following command to disable apache2 :

# chkconfig apache2 off

Additional Information:

Several httpd servers exist and can use other service names. apache, apache2, lighttpd, and nginx are example services that provide an HTTP server. These and other services should also be audited.

See Also

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

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6, 800-53|CM-7, CSCv7|9.2

Plugin: Unix

Control ID: 147303d3917d2cbc718b8071b98a8358a04f049cbbddaffda4477615cc4a48e9