Note: The "-s" option ensures that the TFTP server only serves files from the specified directory, which is a security measure to prevent unauthorized access to other parts of the file system.
If the TFTP server is installed but the TFTP daemon is not configured to operate in secure mode, this is a finding.
Fix
Configure the TFTP daemon to operate in secure mode with the following command: $ sudo systemctl edit tftp.service
In the editor enter: [Service] ExecStart=/usr/sbin/in.tftpd -s /var/lib/tftpboot
After making changes, reload the systemd daemon and restart the TFTP service as follows: $ sudo systemctl daemon-reload $ sudo systemctl restart tftp.service