GEN001364 - The /etc/resolv.conf file must have mode 0644 or less permissive.

Information

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.

Solution

Change the mode of the /etc/resolv.conf file to 0644 or less permissive.
# chmod 0644 /etc/resolv.conf

See Also

http://iasecontent.disa.mil/stigs/zip/U_STIG_Library_2015_07.zip

Item Details

Category: ACCESS CONTROL

References: 800-53|AC-6, CAT|II, CCI|CCI-000225, Rule-ID|SV-26397r1_rule, STIG-ID|GEN001364, Vuln-ID|V-22321

Plugin: Unix

Control ID: 6e4df6edefe32748ca13c67325b7b2af5a2692be6053e2dbaa5d352ff76ff3a5