GEN004390 - The alias file must not have an extended ACL - '/etc/postfix/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

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

Item Details

Category: ACCESS CONTROL, CONFIGURATION MANAGEMENT

References: 800-53|AC-6, 800-53|CM-5(6), CAT|II, CCI|CCI-000225, CCI|CCI-001499, Rule-ID|SV-218534r603259_rule, STIG-ID|GEN004390, STIG-Legacy|SV-63643, STIG-Legacy|V-22439, Vuln-ID|V-218534

Plugin: Unix

Control ID: 80326deb8328956456ebc4407b1b51b434bc5454ca73b5b376e33345ec751099