GEN004380 - The alias file must have mode 0644 or less permissive - '/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

Change the mode of the alias files as needed to function.

No higher than 0644.

Procedure:
for sendmail:

# chmod 0644 /etc/aliases /etc/aliases.db

for postfix (assuming the default postfix directory):
# chmod 0644 /etc/postfix/aliases /etc/postfix/aliases

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-218533r603259_rule, STIG-ID|GEN004380, STIG-Legacy|SV-63637, STIG-Legacy|V-832, Vuln-ID|V-218533

Plugin: Unix

Control ID: 9191cdc8e3af136082a8ee5186efe1ad28b466a7899dcfa15736fe6c92266c2e