SecurityTracker.com
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


 


Category:   Application (Generic)  >   Sudo Vendors:   Miller, Todd C.
(Fix for Red Hat Linux is Available) Re: Sudo System Administration Utility May Allow Local Users to Obtain Root Privileges on the Host By Executing Code Via Sendmail
SecurityTracker Alert ID:  1003234
SecurityTracker URL:  http://securitytracker.com/id/1003234
CVE Reference:   GENERIC-MAP-NOMATCH   (Links to External Site)
Date:  Jan 15 2002
Impact:   Execution of arbitrary code via local system, Root access via local system
Fix Available:  Yes  Vendor Confirmed:  Yes  

Description:   The SuSE Security Team reported a vulnerability in sudo. A local user may be able to execute code on the host and obtain root privileges.

It is reported that a local user may be able to cause sudo to log failed sudo invocations and execute mail with root privileges while retaining some environment settings. Depending on the mail server that is installed, the local user could execute mail (e.g., sendmail in certain configurations, postfix) with root privileges and execute arbitrary code with root privileges.

Impact:   A local user could obtain root privileges on the host.
Solution:   Red Hat has issued a fix:

Red Hat Linux 7.0:

SRPMS:
ftp://updates.redhat.com/7.0/en/os/SRPMS/sudo-1.6.4-0.7x.2.src.rpm

alpha:
ftp://updates.redhat.com/7.0/en/os/alpha/sudo-1.6.4-0.7x.2.alpha.rpm

i386:
ftp://updates.redhat.com/7.0/en/os/i386/sudo-1.6.4-0.7x.2.i386.rpm

Red Hat Linux 7.1:

SRPMS:
ftp://updates.redhat.com/7.1/en/os/SRPMS/sudo-1.6.4-0.7x.2.src.rpm

alpha:
ftp://updates.redhat.com/7.1/en/os/alpha/sudo-1.6.4-0.7x.2.alpha.rpm

i386:
ftp://updates.redhat.com/7.1/en/os/i386/sudo-1.6.4-0.7x.2.i386.rpm

ia64:
ftp://updates.redhat.com/7.1/en/os/ia64/sudo-1.6.4-0.7x.2.ia64.rpm

Red Hat Linux 7.2:

SRPMS:
ftp://updates.redhat.com/7.2/en/os/SRPMS/sudo-1.6.4-0.7x.2.src.rpm

i386:
ftp://updates.redhat.com/7.2/en/os/i386/sudo-1.6.4-0.7x.2.i386.rpm

ia64:
ftp://updates.redhat.com/7.2/en/os/ia64/sudo-1.6.4-0.7x.2.ia64.rpm

The verification checksums are:

MD5 sum Package Name
--------------------------------------------------------------------------
68dfd955e1e8f39fe41a4b7639195f11 7.0/en/os/SRPMS/sudo-1.6.4-0.7x.2.src.rpm
ff225f9d53084e29d0d558c8daea95b6 7.0/en/os/alpha/sudo-1.6.4-0.7x.2.alpha.rpm
ca088e51c3dd8f172063b0f8d122a5e5 7.0/en/os/i386/sudo-1.6.4-0.7x.2.i386.rpm
68dfd955e1e8f39fe41a4b7639195f11 7.1/en/os/SRPMS/sudo-1.6.4-0.7x.2.src.rpm
ff225f9d53084e29d0d558c8daea95b6 7.1/en/os/alpha/sudo-1.6.4-0.7x.2.alpha.rpm
ca088e51c3dd8f172063b0f8d122a5e5 7.1/en/os/i386/sudo-1.6.4-0.7x.2.i386.rpm
fedccbb28833f82f220ab148fb2cd42a 7.1/en/os/ia64/sudo-1.6.4-0.7x.2.ia64.rpm
68dfd955e1e8f39fe41a4b7639195f11 7.2/en/os/SRPMS/sudo-1.6.4-0.7x.2.src.rpm
ca088e51c3dd8f172063b0f8d122a5e5 7.2/en/os/i386/sudo-1.6.4-0.7x.2.i386.rpm
fedccbb28833f82f220ab148fb2cd42a 7.2/en/os/ia64/sudo-1.6.4-0.7x.2.ia64.rpm

See the Source Message for the Red Hat advisory describing how to apply the appropriate fix.

Vendor URL:  www.courtesan.com/sudo/ (Links to External Site)
Cause:   Access control error, State error
Underlying OS:  Linux (Red Hat Linux)

Message History:   This archive entry is a follow-up to the message listed below.
Jan 14 2002 Sudo System Administration Utility May Allow Local Users to Obtain Root Privileges on the Host By Executing Code Via Mail Transfer Agent (MTA)



 Source Message Contents

Subject:  [RHSA-2002:011-06] Updated sudo packages are available


---------------------------------------------------------------------
                   Red Hat, Inc. Red Hat Security Advisory

Synopsis:          Updated sudo packages are available
Advisory ID:       RHSA-2002:011-06
Issue date:        2002-01-14
Updated on:        2002-01-15
Product:           Red Hat Linux
Keywords:          sudo environment
Cross references:  
Obsoletes:         
---------------------------------------------------------------------

