The Photon operating system must configure sshd to disable environment processing.
An XCCDF Rule
Description
<VulnDiscussion>Enabling environment processing may enable users to bypass access restrictions in some configurations and must therefore be disabled.</VulnDiscussion><FalsePositives></FalsePositives><FalseNegatives></FalseNegatives><Documentable>false</Documentable><Mitigations></Mitigations><SeverityOverrideGuidance></SeverityOverrideGuidance><PotentialImpacts></PotentialImpacts><ThirdPartyTools></ThirdPartyTools><MitigationControl></MitigationControl><Responsibility></Responsibility><IAControls></IAControls>
- ID
- SV-256548r887318_rule
- Severity
- Medium
- References
- Updated
Remediation - Manual Procedure
Navigate to and open:
/etc/ssh/sshd_config
Ensure the "PermitUserEnvironment" line is uncommented and set to the following: