ID CVE-2010-1646
Summary The secure path feature in env.c in sudo 1.3.1 through 1.6.9p22 and 1.7.0 through 1.7.2p6 does not properly handle an environment that contains multiple PATH variables, which might allow local users to gain privileges via a crafted value of the last PATH variable.
References
Vulnerable Configurations
  • cpe:2.3:a:todd_miller:sudo:1.3.1:*:*:*:*:*:*:*
    cpe:2.3:a:todd_miller:sudo:1.3.1:*:*:*:*:*:*:*
  • cpe:2.3:a:todd_miller:sudo:1.6:*:*:*:*:*:*:*
    cpe:2.3:a:todd_miller:sudo:1.6:*:*:*:*:*:*:*
  • cpe:2.3:a:todd_miller:sudo:1.6.1:*:*:*:*:*:*:*
    cpe:2.3:a:todd_miller:sudo:1.6.1:*:*:*:*:*:*:*
  • cpe:2.3:a:todd_miller:sudo:1.6.2:*:*:*:*:*:*:*
    cpe:2.3:a:todd_miller:sudo:1.6.2:*:*:*:*:*:*:*
  • cpe:2.3:a:todd_miller:sudo:1.6.2p1:*:*:*:*:*:*:*
    cpe:2.3:a:todd_miller:sudo:1.6.2p1:*:*:*:*:*:*:*
  • cpe:2.3:a:todd_miller:sudo:1.6.2p2:*:*:*:*:*:*:*
    cpe:2.3:a:todd_miller:sudo:1.6.2p2:*:*:*:*:*:*:*
  • cpe:2.3:a:todd_miller:sudo:1.6.2p3:*:*:*:*:*:*:*
    cpe:2.3:a:todd_miller:sudo:1.6.2p3:*:*:*:*:*:*:*
  • cpe:2.3:a:todd_miller:sudo:1.6.3:*:*:*:*:*:*:*
    cpe:2.3:a:todd_miller:sudo:1.6.3:*:*:*:*:*:*:*
  • cpe:2.3:a:todd_miller:sudo:1.6.3p1:*:*:*:*:*:*:*
    cpe:2.3:a:todd_miller:sudo:1.6.3p1:*:*:*:*:*:*:*
  • cpe:2.3:a:todd_miller:sudo:1.6.3p2:*:*:*:*:*:*:*
    cpe:2.3:a:todd_miller:sudo:1.6.3p2:*:*:*:*:*:*:*
  • cpe:2.3:a:todd_miller:sudo:1.6.3p3:*:*:*:*:*:*:*
    cpe:2.3:a:todd_miller:sudo:1.6.3p3:*:*:*:*:*:*:*
  • cpe:2.3:a:todd_miller:sudo:1.6.3p4:*:*:*:*:*:*:*
    cpe:2.3:a:todd_miller:sudo:1.6.3p4:*:*:*:*:*:*:*
  • cpe:2.3:a:todd_miller:sudo:1.6.3p5:*:*:*:*:*:*:*
    cpe:2.3:a:todd_miller:sudo:1.6.3p5:*:*:*:*:*:*:*
  • cpe:2.3:a:todd_miller:sudo:1.6.3p6:*:*:*:*:*:*:*
    cpe:2.3:a:todd_miller:sudo:1.6.3p6:*:*:*:*:*:*:*
  • cpe:2.3:a:todd_miller:sudo:1.6.3p7:*:*:*:*:*:*:*
    cpe:2.3:a:todd_miller:sudo:1.6.3p7:*:*:*:*:*:*:*
  • cpe:2.3:a:todd_miller:sudo:1.6.4:*:*:*:*:*:*:*
    cpe:2.3:a:todd_miller:sudo:1.6.4:*:*:*:*:*:*:*
  • cpe:2.3:a:todd_miller:sudo:1.6.4p1:*:*:*:*:*:*:*
    cpe:2.3:a:todd_miller:sudo:1.6.4p1:*:*:*:*:*:*:*
  • cpe:2.3:a:todd_miller:sudo:1.6.4p2:*:*:*:*:*:*:*
    cpe:2.3:a:todd_miller:sudo:1.6.4p2:*:*:*:*:*:*:*
  • cpe:2.3:a:todd_miller:sudo:1.6.5:*:*:*:*:*:*:*
    cpe:2.3:a:todd_miller:sudo:1.6.5:*:*:*:*:*:*:*
  • cpe:2.3:a:todd_miller:sudo:1.6.5p1:*:*:*:*:*:*:*
    cpe:2.3:a:todd_miller:sudo:1.6.5p1:*:*:*:*:*:*:*
  • cpe:2.3:a:todd_miller:sudo:1.6.5p2:*:*:*:*:*:*:*
    cpe:2.3:a:todd_miller:sudo:1.6.5p2:*:*:*:*:*:*:*
  • cpe:2.3:a:todd_miller:sudo:1.6.6:*:*:*:*:*:*:*
    cpe:2.3:a:todd_miller:sudo:1.6.6:*:*:*:*:*:*:*
  • cpe:2.3:a:todd_miller:sudo:1.6.7:*:*:*:*:*:*:*
    cpe:2.3:a:todd_miller:sudo:1.6.7:*:*:*:*:*:*:*
  • cpe:2.3:a:todd_miller:sudo:1.6.7p1:*:*:*:*:*:*:*
    cpe:2.3:a:todd_miller:sudo:1.6.7p1:*:*:*:*:*:*:*
  • cpe:2.3:a:todd_miller:sudo:1.6.7p2:*:*:*:*:*:*:*
    cpe:2.3:a:todd_miller:sudo:1.6.7p2:*:*:*:*:*:*:*
  • cpe:2.3:a:todd_miller:sudo:1.6.7p3:*:*:*:*:*:*:*
    cpe:2.3:a:todd_miller:sudo:1.6.7p3:*:*:*:*:*:*:*
  • cpe:2.3:a:todd_miller:sudo:1.6.7p4:*:*:*:*:*:*:*
    cpe:2.3:a:todd_miller:sudo:1.6.7p4:*:*:*:*:*:*:*
  • cpe:2.3:a:todd_miller:sudo:1.6.7p5:*:*:*:*:*:*:*
    cpe:2.3:a:todd_miller:sudo:1.6.7p5:*:*:*:*:*:*:*
  • cpe:2.3:a:todd_miller:sudo:1.6.8:*:*:*:*:*:*:*
    cpe:2.3:a:todd_miller:sudo:1.6.8:*:*:*:*:*:*:*
  • cpe:2.3:a:todd_miller:sudo:1.6.8p1:*:*:*:*:*:*:*
    cpe:2.3:a:todd_miller:sudo:1.6.8p1:*:*:*:*:*:*:*
  • cpe:2.3:a:todd_miller:sudo:1.6.8p2:*:*:*:*:*:*:*
    cpe:2.3:a:todd_miller:sudo:1.6.8p2:*:*:*:*:*:*:*
  • cpe:2.3:a:todd_miller:sudo:1.6.8p3:*:*:*:*:*:*:*
    cpe:2.3:a:todd_miller:sudo:1.6.8p3:*:*:*:*:*:*:*
  • cpe:2.3:a:todd_miller:sudo:1.6.8p4:*:*:*:*:*:*:*
    cpe:2.3:a:todd_miller:sudo:1.6.8p4:*:*:*:*:*:*:*
  • cpe:2.3:a:todd_miller:sudo:1.6.8p5:*:*:*:*:*:*:*
    cpe:2.3:a:todd_miller:sudo:1.6.8p5:*:*:*:*:*:*:*
  • cpe:2.3:a:todd_miller:sudo:1.6.8p6:*:*:*:*:*:*:*
    cpe:2.3:a:todd_miller:sudo:1.6.8p6:*:*:*:*:*:*:*
  • cpe:2.3:a:todd_miller:sudo:1.6.8p7:*:*:*:*:*:*:*
    cpe:2.3:a:todd_miller:sudo:1.6.8p7:*:*:*:*:*:*:*
  • cpe:2.3:a:todd_miller:sudo:1.6.8p8:*:*:*:*:*:*:*
    cpe:2.3:a:todd_miller:sudo:1.6.8p8:*:*:*:*:*:*:*
  • cpe:2.3:a:todd_miller:sudo:1.6.8p9:*:*:*:*:*:*:*
    cpe:2.3:a:todd_miller:sudo:1.6.8p9:*:*:*:*:*:*:*
  • cpe:2.3:a:todd_miller:sudo:1.6.8p10:*:*:*:*:*:*:*
    cpe:2.3:a:todd_miller:sudo:1.6.8p10:*:*:*:*:*:*:*
  • cpe:2.3:a:todd_miller:sudo:1.6.8p11:*:*:*:*:*:*:*
    cpe:2.3:a:todd_miller:sudo:1.6.8p11:*:*:*:*:*:*:*
  • cpe:2.3:a:todd_miller:sudo:1.6.8p12:*:*:*:*:*:*:*
    cpe:2.3:a:todd_miller:sudo:1.6.8p12:*:*:*:*:*:*:*
  • cpe:2.3:a:todd_miller:sudo:1.6.9:*:*:*:*:*:*:*
    cpe:2.3:a:todd_miller:sudo:1.6.9:*:*:*:*:*:*:*
  • cpe:2.3:a:todd_miller:sudo:1.6.9p1:*:*:*:*:*:*:*
    cpe:2.3:a:todd_miller:sudo:1.6.9p1:*:*:*:*:*:*:*
  • cpe:2.3:a:todd_miller:sudo:1.6.9p2:*:*:*:*:*:*:*
    cpe:2.3:a:todd_miller:sudo:1.6.9p2:*:*:*:*:*:*:*
  • cpe:2.3:a:todd_miller:sudo:1.6.9p3:*:*:*:*:*:*:*
    cpe:2.3:a:todd_miller:sudo:1.6.9p3:*:*:*:*:*:*:*
  • cpe:2.3:a:todd_miller:sudo:1.6.9p4:*:*:*:*:*:*:*
    cpe:2.3:a:todd_miller:sudo:1.6.9p4:*:*:*:*:*:*:*
  • cpe:2.3:a:todd_miller:sudo:1.6.9p5:*:*:*:*:*:*:*
    cpe:2.3:a:todd_miller:sudo:1.6.9p5:*:*:*:*:*:*:*
  • cpe:2.3:a:todd_miller:sudo:1.6.9p6:*:*:*:*:*:*:*
    cpe:2.3:a:todd_miller:sudo:1.6.9p6:*:*:*:*:*:*:*
  • cpe:2.3:a:todd_miller:sudo:1.6.9p7:*:*:*:*:*:*:*
    cpe:2.3:a:todd_miller:sudo:1.6.9p7:*:*:*:*:*:*:*
  • cpe:2.3:a:todd_miller:sudo:1.6.9p8:*:*:*:*:*:*:*
    cpe:2.3:a:todd_miller:sudo:1.6.9p8:*:*:*:*:*:*:*
  • cpe:2.3:a:todd_miller:sudo:1.6.9p9:*:*:*:*:*:*:*
    cpe:2.3:a:todd_miller:sudo:1.6.9p9:*:*:*:*:*:*:*
  • cpe:2.3:a:todd_miller:sudo:1.6.9p10:*:*:*:*:*:*:*
    cpe:2.3:a:todd_miller:sudo:1.6.9p10:*:*:*:*:*:*:*
  • cpe:2.3:a:todd_miller:sudo:1.6.9p11:*:*:*:*:*:*:*
    cpe:2.3:a:todd_miller:sudo:1.6.9p11:*:*:*:*:*:*:*
  • cpe:2.3:a:todd_miller:sudo:1.6.9p12:*:*:*:*:*:*:*
    cpe:2.3:a:todd_miller:sudo:1.6.9p12:*:*:*:*:*:*:*
  • cpe:2.3:a:todd_miller:sudo:1.6.9p13:*:*:*:*:*:*:*
    cpe:2.3:a:todd_miller:sudo:1.6.9p13:*:*:*:*:*:*:*
  • cpe:2.3:a:todd_miller:sudo:1.6.9p14:*:*:*:*:*:*:*
    cpe:2.3:a:todd_miller:sudo:1.6.9p14:*:*:*:*:*:*:*
  • cpe:2.3:a:todd_miller:sudo:1.6.9p15:*:*:*:*:*:*:*
    cpe:2.3:a:todd_miller:sudo:1.6.9p15:*:*:*:*:*:*:*
  • cpe:2.3:a:todd_miller:sudo:1.6.9p16:*:*:*:*:*:*:*
    cpe:2.3:a:todd_miller:sudo:1.6.9p16:*:*:*:*:*:*:*
  • cpe:2.3:a:todd_miller:sudo:1.6.9p17:*:*:*:*:*:*:*
    cpe:2.3:a:todd_miller:sudo:1.6.9p17:*:*:*:*:*:*:*
  • cpe:2.3:a:todd_miller:sudo:1.6.9p18:*:*:*:*:*:*:*
    cpe:2.3:a:todd_miller:sudo:1.6.9p18:*:*:*:*:*:*:*
  • cpe:2.3:a:todd_miller:sudo:1.6.9p19:*:*:*:*:*:*:*
    cpe:2.3:a:todd_miller:sudo:1.6.9p19:*:*:*:*:*:*:*
  • cpe:2.3:a:todd_miller:sudo:1.6.9p20:*:*:*:*:*:*:*
    cpe:2.3:a:todd_miller:sudo:1.6.9p20:*:*:*:*:*:*:*
  • cpe:2.3:a:todd_miller:sudo:1.6.9p21:*:*:*:*:*:*:*
    cpe:2.3:a:todd_miller:sudo:1.6.9p21:*:*:*:*:*:*:*
  • cpe:2.3:a:todd_miller:sudo:1.6.9p22:*:*:*:*:*:*:*
    cpe:2.3:a:todd_miller:sudo:1.6.9p22:*:*:*:*:*:*:*
  • cpe:2.3:a:todd_miller:sudo:1.7.0:*:*:*:*:*:*:*
    cpe:2.3:a:todd_miller:sudo:1.7.0:*:*:*:*:*:*:*
  • cpe:2.3:a:todd_miller:sudo:1.7.1:*:*:*:*:*:*:*
    cpe:2.3:a:todd_miller:sudo:1.7.1:*:*:*:*:*:*:*
  • cpe:2.3:a:todd_miller:sudo:1.7.2:*:*:*:*:*:*:*
    cpe:2.3:a:todd_miller:sudo:1.7.2:*:*:*:*:*:*:*
  • cpe:2.3:a:todd_miller:sudo:1.7.2p1:*:*:*:*:*:*:*
    cpe:2.3:a:todd_miller:sudo:1.7.2p1:*:*:*:*:*:*:*
  • cpe:2.3:a:todd_miller:sudo:1.7.2p2:*:*:*:*:*:*:*
    cpe:2.3:a:todd_miller:sudo:1.7.2p2:*:*:*:*:*:*:*
  • cpe:2.3:a:todd_miller:sudo:1.7.2p3:*:*:*:*:*:*:*
    cpe:2.3:a:todd_miller:sudo:1.7.2p3:*:*:*:*:*:*:*
  • cpe:2.3:a:todd_miller:sudo:1.7.2p4:*:*:*:*:*:*:*
    cpe:2.3:a:todd_miller:sudo:1.7.2p4:*:*:*:*:*:*:*
  • cpe:2.3:a:todd_miller:sudo:1.7.2p5:*:*:*:*:*:*:*
    cpe:2.3:a:todd_miller:sudo:1.7.2p5:*:*:*:*:*:*:*
  • cpe:2.3:a:todd_miller:sudo:1.7.2p6:*:*:*:*:*:*:*
    cpe:2.3:a:todd_miller:sudo:1.7.2p6:*:*:*:*:*:*:*
  • cpe:2.3:a:todd_miller:sudo:1.7.2p7:*:*:*:*:*:*:*
    cpe:2.3:a:todd_miller:sudo:1.7.2p7:*:*:*:*:*:*:*
