RHEL-10-800310 - RHEL 10 must be configured to operate in secure mode if the Trivial File Transfer Protocol (TFTP) server service is required.

Information

Restricting TFTP to a specific directory prevents remote users from copying, transferring, or overwriting system files.

Solution

Configure RHEL 10 TFTP to operate in secure mode with the following command:

$ sudo systemctl edit tftp.service

In the editor, enter the following:

[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

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_RHEL_10_V1R1_STIG.zip

Item Details

Category: IDENTIFICATION AND AUTHENTICATION

References: 800-53|IA-5(1)(c), CAT|II, CCI|CCI-000197, Rule-ID|SV-281363r1195454_rule, STIG-ID|RHEL-10-800310, Vuln-ID|V-281363

Plugin: Unix

Control ID: e210f20051784db708d96f8140e456160ce38ed5e33f8bd96a29ba3f806ded6a