UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

The /etc/hosts file must not have an extended ACL.


Overview

Finding ID Version Rule ID IA Controls Severity
V-22326 GEN001369 M6 SV-38086r1_rule ECLP-1 Medium
Description
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.
STIG Date
MAC OSX 10.6 Workstation Security Technical Implementation Guide Draft 2013-01-10

Details

Check Text ( C-37622r1_chk )
Open a terminal session and enter the following command to view the /etc/hosts file extended ACLs.

ls -lL /etc/hosts

If the permissions include a '+', the file has an extended ACL, this is a finding.
Fix Text (F-32864r1_fix)
Open a terminal session and enter the following command to remove the extended ACLs.

chmod -N /etc/hosts