GEN001367 - The /etc/hosts file must be group-owned by root, bin, sys, or system.

Information

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.

Solution

Change the group-owner of the /etc/hosts file to root, sys, or bin.

Procedure:
# chgrp root /etc/hosts

See Also

http://iasecontent.disa.mil/stigs/zip/U_RedHat_5_V1R18_STIG.zip

Item Details

Category: ACCESS CONTROL

References: 800-53|AC-6, CAT|II, CCI|CCI-000225, Group-ID|V-22324, Rule-ID|SV-37315r1_rule, STIG-ID|GEN001367, Vuln-ID|V-22324

Plugin: Unix

Control ID: 1eb6ec026b166045d329c5c38826c875f7474afefb9dca409e1b599dea301eb2