Finding ID | Version | Rule ID | IA Controls | Severity |
---|---|---|---|---|
V-22323 | GEN001366 | SV-37309r1_rule | ECLP-1 | Medium |
Description |
---|
The /etc/hosts file (or equivalent) configures local host name to IP address mappings that typically take precedence over DNS resolution. If this file is maliciously modified, it could cause the failure or compromise of security functions requiring name resolution, which may include time synchronization, centralized authentication, and remote system logging. |
STIG | Date |
---|---|
Red Hat Enterprise Linux 5 Security Technical Implementation Guide | 2015-06-12 |
Check Text ( C-36003r1_chk ) |
---|
Verify the /etc/hosts file is owned by root. # ls -l /etc/hosts If the file is not owned by root, this is a finding. |
Fix Text (F-31256r1_fix) |
---|
Change the owner of the /etc/hosts file to root. # chown root /etc/hosts |