RHEL-09-255170 - RHEL 9 SSH daemon must be configured to use privilege separation.

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version

Information

SSH daemon privilege separation causes the SSH process to drop root privileges when not needed, which would decrease the impact of software vulnerabilities in the nonprivileged section.

Solution

Configure the SSH daemon to perform privilege separation.

Add the following line in '/etc/ssh/sshd_config', or uncomment the line and set the value to 'yes' or 'sandbox':

UsePrivilegeSeparation sandbox

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

$ sudo systemctl restart sshd.service

See Also

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

Item Details

References: CAT|II, CCI|CCI-000366, Rule-ID|SV-258010r926017_rule, STIG-ID|RHEL-09-255170, Vuln-ID|V-258010

Plugin: Unix

Control ID: 5f9ccb4ca258214a72917a0e8bf66114d64c7a3a1520395e87d65f8aa755004f