GEN001362 - The /etc/resolv.conf file must be owned by root.

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 owner of the /etc/resolv.conf file to root.
# chown root /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-26395r1_rule, STIG-ID|GEN001362, Vuln-ID|V-22319

Plugin: Unix

Control ID: 238e061e6517d9832b9c306358eb11754acebe3dc8dcc5c32114ad1827c1b657