Vulnerability Discussion
If the system does not require Trivial File Transfer Protocol (TFTP), support it is nonessential and must be disabled.
The information system must be configured to provide only essential capabilities. Disabling TFTP helps prevent the unauthorized connection of devices and the unauthorized transfer of information.
Note: TFTP service is disabled at startup by default macOS.
Satisfies: SRG-OS-000074-GPOS-00042,SRG-OS-000080-GPOS-00048
Check
Verify the macOS system is configured to disable trivial file transfer protocol service with the following command:
/bin/launchctl print-disabled system | /usr/bin/grep -c '"com.apple.tftpd" => disabled'
If the result is not "1", this is a finding.
Fix
Configure the macOS system to disable trivial file transfer protocol service with the following command:
/bin/launchctl disable system/com.apple.tftpd
The system may need to be restarted for the update to take effect.