Check: GEN004420
SUSE Linux Enterprise Server v11 for System z STIG:
GEN004420
(in versions v1 r12 through v1 r9)
Title
Files executed through a mail aliases file must have mode 0755 or less permissive. (Cat II impact)
Discussion
If a file executed through a mail aliases file has permissions greater than 0755, it can be modified by an unauthorized user and may contain malicious code or instructions potentially compromising the system.
Check Content
If the “sendmail” package is not installed, this is not applicable. Examine the contents of the /etc/aliases file. Procedure: # more /etc/aliases Examine the aliases file for any utilized directories or paths. # ls -lL <file referenced from aliases> Check the permissions for any paths referenced. If any file referenced from the aliases file has a mode more permissive than 0755, this is a finding.
Fix Text
Use the chmod command to change the access permissions for files executed from the alias file. For example: # chmod 0755 filename.
Additional Identifiers
Rule ID: SV-45853r2_rule
Vulnerability ID: V-834
Group Title: GEN004420
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 |