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

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

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-5(6), CAT|II, CCI|CCI-000225, CCI|CCI-001499, Rule-ID|SV-218284r603259_rule, STIG-ID|GEN001367, STIG-Legacy|SV-64523, STIG-Legacy|V-22324, Vuln-ID|V-218284

Plugin: Unix

Control ID: d048b79ad66821ba16d547d0b5684db94de011e901e64e5fd76006ff52ab4de0