GEN005522 - The SSH public host key files must have mode 0644 or less permissive.

Information

If a public host key file is modified by an unauthorized user, the SSH service may be compromised.

Solution

Change the permissions for the SSH public host key files.

# chmod 0644 /etc/ssh/*key.pub

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_Oracle_Linux_5_V2R1_STIG.zip

Item Details

Category: ACCESS CONTROL, CONFIGURATION MANAGEMENT

References: 800-53|AC-6, 800-53|CM-6b., CAT|II, CCI|CCI-000225, CCI|CCI-000366, Rule-ID|SV-218607r603259_rule, STIG-ID|GEN005522, STIG-Legacy|SV-63841, STIG-Legacy|V-22471, Vuln-ID|V-218607

Plugin: Unix

Control ID: 6af4c91c221a9dda9e4f1af8b71d40ef99a10d98920c2f9c100ddaf1e8056e7b