The SSH daemon must not permit user environment settings.

From Oracle Linux 6 Security Technical Implementation Guide

Part of SRG-OS-000242

Associated with: CCI-001414

SV-65011r1_rule The SSH daemon must not permit user environment settings.

Vulnerability discussion

SSH environment options potentially allow users to bypass access restriction in some configurations.

Check content

To ensure users are not able to present environment daemons, run the following command: # grep PermitUserEnvironment /etc/ssh/sshd_config If properly configured, output should be: PermitUserEnvironment no If it is not, this is a finding.

Fix text

To ensure users are not able to present environment options to the SSH daemon, add or correct the following line in "/etc/ssh/sshd_config": PermitUserEnvironment no

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