Check: RHEL-09-215015
RHEL 9 STIG:
RHEL-09-215015
(in version v2 r5)
Title
RHEL 9 must not have a File Transfer Protocol (FTP) server package installed. (Cat I impact)
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. Removing the "vsftpd" package decreases the risk of accidental activation. If FTP is required for operational support (such as transmission of router configurations), its use must be documented with the information systems security manager (ISSM), restricted to only authorized personnel, and have access control rules established. Satisfies: SRG-OS-000074-GPOS-00042, SRG-OS-000095-GPOS-00049, SRG-OS-000480-GPOS-00227
Check Content
Verify RHEL 9 does not have an FTP server package installed with the following command: $ sudo dnf list --installed vsftpd Error: No matching Packages to list If the "ftp" package is installed, this is a finding.
Fix Text
The ftp package can be removed with the following command (using vsftpd as an example): $ sudo dnf remove vsftpd
Additional Identifiers
Rule ID: SV-257826r1106299_rule
Vulnerability ID: V-257826
Group Title: SRG-OS-000074-GPOS-00042
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-000197 |
For password-based authentication, transmit passwords only over cryptographically-protected channels. |
CCI-000381 |
Configure the system to provide only organization-defined mission essential capabilities. |