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.

*Rationale*

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/91

Item Details

Category: CONFIGURATION MANAGEMENT

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

Plugin: Unix

Control ID: 04cf81e1207595ddd57b938f95da5017a9ef8542f2db70f06d673882c0f53f60