Gentoo Logo

sudo: Privilege Escalation

Content:

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 201009-03 / sudo
Release Date September 07, 2010
Latest Revision September 07, 2010: 01
Impact high
Exploitable local
Package Vulnerable versions Unaffected versions Architecture(s)
app-admin/sudo < 1.7.4_p3-r1 >= 1.7.4_p3-r1 All supported architectures

Related bugreports: #322517, #335381

Synopsis

The secure path feature and group handling in sudo allow local attackers to escalate privileges.

2.  Impact Information

Background

sudo allows a system administrator to give users the ability to run commands as other users.

Description

Multiple vulnerabilities have been reported in sudo:

  • Evan Broder and Anders Kaseorg of Ksplice, Inc. reported that the sudo 'secure path' feature does not properly handle multiple PATH variables (CVE-2010-1646).
  • Markus Wuethrich of Swiss Post reported that sudo fails to restrict access when using Runas groups and the group (-g) command line option (CVE-2010-2956).

Impact

A local attacker could exploit these vulnerabilities to gain the ability to run certain commands with the privileges of other users, including root, depending on the configuration.

3.  Resolution Information

Workaround

There is no known workaround at this time.

Resolution

All sudo users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-admin/sudo-1.7.4_p3-r1"

4.  References



Print

Page updated September 07, 2010

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2014 Gentoo Foundation, Inc. Questions, Comments? Contact us.