GEN001368 - The /etc/hosts file must have mode 0644 or less permissive.

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 mode of the /etc/hosts file to 0644 or less permissive.

# chmod 0644 /etc/hosts

See Also

https://iasecontent.disa.mil/stigs/zip/U_AIX_6-1_V1R14_STIG.zip

Item Details

Category: ACCESS CONTROL

References: 800-53|AC-6, CAT|II, CCI|CCI-000225, Group-ID|V-22325, Rule-ID|SV-26412r1_rule, STIG-ID|GEN001368, Vuln-ID|V-22325

Plugin: Unix

Control ID: 00522a3785fe83e7925226c35bb5dc2974a7beada3b68e1fe9f679c1ab65074a