Information
Internet services that are not required for system or application processes must not be active to decrease the attack surface of the system. Graphical display managers have a long history of security vulnerabilities and must not be used unless approved and documented.
NOTE: Nessus has provided the target output to assist in reviewing the benchmark to ensure target compliance.
Solution
Document the requirement for a graphical user interface with the ISSO or reinstall the operating system without the graphical user interface. If reinstallation is not feasible, then continue with the following procedure:
Open an SSH session and enter the following commands:
$ sudo systemctl set-default multi-user.target
$ sudo yum remove xorg-x11-server-Xorg xorg-x11-server-common xorg-x11-server-utils
A reboot is required for the changes to take effect.