A File Transfer Protocol (FTP) server package must not be installed unless mission essential on RHEL 8.

STIG ID: RHEL-08-040360  |  SRG: SRG-OS-000480-GPOS-00227 | Severity: high |  CCI: CCI-000366

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 on using this service, the privileged user password could be compromised. SSH or other encrypted file transfer methods must be used in place of this service.

Check

Verify an FTP server has not been installed on the system with the following commands:

$ sudo yum list installed *ftpd*

vsftpd.x86_64 3.0.3-28.el8 appstream

If an FTP server is installed and is not documented with the Information System Security Officer (ISSO) as an operational requirement, this is a finding.

Fix

Document the FTP server package with the ISSO as an operational requirement or remove it from the system with the following command:

$ sudo yum remove vsftpd