UCF STIG Viewer Logo

The /etc/resolv.conf file must not have an extended ACL.


Overview

Finding ID Version Rule ID IA Controls Severity
V-22322 GEN001365 SV-64513r1_rule Medium
Description
The resolv.conf (or equivalent) file configures the system's DNS resolver. DNS is used to resolve host names to IP addresses. If DNS configuration is modified maliciously, host name resolution may fail or return incorrect information. DNS may be used by a variety of system security functions such as time synchronization, centralized authentication, and remote system logging.
STIG Date
Oracle Linux 5 Security Technical Implementation Guide 2020-02-25

Details

Check Text ( C-52927r1_chk )
Verify /etc/resolv.conf has no extended ACL.
# ls -l /etc/resolv.conf

If the permissions include a '+', the file has an extended ACL. If the file has an extended ACL and it has not been documented with the IAO, this is a finding.
Fix Text (F-55107r1_fix)
Remove the extended ACL from the file.
# setfacl --remove-all /etc/resolv.conf