RHEL 9 SSH daemon must perform strict mode checking of home directory configuration files.
An XCCDF Rule
Description
<VulnDiscussion>If other users have access to modify user-specific SSH configuration files, they may be able to log into the system as another user.</VulnDiscussion><FalsePositives></FalsePositives><FalseNegatives></FalseNegatives><Documentable>false</Documentable><Mitigations></Mitigations><SeverityOverrideGuidance></SeverityOverrideGuidance><PotentialImpacts></PotentialImpacts><ThirdPartyTools></ThirdPartyTools><MitigationControl></MitigationControl><Responsibility></Responsibility><IAControls></IAControls>
- ID
- SV-258008r991589_rule
- Severity
- Medium
- References
- Updated
Remediation - Manual Procedure
Configure the SSH daemon to perform strict mode checking of home directory configuration files.
Add the following line in "/etc/ssh/sshd_config", or uncomment the line and set the value to "yes":
StrictModes yes