Bug 229194 - CVE-2006-1174 shadow-utils mailbox creation race condition
CVE-2006-1174 shadow-utils mailbox creation race condition
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: shadow-utils (Show other bugs)
3.0
All Linux
medium Severity low
: ---
: ---
Assigned To: Peter Vrabec
David Lawrence
source=cert,reported=20060512,public=...
: Security
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-02-19 09:04 EST by Mark J. Cox (Product Security)
Modified: 2007-11-30 17:07 EST (History)
1 user (show)

See Also:
Fixed In Version: RHSA-2007-0431
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-06-11 13:52:15 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Mark J. Cox (Product Security) 2007-02-19 09:04:55 EST
Clone for rhel3/2.1

+++ This bug was initially created as a clone of Bug #193053 +++

shadow-utils mailbox creation race condition

CERT reported an issue with the way shadow-utils' useradd program
creates the users mail spool file.  The file is intially created
improperly which gives it random permissions, owned by root for a
short period of time.  It may be possible for a local attacker to get
very lucky and acquire write permissions to a world writable SUID
file.

The upstream fix is here:
http://cvs.pld.org.pl/shadow/src/useradd.c?r1=1.50&r2=1.51

When we patch our packages, we may want to check the return value of
the the fchown and fchmod calls.



This issue also affects RHEL3
This issue also affects RHEL2.1
Comment 1 Peter Vrabec 2007-02-21 08:19:25 EST
fixed in:
shadow-utils-4.0.3-28.RHEL3,
shadow-utils-20000902-19.

should I create errate for this?
Comment 4 Red Hat Bugzilla 2007-06-11 13:52:15 EDT
An advisory 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-2007-0431.html
Comment 5 Josh Bressers 2007-09-06 13:59:46 EDT
This flaw has been rated as having a low severity by the Red Hat
Security Response Team.  More information about this rating can be
found here: http://www.redhat.com/security/updates/classification/

The risks associated with fixing this bug are greater than the low severity
security risk. We therefore currently have no plans to fix this flaw in Red
Hat Enterprise Linux 2.1 which is in maintenance mode.

If you believe this judgement to be in error, please reopen this bug
with an appropriate comment.

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