GEN004380 - The alias file must have mode 0644 or less permissive.

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 email.

Solution

Change the mode of the /etc/mail/aliases files (or equivalent, such as /usr/lib/aliases) to 0644.

Procedure:
# chmod 0644 /etc/mail/aliases /etc/mail/aliases.db

See Also

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

Item Details

Category: ACCESS CONTROL

References: 800-53|AC-4(8), CAT|II, CCI|CCI-002195, Rule-ID|SV-226931r858549_rule, STIG-ID|GEN004380, STIG-Legacy|SV-40651, STIG-Legacy|V-832, Vuln-ID|V-226931

Plugin: Unix

Control ID: bbb0dd87138af4c4a3d91cab45d811a6c1f5f955fd5a94be44b1f918161ca59e