Check: GEN005504
Title
The SSH daemon must only listen on management network addresses unless authorized for uses other than management. (Cat II impact)
Discussion
The SSH daemon should only listen on network addresses designated for management traffic. If the system has multiple network interfaces and SSH listens on addresses not designated for management traffic, the SSH service could be subject to unauthorized access. If SSH is used for purposes other than management, such as providing an SFTP service, the list of approved listening addresses may be documented.
Check Content
Check the SSH daemon configuration for listening network addresses. # grep -i Listen /etc/ssh/sshd_config | grep -v '^#' # grep -i Listen /etc/openssh/sshd_config | grep -v '^#' If no configuration is returned, or if a returned Listen configuration contains addresses not designated for management traffic, this is a finding.
Fix Text
Edit the SSH daemon configuration to specify listening network addresses designated for management traffic.
Additional Identifiers
Rule ID:
Vulnerability ID: V-22457
Group Title:
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-000069 |
The information system routes all remote accesses through an organization-defined number of managed network access control points. |
Controls
Number | Title |
---|---|
AC-17 (3) |
Managed Access Control Points |