PHTN-67-000093 - The Photon operating system must configure sshd to ignore user-specific known_host files.

Information

SSH trust relationships enable trivial lateral spread after a host compromise and therefore must be explicitly disabled. Individual users can have a local list of trusted remote machines which must also be ignored while disabling host-based authentication generally.

Solution

Open /etc/ssh/sshd_config with a text editor.

Ensure that the 'IgnoreUserKnownHosts' line is uncommented and set to the following:

IgnoreUserKnownHosts yes

At the command line, execute the following command:

# service sshd reload

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_VMW_vSphere_6-7_Y23M07_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|II, CCI|CCI-000366, Rule-ID|SV-239164r675300_rule, STIG-ID|PHTN-67-000093, Vuln-ID|V-239164

Plugin: Unix

Control ID: c0b62570bf4683b6a805201dd7d64a14bd6b6e880740be142de96e9e8eede6be