Check: SOL-11.1-050460
Solaris 11 SPARC STIG:
SOL-11.1-050460
(in versions v2 r10 through v1 r10)
Title
The operating system must terminate all sessions and network connections when non-local maintenance is completed. (Cat II impact)
Discussion
Non-local maintenance and diagnostic activities are those activities conducted by individuals communicating through a network, either an external network (e.g., the Internet) or an internal network. The operating system needs to ensure all sessions and network connections are terminated when non-local maintenance is completed.
Check Content
Determine if SSH is configured to disconnect sessions after 10 minutes of inactivity. # grep ClientAlive /etc/ssh/sshd_config If the output of this command is not: ClientAliveInterval 600 ClientAliveCountMax 0 this is a finding.
Fix Text
The root role is required. Configure the system to disconnect SSH sessions after 10 minutes of inactivity. # pfedit /etc/ssh/sshd_config Insert the two lines: ClientAliveInterval 600 ClientAliveCountMax 0 Restart the SSH service with the new configuration. # svcadm restart svc:/network/ssh
Additional Identifiers
Rule ID: SV-216399r603267_rule
Vulnerability ID: V-216399
Group Title: SRG-OS-000126
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-000879 |
The organization terminates sessions and network connections when nonlocal maintenance is completed. |
Controls
Number | Title |
---|---|
MA-4 |
Nonlocal Maintenance |