Files executed through a mail aliases file must have mode 0755 or less permissive.

From Oracle Linux 5 Security Technical Implementation Guide

Part of GEN004420

Associated with: CCI-000225

SV-63739r1_rule Files executed through a mail aliases file must have mode 0755 or less permissive.

Vulnerability 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 referenced programs, which are specified with the pipe (|) symbol. # ls -lL 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

Pro Tips

Lavender hyperlinks in small type off to the right (of CSS class id, if you view the page source) point to globally unique URIs for each document and item. Copy the link location and paste anywhere you need to talk unambiguously about these things.

You can obtain data about documents and items in other formats. Simply provide an HTTP header Accept: text/turtle or Accept: application/rdf+xml.

Powered by sagemincer