UCF STIG Viewer Logo

The SSH daemon must perform strict mode checking of home directory configuration files.


Overview

Finding ID Version Rule ID IA Controls Severity
V-22485 GEN005536 SV-37900r2_rule Medium
Description
If other users have access to modify user-specific SSH configuration files, they may be able to log into the system as another user.
STIG Date
Red Hat Enterprise Linux 5 Security Technical Implementation Guide 2017-03-01

Details

Check Text ( C-37126r1_chk )
Check the SSH daemon configuration for the StrictModes setting.
# grep -i StrictModes /etc/ssh/sshd_config | grep -v '^#'
If the setting is not present, or not set to "yes", this is a finding.

Fix Text (F-32394r2_fix)
Edit the SSH daemon configuration and add or edit the "StrictModes" setting value to "yes".

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