CVSS
Base: 6.2 (as of 10-10-2018 - 19:57)
Impact:
Exploitability:
CWE CWE-264
CAPEC
  • Using Malicious Files
    An attack of this type exploits a system's configuration that allows an attacker to either directly access an executable file, for example through shell access; or in a possible worst case allows an attacker to upload a file and then execute it. Web servers, ftp servers, and message oriented middleware systems which have many integration points are particularly vulnerable, because both the programmers and the administrators must be in synch regarding the interfaces and the correct privileges for each interface.
  • Leverage Executable Code in Non-Executable Files
    An attack of this type exploits a system's trust in configuration and resource files. When the executable loads the resource (such as an image file or configuration file) the attacker has modified the file to either execute malicious code directly or manipulate the target process (e.g. application server) to execute based on the malicious configuration parameters. Since systems are increasingly interrelated mashing up resources from local and remote sources the possibility of this attack occurring is high.
  • Restful Privilege Elevation
    Rest uses standard HTTP (Get, Put, Delete) style permissions methods, but these are not necessarily correlated generally with back end programs. Strict interpretation of HTTP get methods means that these HTTP Get services should not be used to delete information on the server, but there is no access control mechanism to back up this logic. This means that unless the services are properly ACL'd and the application's service implementation are following these guidelines then an HTTP request can easily execute a delete or update on the server side. The attacker identifies a HTTP Get URL such as http://victimsite/updateOrder, which calls out to a program to update orders on a database or other resource. The URL is not idempotent so the request can be submitted multiple times by the attacker, additionally, the attacker may be able to exploit the URL published as a Get method that actually performs updates (instead of merely retrieving data). This may result in malicious or inadvertent altering of data on the server.
  • Target Programs with Elevated Privileges
    This attack targets programs running with elevated privileges. The attacker would try to leverage a bug in the running program and get arbitrary code to execute with elevated privileges. For instance an attacker would look for programs that write to the system directories or registry keys (such as HKLM, which stores a number of critical Windows environment variables). These programs are typically running with elevated privileges and have usually not been designed with security in mind. Such programs are excellent exploit targets because they yield lots of power when they break. The malicious user try to execute its code at the same level as a privileged system call.
  • Manipulating Web Input to File System Calls
    An attacker manipulates inputs to the target software which the target software passes to file system calls in the OS. The goal is to gain access to, and perhaps modify, areas of the file system that the target software did not intend to be accessible.
