RHEL-07-040450 - The Red Hat Enterprise Linux operating system must be configured so that the SSH daemon performs strict mode checking of home directory configuration files.

Information

If other users have access to modify user-specific SSH configuration files, they may be able to log on to the system as another user.

Solution

Uncomment the 'StrictModes' keyword in '/etc/ssh/sshd_config' (this file may be named differently or be in a different location if using a version of SSH that is provided by a third-party vendor) and set the value to 'yes':

StrictModes yes

The SSH service must be restarted for changes to take effect.

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_RHEL_7_V3R15_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|II, CCI|CCI-000366, Rule-ID|SV-204600r991589_rule, STIG-ID|RHEL-07-040450, STIG-Legacy|SV-86887, STIG-Legacy|V-72263, Vuln-ID|V-204600

Plugin: Unix

Control ID: aa553310f289d84e4d1f6be99c7bccabbdb17f33eacbe41dd6b8cd65f448af5f