https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=288409
Bug ID: 288409
Summary: DMA configuration permissions are too liberal
Product: Base System
Version: Unspecified
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: conf
Assignee: [email protected]
Reporter: [email protected]
The configuration files of dma(8) are world readable:
$ ls -l /etc/dma/*
-rw-r--r-- 1 root wheel 54 Apr 11 18:41 /etc/dma/auth.conf
-rw-r--r-- 1 root wheel 105 Apr 11 18:40 /etc/dma/dma.conf
This is currently needed for the unprivileged send email via dma(8), but at the
same time it allows anyone to obtain the password of the SMARTHOST, if one is
used for the local machine.
In Debian this is solved by having dma installed as setgid executable, and
setting its group to 'mail'. A similar approach might work for FreeBSD too.
- It should be checked how Dragonfly BSD does, and if they audited dma(8) for
setgid use
- It is probably wise to assign dma(8) to a dedicated group, different than
`mail`, since for example /var/mail is by default 0775 root:mail
--
You are receiving this mail because:
You are the assignee for the bug.