Access
VectorComplexityAuthentication
LOCAL HIGH NONE
Impact
ConfidentialityIntegrityAvailability
COMPLETE COMPLETE COMPLETE
cvss-vector via4 AV:L/AC:H/Au:N/C:C/I:C/A:C
oval via4
  • accepted 2013-04-29T04:06:51.156-04:00
    class vulnerability
    contributors
    • name Aharon Chernin
      organization SCAP.com, LLC
    • name Dragos Prisaca
      organization G2, Inc.
    definition_extensions
    • comment The operating system installed on the system is Red Hat Enterprise Linux 5
      oval oval:org.mitre.oval:def:11414
    • comment The operating system installed on the system is CentOS Linux 5.x
      oval oval:org.mitre.oval:def:15802
    • comment Oracle Linux 5.x
      oval oval:org.mitre.oval:def:15459
    description The secure path feature in env.c in sudo 1.3.1 through 1.6.9p22 and 1.7.0 through 1.7.2p6 does not properly handle an environment that contains multiple PATH variables, which might allow local users to gain privileges via a crafted value of the last PATH variable.
    family unix
    id oval:org.mitre.oval:def:10580
    status accepted
    submitted 2010-07-09T03:56:16-04:00
    title The secure path feature in env.c in sudo 1.3.1 through 1.6.9p22 and 1.7.0 through 1.7.2p6 does not properly handle an environment that contains multiple PATH variables, which might allow local users to gain privileges via a crafted value of the last PATH variable.
    version 18
  • accepted 2014-01-20T04:01:34.040-05:00
    class vulnerability
    contributors
    • name Varun
      organization Hewlett-Packard
    • name Chris Coffin
      organization The MITRE Corporation
    definition_extensions
    comment VMware ESX Server 4.0 is installed
    oval oval:org.mitre.oval:def:6293
    description The secure path feature in env.c in sudo 1.3.1 through 1.6.9p22 and 1.7.0 through 1.7.2p6 does not properly handle an environment that contains multiple PATH variables, which might allow local users to gain privileges via a crafted value of the last PATH variable.
    family unix
    id oval:org.mitre.oval:def:7338
    status accepted
    submitted 2010-10-04T11:07:15.000-05:00
    title VMware ESX, Service Console update for sudo.
    version 7
