RHEL 10 must not have a File Transfer Protocol (FTP) server package installed.

STIG ID: RHEL-10-200090  |  SRG: SRG-OS-000074-GPOS-00042 |  Severity: high (CAT I)  |  CCI: CCI-000197,CCI-000381 |  Vulnerability Id: V-280951

Vulnerability Discussion

The FTP service provides an unencrypted remote access that does not provide for the confidentiality and integrity of user passwords or the remote session. If a privileged user were to log in using this service, the privileged user password could be compromised. Secure Shell (SSH) or other encrypted file transfer methods must be used in place of this service.

Removing the "vsftpd" package decreases the risk of accidental activation.

Satisfies: SRG-OS-000074-GPOS-00042, SRG-OS-000095-GPOS-00049

Check

Verify RHEL 10 does not have an FTP server package installed with the following command:

$ sudo dnf list --installed vsftp
Error: No matching Packages to list

If the "vsftp" package is installed, this is a finding.

Fix

Configure RHEL 10 to not have the FTP package installed with the following command (using "vsftpd" as an example):

$ sudo dnf -y remove vsftpd