From HP-UX 11.31 Security Technical Implementation Guide
Part of GEN004400
Associated with IA controls: ECLP-1
Associated with: CCI-000225
If a file executed through a mail aliases file is not owned and writable only by root, it may be subject to unauthorized modification. Unauthorized modification of files executed through aliases may allow unauthorized users to attain root privileges.
Examine the aliases file for any utilized directories or paths.
# cat/etc/mail/aliases | cut -f 2,2 -d ":" | grep "|"
For example, the alias file entry will look like:
msgs: "|/usr/bin/msgs -s"
The entry must be an absolute path name:
# ls -lLd `dirname
Edit the /etc/mail/aliases file Locate the entries executing a program.
They will appear similar to the following line:
alias: "|/usr/local/bin/ls" (or some other program name)
Ensure root owns the programs and the directory(ies) they reside in by using the chown command to change owner to root.
For a directory entry:
# chown root
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