2.2.9 Ensure HTTP server is not installed

Information

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

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 remove apache2 :

# apt purge apache2

See Also

https://workbench.cisecurity.org/benchmarks/15023

Item Details

Category: CONFIGURATION MANAGEMENT

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

Plugin: Unix

Control ID: 73de36aa402ee218e4bef113bb0a77da1ae189c9957053bd29cf5ff59d8b51da