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

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

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

Item Details

Category: ACCESS CONTROL

References: 800-53|AC-3(4), CAT|II, CCI|CCI-000225, Rule-ID|SV-63643r1_rule, STIG-ID|GEN004390, Vuln-ID|V-22439

Plugin: Unix

Control ID: 897b251f3bb7860b152bf229693811b346a349b82ea2fc79992e798f93cf741a