UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

The SSH daemon must be configured to not use Cipher-Block Chaining (CBC) ciphers.


Overview

Finding ID Version Rule ID IA Controls Severity
V-22459 GEN005506 SV-26752r2_rule ECSC-1 Medium
Description
The Cipher-Block Chaining (CBC) mode of encryption as implemented in the SSHv2 protocol is vulnerable to chosen plain text attacks and must not be used.
STIG Date
Red Hat Enterprise Linux 5 Security Technical Implementation Guide 2013-04-10

Details

Check Text ( C-27761r1_chk )
Check the SSH daemon configuration for allowed ciphers.
# grep -i ciphers /etc/ssh/sshd_config | grep -v '^#'
If no lines are returned, or the returned ciphers list contains any cipher ending with cbc, this is a finding.
Fix Text (F-24001r2_fix)
Edit /etc/ssh/sshd_config and add or edit the "Ciphers" line. Only include ciphers that start with "3des" or "aes" and do not contain "cbc". For the list of available ciphers for the particular version of your software, consult the sshd_config manpage.

Restart the SSH daemon.