redhat via4
advisories
bugzilla
id 598154
title CVE-2010-1646 sudo: insufficient environment sanitization issue
oval
AND
  • comment Red Hat Enterprise Linux 5 is installed
    oval oval:com.redhat.rhba:tst:20070331001
  • comment sudo is earlier than 0:1.7.2p1-7.el5_5
    oval oval:com.redhat.rhsa:tst:20100475002
  • comment sudo is signed with Red Hat redhatrelease key
    oval oval:com.redhat.rhsa:tst:20090267003
rhsa
id RHSA-2010:0475
released 2010-06-15
severity Moderate
title RHSA-2010:0475: sudo security update (Moderate)
rpms sudo-0:1.7.2p1-7.el5_5
refmap via4
bid 40538
bugtraq 20101027 rPSA-2010-0075-1 sudo
confirm
debian DSA-2062
fedora
  • FEDORA-2010-9402
  • FEDORA-2010-9415
  • FEDORA-2010-9417
gentoo GLSA-201009-03
mandriva MDVSA-2010:118
osvdb 65083
sectrack 1024101
secunia
  • 40002
  • 40188
  • 40215
  • 40508
  • 43068
suse SUSE-SR:2011:002
vupen
  • ADV-2010-1452
  • ADV-2010-1478
  • ADV-2010-1518
  • ADV-2010-1519
  • ADV-2011-0212
Last major update 10-10-2018 - 19:57
Published 07-06-2010 - 17:12
Back to Top