UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

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


Overview

Finding ID Version Rule ID IA Controls Severity
V-239164 PHTN-67-000093 SV-239164r675300_rule Medium
Description
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.
STIG Date
VMware vSphere 6.7 Photon OS Security Technical Implementation Guide 2021-04-15

Details

Check Text ( C-42375r675298_chk )
At the command line, execute the following command:

# sshd -T|&grep -i IgnoreUserKnownHosts

Expected result:

IgnoreUserKnownHosts yes

If the output does not match the expected result, this is a finding.
Fix Text (F-42334r675299_fix)
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