Differences

This shows you the differences between two versions of the page.

Link to this comparison view

centos7:2:2:10 [2017/05/04 14:48] (current)
Piotr Kłoczewski created
Line 1: Line 1:
 +======2.2.10 Ensure HTTP server is not enabled (Scored)======
 +=====Profile Applicability=====  ​
 +<​code>​
 +Level 1 - Server
 +Level 1 - Workstation ​
 +</​code>​
  
 +=====Description=====
 +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.
 +
 +=====Audit===== ​
 +Run the following commands to verify ''​httpd''​ is not enabled:
 +<​Code:​bash>​
 +# systemctl is-enabled httpd
 +disabled ​
 +</​Code>​
 +Verify result is not "​enabled"​.
 +
 +=====Remediation===== ​
 +Run the following command to disable ''​httpd'':​
 +<​Code:​bash>​
 +# systemctl disable httpd
 +</​Code>​