1. Topic:

Updated sudo packages fixing a security problem are available.

2. Relevant releases/architectures:

Red Hat Linux 7.0 - alpha, i386

Red Hat Linux 7.1 - alpha, i386, ia64

Red Hat Linux 7.2 - i386, ia64

3. Problem description:

Versions of sudo prior to 1.6.4 would not clear the environment before
sending an email notification about unauthorized sudo attempts, making it
possible for an attacker to supply parameters to the mail program. In the
worst case, this could lead to a local root exploit.

Users of sudo are advised to upgrade to version 1.6.4 which is not
vulnerable to this issue.

4. Solution:

Before applying this update, make sure all previously released errata
relevant to your system have been applied.

To update all RPMs for your particular architecture, run:

rpm -Fvh [filenames]

where [filenames] is a list of the RPMs you wish to upgrade.  Only those
RPMs which are currently installed will be updated.  Those RPMs which are
not installed but included in the list will not be updated.  Note that you
can also use wildcards (*.rpm) if your current directory *only* contains
the
desired RPMs.

Please note that this update is also available via Red Hat Network.  Many
people find this an easier way to apply updates.  To use Red Hat Network,
launch the Red Hat Update Agent with the following command:

up2date

This will start an interactive process that will result in the appropriate
RPMs being upgraded on your system.

5. Bug IDs fixed (http://bugzilla.redhat.com/bugzilla for more info):



6. RPMs required:

Red Hat Linux 7.0:

SRPMS:
ftp://updates.redhat.com/7.0/en/os/SRPMS/sudo-1.6.4-0.7x.2.src.rpm

alpha:
ftp://updates.redhat.com/7.0/en/os/alpha/sudo-1.6.4-0.7x.2.alpha.rpm

i386:
ftp://updates.redhat.com/7.0/en/os/i386/sudo-1.6.4-0.7x.2.i386.rpm

Red Hat Linux 7.1:

SRPMS:
ftp://updates.redhat.com/7.1/en/os/SRPMS/sudo-1.6.4-0.7x.2.src.rpm

alpha:
ftp://updates.redhat.com/7.1/en/os/alpha/sudo-1.6.4-0.7x.2.alpha.rpm

i386:
ftp://updates.redhat.com/7.1/en/os/i386/sudo-1.6.4-0.7x.2.i386.rpm

ia64:
ftp://updates.redhat.com/7.1/en/os/ia64/sudo-1.6.4-0.7x.2.ia64.rpm

Red Hat Linux 7.2:

SRPMS:
ftp://updates.redhat.com/7.2/en/os/SRPMS/sudo-1.6.4-0.7x.2.src.rpm

i386:
ftp://updates.redhat.com/7.2/en/os/i386/sudo-1.6.4-0.7x.2.i386.rpm

ia64:
ftp://updates.redhat.com/7.2/en/os/ia64/sudo-1.6.4-0.7x.2.ia64.rpm


7. Verification:

MD5 sum                          Package Name
--------------------------------------------------------------------------
68dfd955e1e8f39fe41a4b7639195f11 7.0/en/os/SRPMS/sudo-1.6.4-0.7x.2.src.rpm
ff225f9d53084e29d0d558c8daea95b6 7.0/en/os/alpha/sudo-1.6.4-0.7x.2.alpha.rpm
ca088e51c3dd8f172063b0f8d122a5e5 7.0/en/os/i386/sudo-1.6.4-0.7x.2.i386.rpm
68dfd955e1e8f39fe41a4b7639195f11 7.1/en/os/SRPMS/sudo-1.6.4-0.7x.2.src.rpm
ff225f9d53084e29d0d558c8daea95b6 7.1/en/os/alpha/sudo-1.6.4-0.7x.2.alpha.rpm
ca088e51c3dd8f172063b0f8d122a5e5 7.1/en/os/i386/sudo-1.6.4-0.7x.2.i386.rpm
fedccbb28833f82f220ab148fb2cd42a 7.1/en/os/ia64/sudo-1.6.4-0.7x.2.ia64.rpm
68dfd955e1e8f39fe41a4b7639195f11 7.2/en/os/SRPMS/sudo-1.6.4-0.7x.2.src.rpm
ca088e51c3dd8f172063b0f8d122a5e5 7.2/en/os/i386/sudo-1.6.4-0.7x.2.i386.rpm
fedccbb28833f82f220ab148fb2cd42a 7.2/en/os/ia64/sudo-1.6.4-0.7x.2.ia64.rpm 

These packages are GPG signed by Red Hat, Inc. for security.  Our key
is available at:
    http://www.redhat.com/about/contact/pgpkey.html

You can verify each package with the following command:
    rpm --checksig  <filename>

If you only wish to verify that each package has not been corrupted or
tampered with, examine only the md5sum with the following command:
    rpm --checksig --nogpg <filename>

8. References:

http://www.courtesan.com/sudo/sudo.html


Copyright(c) 2000, 2001, 2002 Red Hat, Inc.

 
 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

This web site uses cookies for web analytics. Learn More

Copyright 2020, SecurityGlobal.net LLC