RHEL 9 must disable network management of the chrony daemon.

STIG ID: RHEL-09-252030  |  SRG: SRG-OS-000096-GPOS-00050 |  Severity: low |  CCI: CCI-000381,CCI-000382 |  Vulnerability Id: V-257947

Vulnerability Discussion

Not exposing the management interface of the chrony daemon on the network diminishes the attack space.

Satisfies: SRG-OS-000096-GPOS-00050, SRG-OS-000095-GPOS-00049

Check

Verify RHEL 9 disables network management of the chrony daemon with the following command:

$ grep -w cmdport /etc/chrony.conf

cmdport 0

If the "cmdport" option is not set to "0", is commented out, or is missing, this is a finding.

Fix

Configure RHEL 9 to disable network management of the chrony daemon by adding/modifying the following line in the /etc/chrony.conf file:

cmdport 0