(Red Hat Issues Fix) Sudo validate_env_vars() Bug Lets Local Users Gain Elevated Privileges
SecurityTracker Alert ID: 1029887|
SecurityTracker URL: http://securitytracker.com/id/1029887
(Links to External Site)
Date: Mar 10 2014
Execution of arbitrary code via local system, Root access via local system, User access via local system|
Fix Available: Yes Vendor Confirmed: Yes |
Version(s): 1.6.9 to 1.8.4p5|
A vulnerability was reported in Sudo. A local user can obtain elevated privileges on the target system.|
On systems with the env_reset option disabled in the sudoers file, a local user with sudo permissions can exploit a logic flaw in validate_env_vars() to execute arbitrary commands on the target system with elevated privileges.
A local user with sudo permissions can obtain elevated privileges on the target system.|
Red Hat has issued a fix.|
The Red Hat advisory is available at:
Vendor URL: www.sudo.ws/sudo/alerts/env_add.html (Links to External Site)
Access control error, State 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-2014:0266-01] Moderate: sudo security update|
-----BEGIN PGP SIGNED MESSAGE-----
Red Hat Security Advisory
Synopsis: Moderate: sudo security update
Advisory ID: RHSA-2014:0266-01
Product: Red Hat Enterprise Linux
Advisory URL: https://rhn.redhat.com/errata/RHSA-2014-0266.html
Issue date: 2014-03-10
CVE Names: CVE-2014-0106
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 its blacklist of environment
variables. When the "env_reset" option was disabled, a user permitted to
run certain commands via sudo could use this flaw to run such a command
with one of the blacklisted environment variables set, allowing them to run
an arbitrary command with the target user's privileges. (CVE-2014-0106)
Note: This issue does not affect the default configuration of the sudo
package as shipped with Red Hat Enterprise Linux 5.
Red Hat would like to thank Todd C. Miller for reporting this issue.
Upstream acknowledges Sebastien Macke as the original reporter.
All sudo users are advised to 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 (https://bugzilla.redhat.com/):
1071780 - CVE-2014-0106 sudo: certain environment variables not sanitized when env_reset is disabled
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 <email@example.com>. More contact
details at https://access.redhat.com/security/team/contact/
Copyright 2014 Red Hat, Inc.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (GNU/Linux)
-----END PGP SIGNATURE-----
Enterprise-watch-list mailing list