Bug 59810 - useradd creates mail writable for group!!! (PATCH in duplicate bug)
Summary: useradd creates mail writable for group!!! (PATCH in duplicate bug)
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: shadow-utils
Version: 8.0
Hardware: i386
OS: Linux
high
medium
Target Milestone: ---
Assignee: Nalin Dahyabhai
QA Contact: David Lawrence
URL:
Whiteboard:
: 75418 77385 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-02-13 15:44 UTC by martynas
Modified: 2007-03-27 03:51 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2003-02-20 18:28:04 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2003:057 0 normal SHIPPED_LIVE : Updated shadow-utils packages fix exposure 2003-02-12 05:00:00 UTC

Description martynas 2002-02-13 15:44:11 UTC
Hello,
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.

Thank you
Sincerely
Martynas Bieliauskas

Comment 1 Alan Cox 2002-12-18 18:03:53 UTC
*** Bug 75418 has been marked as a duplicate of this bug. ***

Comment 2 Mark J. Cox 2003-02-11 13:28:42 UTC
*** Bug 77385 has been marked as a duplicate of this bug. ***

Comment 3 Mike A. Harris 2003-02-14 23:23:09 UTC
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:

https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=79325&action=view

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
affected.

Comment 4 Mark J. Cox 2003-02-20 18:28:04 UTC
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.

http://rhn.redhat.com/errata/RHSA-2003-057.html



Note You need to log in before you can comment on or make changes to this bug.