GEN004390 - The alias file must not have an extended ACL - '/etc/aliases.db'

Information

Excessive permissions on the aliases file may permit unauthorized modification. If the alias file is modified by an unauthorized user, they may modify the file to run malicious code or redirect e-mail.

Solution

Remove the extended permissions from the alias files.
Procedure:
for sendmail:
# setfacl --remove-all /etc/aliases /etc/aliases.db

for postfix (assuming the default postfix directory):
# setfacl --remove-all /etc/postfix/aliases /etc/postfix/aliases.db

See Also

http://iasecontent.disa.mil/stigs/zip/U_RedHat_5_V1R17_STIG.zip

Item Details

Category: ACCESS CONTROL

References: 800-53|AC-3, CAT|II, CCI|CCI-000225, Group-ID|V-22439, Rule-ID|SV-37488r2_rule, STIG-ID|GEN004390

Plugin: Unix

Control ID: 61b3b23969cacbeaf6ca1fa1970991ee8dbeecaa23a1cb2cd2c805944dbbe586