Check: GEN004500
SUSE Linux Enterprise Server v11 for System z STIG:
GEN004500
(in versions v1 r12 through v1 r9)
Title
The SMTP service log file must have mode 0644 or less permissive. (Cat II impact)
Discussion
If the SMTP service log file is more permissive than 0644, unauthorized users may be allowed to change the log file.
Check Content
Check the mode of the SMTP service log file. Procedure: # more /etc/rsyslog.conf Check the configuration to determine which log files contain logs for mail.crit, mail.debug, or *.crit. Procedure: # ls -lL <file location> The check procedure is the same for both sendmail and Postfix. Identify any log files configured for the "mail" service (excluding mail.none) at any severity level and check the permissions If the log file permissions are greater than 0644, this is a finding.
Fix Text
Change the mode of the SMTP service log file. Procedure: The fix procedure is the same for both sendmail and Postfix. # chmod 0644 <sendmail log file>
Additional Identifiers
Rule ID: SV-45861r1_rule
Vulnerability ID: V-838
Group Title: GEN004500
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 |