Rule ID
SV-239531r662044_rule
Version
V2R2
CCIs
CCI-000382
If a file executed through a mail aliases file is not group-owned by root or a system group, it may be subject to unauthorized modification. Unauthorized modification of files executed through aliases may allow unauthorized users to attain root privileges.
Examine the contents of the "/etc/aliases" file: # more /etc/aliases Examine the aliases file for any directories or paths that may be utilized: # ls -lL <file referenced from aliases> Check the permissions for any paths referenced. If the group owner of any file is not "root", "bin", "sys", or "system", this is a finding.
Change the group ownership of the file referenced from "/etc/mail/aliases": # chgrp root <file referenced from aliases>