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-46098r2_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
SUSE Linux Enterprise Server v11 for System z Security Technical Implementation Guide 2018-09-19

Details

Check Text ( C-43355r1_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-39442r2_fix)
Edit the /etc/ssh/sshd_config file and add or edit the "StrictModes" setting value to "yes".

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