AIX7-00-002140 - The AIX /etc/hosts file must be owned by root.

Information

Unauthorized ownership 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 ownership of the file to root using command:
# chown root /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-245557r991589_rule, STIG-ID|AIX7-00-002140, Vuln-ID|V-245557

Plugin: Unix

Control ID: b1e45618432bdc306aae71ea6ffdbf62bb50bc2c6a6bad969744ef981247313f