Information
AlmaLinux OS 9 must prevent the chrony daemon from acting as a server.
GROUP ID: V-269333
RULE ID: SV-269333r1050215
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.
Solution
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