AlmaLinux OS 9 must prevent the chrony daemon from acting as a server.

Severity
Group ID
Group Title
Version
Rule ID
Date
STIG Version
mediumV-269333SRG-OS-000095-GPOS-00049ALMA-09-028620SV-269333r1050215_rule2025-02-201
Description
Being able to determine the system time of a server can be useful information for various attacks from timebomb attacks to location discovery based on time zone. Minimizing the exposure of the server functionality of the chrony daemon reduces the attack surface.
ℹ️ Check
Verify AlmaLinux OS 9 disables the chrony daemon from acting as a server with the following command: $ chronyd -p | grep -w port port 0 If the "port" option is not set to "0" or is missing, this is a finding.
✔️ Fix
Configure AlmaLinux OS 9 to disable the chrony daemon from acting as a server by adding/modifying the following line in the /etc/chrony.conf file: port 0