7.4.5 Verify Permissions on /etc/hosts.deny

Information

The /etc/hosts.deny file contains network information that is used by many system applications and therefore must be readable for these applications to operate. It is critical to ensure that the /etc/hosts.deny 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.deny file are incorrect, run the following command to correct them- # /bin/chmod 644 /etc/hosts.deny

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: 5d6f734201991e64dca19490072fbdded67bf025041b7e82db459a0736d1f282