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

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version

Information

The /etc/hosts file (or equivalent) configures local host name to IP address mappings typically taking precedence over DNS resolution. If this file is maliciously modified, it could cause the failure or compromise of security functions requiring name resolution, such as time synchronization, centralized authentication, and remote system logging.

Solution

Open a terminal session and use the following command to set the mode of the etc/hosts file.

chmod 644 /etc/hosts

See Also

http://iase.disa.mil/stigs/os/mac/u_mac_osx_10.6_v1r3_stig_20130426.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6, CAT|II, CCI|CCI-000225, CSCv6|3.1, Rule-ID|SV-38085r1_rule, STIG-ID|GEN001368-M6, Vuln-ID|V-22325

Plugin: Unix

Control ID: 375d8336567469d2131b7be8c3c602b17176927444f325350ed2592f51db6022