AIX7-00-002142 - The AIX /etc/hosts file must have a mode of 0640 or less permissive.

Information

Unauthorized permissions of the /etc/hosts file can lead to the ability for a malicious actor to redirect traffic to servers of their choice. It is also possible to use the /etc/hosts file to block detection by security software by blocking the traffic to all the download or update servers of well-known security vendors.

Solution

Change the mode of the file to 0640 using command:
# chmod 0640 /etc/hosts

See Also

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

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|II, CCI|CCI-000366, Rule-ID|SV-245559r991589_rule, STIG-ID|AIX7-00-002142, Vuln-ID|V-245559

Plugin: Unix

Control ID: e0a550faa0e003b60ee2b22e9556a636732258f8272f03497f3d5bf960850ef9