RHEL-07-010460 - The Red Hat Enterprise Linux operating system must not allow users to override SSH environment variables.

Information

Failure to restrict system access to authenticated users negatively impacts operating system security.

Solution

Configure the operating system to not allow users to override environment variables to the SSH daemon.

Edit the '/etc/ssh/sshd_config' file to uncomment or add the line for 'PermitUserEnvironment' keyword and set the value to 'no':

PermitUserEnvironment no

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-204434r991591_rule, STIG-ID|RHEL-07-010460, STIG-Legacy|SV-86581, STIG-Legacy|V-71957, Vuln-ID|V-204434

Plugin: Unix

Control ID: 2ad669c411f5a2818736f1fb39d9ff4dee3fcfc987b79f97993451bcdd5bb174