OL09-00-000145 - OL 9 must not have a graphical display manager installed unless approved.

Information

Unnecessary service packages must not be installed 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.

Solution

Remove all xorg packages with the following command:

Warning: If accessing the system through the graphical user interface, change to the multi-user.target with the following command:

$ sudo systemctl isolate multi-user.target

Warning: Removal of the graphical user interface will immediately render it useless. The following commands must not be run from a virtual terminal emulator in the graphical interface.

$ sudo dnf remove "xorg*"
$ sudo systemctl set-default multi-user.target

If there is an operational requirement for a graphical user interface it must be documented with the ISSO.

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_Oracle_Linux_9_V1R2_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-7b., CAT|II, CCI|CCI-000382, Rule-ID|SV-271465r1091107_rule, STIG-ID|OL09-00-000145, Vuln-ID|V-271465

Plugin: Unix

Control ID: 3ee61f0508b859e1e1f50f8e094ea2556700e7beb15279d957c4a8915b2cbe2c