The Photon operating system must configure sshd to disallow compression of the encrypted session stream.
Severity | Group ID | Group Title | Version | Rule ID | Date | STIG Version |
---|---|---|---|---|---|---|
medium | V-256553 | SRG-OS-000480-GPOS-00227 | PHTN-30-000084 | SV-256553r991589_rule | 2024-12-16 | 1 |
Description |
---|
If compression is allowed in a Secure Shell (SSH) connection prior to authentication, vulnerabilities in the compression software could result in compromise of the system from an unauthenticated connection. |
ℹ️ Check |
---|
At the command line, run the following command: # sshd -T|&grep -i Compression Expected result: Compression no If the output does not match the expected result, this is a finding. |
✔️ Fix |
---|
Navigate to and open: /etc/ssh/sshd_config Ensure the "Compression" line is uncommented and set to the following: Compression no At the command line, run the following command: # systemctl restart sshd.service |