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

SecurityTracker
Archives


 


Category:   Application (Generic)  >   Sudo Vendors:   sudo.ws
(Red Hat Issues Fix) Sudo Error in Processing Duplicate Environment Variables Lets Local Users Bypass Access Controls
SecurityTracker Alert ID:  1024102
SecurityTracker URL:  http://securitytracker.com/id/1024102
CVE Reference:   CVE-2010-1646   (Links to External Site)
Date:  Jun 16 2010
Impact:   Execution of arbitrary code via local system, User access via local system
Fix Available:  Yes  Vendor Confirmed:  Yes  
Version(s): 1.6, 1.7.2
Description:   A vulnerability was reported in Sudo. A local user can bypass certain command execution restrictions.

The software does not handle duplicated environment variables properly.

A local user with privileges to run sudo commands can set specially crafted environment variables to bypass the secure_path restrictions and execute arbitrary commands.

Anders Kaseorg and Evan Broder of Ksplice, Inc. reported this vulnerability.

Impact:   A local user can bypass certain command execution restrictions.
Solution:   Red Hat has issued a fix.

The Red Hat advisory is available at:

https://rhn.redhat.com/errata/RHSA-2010-0475.html

Vendor URL:  www.sudo.ws/ (Links to External Site)
Cause:   Access control error, Input validation error
Underlying OS:  Linux (Red Hat Enterprise)
Underlying OS Comments:  5

Message History:   This archive entry is a follow-up to the message listed below.
Jun 16 2010 Sudo Error in Processing Duplicate Environment Variables Lets Local Users Bypass Access Controls



 Source Message Contents

Subject:  [RHSA-2010:0475-01] Moderate: sudo security update

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

=====================================================================
                   Red Hat Security Advisory

Synopsis:          Moderate: sudo security update
Advisory ID:       RHSA-2010:0475-01
Product:           Red Hat Enterprise Linux
Advisory URL:      https://rhn.redhat.com/errata/RHSA-2010-0475.html
Issue date:        2010-06-15
CVE Names:         CVE-2010-1646 
=====================================================================

1. Summary:

An updated sudo package that fixes one security issue is now available for
Red Hat Enterprise Linux 5.

The Red Hat Security Response Team has rated this update as having moderate
security impact. A Common Vulnerability Scoring System (CVSS) base score,
which gives a detailed severity rating, is available from the CVE link in
the References section.

2. Relevant releases/architectures:

Red Hat Enterprise Linux (v. 5 server) - i386, ia64, ppc, s390x, x86_64
Red Hat Enterprise Linux Desktop (v. 5 client) - i386, x86_64

3. Description:

The sudo (superuser do) utility allows system administrators to give
certain users the ability to run commands as root.

A flaw was found in the way sudo handled the presence of duplicated
environment variables. A local user authorized to run commands using sudo
could use this flaw to set additional values for the environment variables
set by sudo, which could result in those values being used by the executed
command instead of the values set by sudo. This could possibly lead to
certain intended restrictions being bypassed, such as the secure_path
setting. (CVE-2010-1646)

Red Hat would like to thank Anders Kaseorg and Evan Broder of Ksplice, Inc.
for responsibly reporting this issue.

Users of sudo should upgrade to this updated package, which contains a
backported patch to correct this issue.

4. Solution:

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

This update is available via the Red Hat Network. Details on how to
use the Red Hat Network to apply this update are available at
http://kbase.redhat.com/faq/docs/DOC-11259

5. Bugs fixed (http://bugzilla.redhat.com/):

598154 - CVE-2010-1646 sudo: insufficient environment sanitization issue

6. Package List:

Red Hat Enterprise Linux Desktop (v. 5 client):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/5Client/en/os/SRPMS/sudo-1.7.2p1-7.el5_5.src.rpm

i386:
sudo-1.7.2p1-7.el5_5.i386.rpm
sudo-debuginfo-1.7.2p1-7.el5_5.i386.rpm

x86_64:
sudo-1.7.2p1-7.el5_5.x86_64.rpm
sudo-debuginfo-1.7.2p1-7.el5_5.x86_64.rpm

Red Hat Enterprise Linux (v. 5 server):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/5Server/en/os/SRPMS/sudo-1.7.2p1-7.el5_5.src.rpm

i386:
sudo-1.7.2p1-7.el5_5.i386.rpm
sudo-debuginfo-1.7.2p1-7.el5_5.i386.rpm

ia64:
sudo-1.7.2p1-7.el5_5.ia64.rpm
sudo-debuginfo-1.7.2p1-7.el5_5.ia64.rpm

ppc:
sudo-1.7.2p1-7.el5_5.ppc.rpm
sudo-debuginfo-1.7.2p1-7.el5_5.ppc.rpm

s390x:
sudo-1.7.2p1-7.el5_5.s390x.rpm
sudo-debuginfo-1.7.2p1-7.el5_5.s390x.rpm

x86_64:
sudo-1.7.2p1-7.el5_5.x86_64.rpm
sudo-debuginfo-1.7.2p1-7.el5_5.x86_64.rpm

These packages are GPG signed by Red Hat for security.  Our key and 
details on how to verify the signature are available from
https://www.redhat.com/security/team/key/#package

7. References:

https://www.redhat.com/security/data/cve/CVE-2010-1646.html
http://www.redhat.com/security/updates/classification/#moderate
http://www.sudo.ws/sudo/alerts/secure_path.html

8. Contact:

The Red Hat security contact is <secalert@redhat.com>.  More contact
details at https://www.redhat.com/security/team/contact/

Copyright 2010 Red Hat, Inc.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (GNU/Linux)

iD8DBQFMGBXsXlSAg2UNWIIRAnukAJ0UoCVPSqzBoJY7roEO7U67yMxvOACgipz2
S8841RyUm0eSGVXz2tJv6d8=
=ermd
-----END PGP SIGNATURE-----


--
RHSA-announce mailing list
RHSA-announce@redhat.com
https://www.redhat.com/mailman/listinfo/rhsa-announce
 
 


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