Check: PHTN-67-000084
VMware vSphere 6.7 Photon OS STIG:
PHTN-67-000084
(in versions v1 r6 through v1 r1)
Title
The Photon operating system must configure sshd to disable environment processing. (Cat II impact)
Discussion
Enabling environment processing may enable users to bypass access restrictions in some configurations and must therefore be disabled.
Check Content
At the command line, execute the following command: sshd -T|&grep -i PermitUserEnvironment Expected result: PermitUserEnvironment no If the output does not match the expected result, this is a finding.
Fix Text
Open /etc/ssh/sshd_config with a text editor. Ensure that the "PermitUserEnvironment" line is uncommented and set to the following: PermitUserEnvironment no At the command line, execute the following command: # service sshd reload
Additional Identifiers
Rule ID: SV-239155r675273_rule
Vulnerability ID: V-239155
Group Title: SRG-OS-000480-GPOS-00227
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-000366 |
The organization implements the security configuration settings. |
Controls
Number | Title |
---|---|
CM-6 |
Configuration Settings |