RHEL 9 SSH daemon must be configured to use privilege separation.
An XCCDF Rule
Description
<VulnDiscussion>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.</VulnDiscussion><FalsePositives></FalsePositives><FalseNegatives></FalseNegatives><Documentable>false</Documentable><Mitigations></Mitigations><SeverityOverrideGuidance></SeverityOverrideGuidance><PotentialImpacts></PotentialImpacts><ThirdPartyTools></ThirdPartyTools><MitigationControl></MitigationControl><Responsibility></Responsibility><IAControls></IAControls>
- ID
- SV-258010r926017_rule
- Severity
- Medium
- References
- Updated
Remediation - Manual Procedure
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