Red Hat Bugzilla – Bug 59810
useradd creates mail writable for group!!! (PATCH in duplicate bug)
Last modified: 2007-03-26 23:51:20 EDT
useradd utility creates /var/spool/mail/$user with chmod 660 !! So, it is
writable to group!! If users are in the same group (for example, users), they
can to delete other users email(i tried it)!!!!! try useradd -g users user1 and
look at /var/spool/mail !
Please, fix it as soon as possible, and email me with answer.
*** Bug 75418 has been marked as a duplicate of this bug. ***
*** Bug 77385 has been marked as a duplicate of this bug. ***
Not confirming nor denying this report, as I haven't tested it in 8.0, but
I'm putting a hyperlink to the proposed patch into this bug report, so it
is more accessible:
The rawhide packages should also be checked for this vulnerability as well
as older releases. I tested Red Hat Linux 7.1 up2date and it doesn't appear
An errata has been issued which should help the problem described in this bug report.
This report is therefore being closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files, please follow the link below. You may reopen
this bug report if the solution does not work for you.