UCF STIG Viewer Logo

The SSH daemon must not allow compression or must only allow compression after successful authentication.


Overview

Finding ID Version Rule ID IA Controls Severity
V-22488 GEN005539 SV-37908r2_rule Medium
Description
If compression is allowed in an SSH connection prior to authentication, vulnerabilities in the compression software could result in compromise of the system from an unauthenticated connection, potentially with root privileges.
STIG Date
Red Hat Enterprise Linux 5 Security Technical Implementation Guide 2017-03-01

Details

Check Text ( C-37134r1_chk )
Check the SSH daemon configuration for the compression setting.
# grep -i Compression /etc/ssh/sshd_config | egrep "no|delayed"
If the setting is missing or is commented out, this is a finding.
If the setting is present but is not set to "no" or "delayed", this is a finding.

Fix Text (F-32403r2_fix)
Edit the SSH daemon configuration and add or edit the "Compression" setting value to "no" or "delayed".

Restart the SSH daemon.
# /sbin/service sshd restart