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.
# chmod 0644 /etc/resolv.conf

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_Oracle_Linux_5_V2R1_STIG.zip

Item Details

Category: ACCESS CONTROL, CONFIGURATION MANAGEMENT

References: 800-53|AC-6, 800-53|CM-5(6), CAT|II, CCI|CCI-000225, CCI|CCI-001499, Rule-ID|SV-218281r603259_rule, STIG-ID|GEN001364, STIG-Legacy|SV-64185, STIG-Legacy|V-22321, Vuln-ID|V-218281

Plugin: Unix

Control ID: 0231de7f63a26e41aaacc095c02a313b2e76de1043c21f4f06d4c56c09662b22