(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
(Links to External Site)
Date: Jun 16 2010
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|
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.
A local user can bypass certain command execution restrictions.|
Red Hat has issued a fix.|
The Red Hat advisory is available at:
Vendor URL: www.sudo.ws/ (Links to External Site)
Access control error, Input validation error|
|Underlying OS: Linux (Red Hat Enterprise)|
|Underlying OS Comments: 5|
This archive entry is a follow-up to the message listed below.|
Source Message Contents
Subject: [RHSA-2010:0475-01] Moderate: sudo security update|
-----BEGIN PGP SIGNED MESSAGE-----
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
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
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
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.
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
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):
Red Hat Enterprise Linux (v. 5 server):
These packages are GPG signed by Red Hat for security. Our key and
details on how to verify the signature are available from
The Red Hat security contact is <firstname.lastname@example.org>. 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)
-----END PGP SIGNATURE-----
RHSA-announce mailing list