Sudo pathname race condition

sudo-pathname-race-condition (21080) The risk level is classified as HighHigh Risk

Description:

Sudo (superuser do) is vulnerable to a race condition caused by a vulnerability in the pathname validation. A local attacker, using a specific configuration, could use this vulnerability to execute arbitrary code on the system or perform a symlink attack, if a sudoers entry that contains the 'ALL' pseduo-command follows a user's sudoers entry.

Note: Exploitation requires that the user have permission to run multiple commands via Sudo and be able to create symbolic links in the filesystem. Additionally, a sudoers entry that gives a second user access to the ALL pseudo-command must come immediately after the user's sudoers entry in order for this race condition to exist.


Consequences:

Gain Access

Remedy:

Upgrade to the latest version of Sudo (1.6.8.p9 or later), available from the Sudo Download Web page. See References.

For Gentoo Linux:
Upgrade to the latest version of sudo (1.6.8_p9 or later), as listed in GLSA 200506-22. See References.

For SUSE Linux:
Upgrade to the latest version of Sudo listed below. Refer to SUSE Security Announcement SUSE-SA:2005:036 for more information. See References.

x86 Platform:
SUSE Linux 8.2: 6.6-192 or later

x86 and x86-64 Platforms:
SUSE Linux 9.3: 6.8p7-3.2 or later
SUSE Linux 9.2: 6.7p5-118.2 or later
SUSE Linux 9.1: 6.7p5-117.4 or later
SUSE Linux 9.0: 6.7p5-120 or later

For Conectiva Linux 9.0 and 10.0:
Upgrade to the latest version of Sudo (1.6.8p9 or later), as listed in Conectiva Linux Security Announcement CLSA-2005:976. See References.

For Debian GNU/Linux:
Refer to DSA-735-1 for patch, upgrade, or suggested workaround information. See References.

For Red Hat Linux:
Refer to RHSA-2005:535-06 for patch, upgrade, or suggested workaround information. See References.

For OpenPKG:
Refer to OpenPKG Security Advisory OpenPKG-SA-2005.012 for patch, upgrade, or suggested workaround information. See References.

For Ubuntu Linux:
Refer to USN-142-1 for patch, upgrade, or suggested workaround information. See References.

For other distributions:
Contact your vendor for upgrade or patch information.

References:

Platforms Affected:

  • Canonical Ubuntu 4.10
  • Canonical Ubuntu 5.04
  • Conectiva Linux 10
  • Conectiva Linux 9.0
  • Debian Debian Linux 3.0
  • Debian Debian Linux 3.1
  • Gentoo Linux
  • MandrakeSoft Mandrake Linux 10.0
  • MandrakeSoft Mandrake Linux 10.0 AMD64
  • MandrakeSoft Mandrake Linux 10.1 X86_64
  • MandrakeSoft Mandrake Linux 10.1
  • MandrakeSoft Mandrake Linux LE2005 X86_64
  • MandrakeSoft Mandrake Linux LE2005
  • MandrakeSoft Mandrake Linux Corporate Server 2.1
  • MandrakeSoft Mandrake Linux Corporate Server 2.1 X86_64
  • MandrakeSoft Mandrake Linux Corporate Server 3.0 X86_64
  • MandrakeSoft Mandrake Linux Corporate Server 3.0
  • MandrakeSoft Mandrake Multi Network Firewall 2.0
  • OpenPKG OpenPKG 2.3
  • OpenPKG OpenPKG 2.4
  • OpenPKG OpenPKG CURRENT
  • RedHat Enterprise Linux 2.1 ES
  • RedHat Enterprise Linux 2.1 AS
  • RedHat Enterprise Linux 2.1 WS
  • RedHat Enterprise Linux 3 ES
  • RedHat Enterprise Linux 3 AS
  • RedHat Enterprise Linux 3 Desktop
  • RedHat Enterprise Linux 3 WS
  • RedHat Enterprise Linux 4 WS
  • RedHat Enterprise Linux 4 Desktop
  • RedHat Enterprise Linux 4 AS
  • RedHat Enterprise Linux 4 ES
  • RedHat Linux Advanced Workstation 2.1 Itanium
  • SUSE SuSE Linux 8.2
  • SUSE SuSE Linux 9.0
  • SUSE SuSE Linux 9.1
  • SUSE SuSE Linux 9.2
  • SUSE SuSE Linux 9.3
  • Todd C. Miller Sudo 1.3.1 to 1.6.8p8
  • Turbolinux Turbolinux 10 Desktop
  • Turbolinux Turbolinux 10 F...
  • Turbolinux Turbolinux 10 Server
  • Turbolinux Turbolinux 7 Server
  • Turbolinux Turbolinux 7 Workstation
  • Turbolinux Turbolinux 8 Server
  • Turbolinux Turbolinux 8 Workstation
  • Turbolinux Turbolinux Home

Reported:

Jun 21, 2005

The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

For corrections or additions please email xforce@iss.net

Return to the main page