7.4.3 Verify Permissions on /etc/hosts.allow

Information

The /etc/hosts.allow file contains networking information that is used by many applications and therefore must be readable for these applications to operate. It is critical to ensure that the /etc/hosts.allow file is protected from unauthorized write access. Although it is protected by default, the file permissions could be changed either inadvertently or through malicious actions.

Solution

If the permissions of the /etc/hosts.allow file are incorrect, run the following command to correct them- # /bin/chmod 644 /etc/hosts.allow

See Also

https://workbench.cisecurity.org/files/85

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CSCv6|3.1

Plugin: Unix

Control ID: 7e49d51898f3e395d86c5d3673a202dc45e3e8d8ffede31c3e5cba4a284b59a9