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

From Oracle Linux 5 Security Technical Implementation Guide

Part of GEN005536

Associated with: CCI-000225

SV-64067r1_rule The SSH daemon must perform strict mode checking of home directory configuration files.

Vulnerability discussion

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

Check content

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

Edit the SSH daemon configuration and add or edit the "StrictModes" setting value to "yes". Restart the SSH daemon. # /sbin/service sshd restart

Pro Tips

Lavender hyperlinks in small type off to the right (of CSS class id, if you view the page source) point to globally unique URIs for each document and item. Copy the link location and paste anywhere you need to talk unambiguously about these things.

You can obtain data about documents and items in other formats. Simply provide an HTTP header Accept: text/turtle or Accept: application/rdf+xml.

Powered by sagemincer