2.1.10 Ensure HTTP server is not installed

Information

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

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

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

# apt purge apache2

See Also

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

Item Details

Category: CONFIGURATION MANAGEMENT

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

Plugin: Unix

Control ID: 9e8d8989cf924f07ab4426887ea43713236466316f7f18ebcfe2387137f8228f