Check: GEN004420
HP-UX 11.31 STIG:
GEN004420
(in versions v1 r19 through v1 r13)
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 alias file has permissions greater than 0755, it can be modified by an unauthorized user and may contain malicious code or instructions possibly compromising the system.
Check Content
Examine the aliases file on the system for any utilized directories or paths. # cat /etc/mail/aliases | cut -f 2,2 -d ":" | grep "|" Check the permissions for any file paths referenced. # ls -lL <path/file> 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 aliases file. For example: # chmod 0755 <path/file>
Additional Identifiers
Rule ID: SV-35043r1_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 |