{"description": "The <tt>port</tt> option in <tt>/etc/chrony/chrony.conf</tt> can be set to\n<tt>0</tt> to make chrony daemon to never open any listening port\nfor server operation and to operate strictly in a client-only mode.", "rationale": "In order to prevent unauthorized connection of devices, unauthorized transfer of information, or unauthorized tunneling (i.e., embedding of data types within data types), organizations must disable or restrict unused or unnecessary physical and logical ports/protocols on information systems.\nOperating systems are capable of providing a wide variety of functions and services. Some of the functions and services provided by default may not be necessary to support essential organizational operations. Additionally, it is sometimes convenient to provide multiple services from a single component (e.g., VPN and IPS); however, doing so increases risk over limiting the services provided by any one component.\nTo support the requirements and principles of least functionality, the operating system must support the organizational requirements, providing only essential capabilities and limiting the use of ports, protocols, and/or services to only those required, authorized, and approved to conduct official business or to address authorized quality of life issues.", "severity": "low", "references": {"nist": ["AU-8(1)", "AU-12(1)"], "ospp": ["FMT_SMF_EXT.1"], "srg": ["SRG-OS-000096-GPOS-00050", "SRG-OS-000095-GPOS-00049"]}, "control_references": {}, "components": [], "identifiers": {}, "ocil_clause": "the \"port\" option is not set to \"0\", is commented out, or is missing", "ocil": "Verify Ubuntu 22.04 disables the chrony daemon from acting as a server with the following command:\n<pre>$ grep -w port /etc/chrony/chrony.conf</pre>\n<pre>port 0</pre>", "oval_external_content": null, "fixtext": "Configure Ubuntu 22.04 to disable the chrony daemon from acting as a server by adding/modifying the following line in the /etc/chrony/chrony.conf file:\n\nport 0", "checktext": "", "vuldiscussion": "", "srg_requirement": "Ubuntu 22.04 must disable the chrony daemon from acting as a server.", "warnings": [], "conflicts": [], "requires": [], "policy_specific_content": {"stig": {"srg_requirement": "Ubuntu 22.04 must disable the chrony daemon from acting as a server.", "vuldiscussion": "Minimizing the exposure of the server functionality of the chrony daemon diminishes the attack surface.", "checktext": "Verify Ubuntu 22.04 disables the chrony daemon from acting as a server with the following command:\n\n$ grep -w port /etc/chrony.conf\n\nport 0\n\nIf the \"port\" option is not set to \"0\", is commented out, or is missing, this is a finding.", "fixtext": "Configure Ubuntu 22.04 to disable the chrony daemon from acting as a server by adding/modifying the following line in the /etc/chrony.conf file:\n\nport 0"}}, "platform": "package[chrony]", "platforms": ["package[chrony]"], "sce_metadata": {}, "inherited_platforms": ["system_with_kernel"], "cpe_platform_names": ["package_chrony"], "inherited_cpe_platform_names": ["system_with_kernel"], "bash_conditional": null, "fixes": {}, "title": "Disable chrony daemon from acting as server", "definition_location": "/aptdata/openscap/scap-security-guide/linux_os/guide/services/ntp/chronyd_client_only/rule.yml", "template": null}