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 package be deleted to reduce the potential attack surface.

Solution

Run the following command to disable apache2:

# systemctl disable apache2

See Also

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

Item Details

Category: CONFIGURATION MANAGEMENT

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

Plugin: Unix

Control ID: 13dbceb78e4a8b31aca4c5a3ea64c0f7533a82dd636e39d4ed9980729ee4f8cb