Information
The File Transfer Protocol (FTP) provides networked computers with the ability to transfer files.
Rationale:
FTP does not protect the confidentiality of data or authentication credentials. It is recommended SFTP be used if file transfer is required. Unless there is a need to run the system as a FTP server (for example, to allow anonymous downloads), it is recommended that the package be deleted to reduce the potential attack surface.
Solution
Run the following command to disable vsftpd :
# systemctl disable vsftpd
Notes:
Additional methods of disabling a service exist. Consult your distribution documentation for appropriate methods.
Additional FTP servers also exist and should be audited.
This Benchmark recommendation maps to:
Red Hat Enterprise Linux 7 Security Technical Implementation Guide:
Version 2, Release: 3 Benchmark Date: 26 Apr 2019
Vul ID: V-72299
Rule ID: SV-86923r3_rule
STIG ID: RHEL-07-040690
Severity: CAT I