Check: GEN004360
Title
The alias file must be owned by root. (Cat II impact)
Discussion
If the alias file is not owned by root, an unauthorized user may modify the file to add aliases to run malicious code or redirect email.
Check Content
Find the alias file on the system. Procedure: Check the ownership of the alias file. Procedure: # ls -lL /etc/aliases If the alias file is not owned by root, this is a finding.
Fix Text
Change the owner of the /etc/aliases file (or equivalent, such as /usr/lib/aliases) to root. Procedure: # chown root /etc/aliases
Additional Identifiers
Rule ID:
Vulnerability ID: V-831
Group Title:
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-000225 |
The organization employs the concept of least privilege, allowing only authorized accesses for users (and processes acting on behalf of users) which are necessary to accomplish assigned tasks in accordance with organizational missions and business functions. |
Controls
Number | Title |
---|---|
AC-6 |
Least Privilege |