Gentoo Archives: gentoo-announce

From: Alex Legler <a3li@g.o>
To: gentoo-announce@l.g.o
Cc: bugtraq@×××××××××××××.com, full-disclosure@××××××××××××××.uk, security-alerts@×××××××××××××.com
Subject: [gentoo-announce] [ GLSA 201009-03 ] sudo: Privilege Escalation
Date: Tue, 07 Sep 2010 12:20:25
Message-Id: 20100907140802.1ea2e177@mail.a3li.li
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 201009-03
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

  Severity: High
     Title: sudo: Privilege Escalation
      Date: September 07, 2010
      Bugs: #322517, #335381
        ID: 201009-03

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
========

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

Background
==========

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

Affected packages
=================

    -------------------------------------------------------------------
     Package         /    Vulnerable    /                   Unaffected
    -------------------------------------------------------------------
  1  app-admin/sudo      < 1.7.4_p3-r1                  >= 1.7.4_p3-r1

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.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All sudo users should upgrade to the latest version:

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

References
==========

  [ 1 ] CVE-2010-1646
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2010-1646
  [ 2 ] CVE-2010-2956
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2010-2956

Availability
============

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

  http://security.gentoo.org/glsa/glsa-201009-03.xml

Concerns?
=========

Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users machines is of utmost
importance to us. Any security concerns should be addressed to
security@g.o or alternatively, you may file a bug at
https://bugs.gentoo.org.

License
=======

Copyright 2010 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

http://creativecommons.org/licenses/by-sa/2.5

Attachments

File name MIME type
signature.asc application/pgp-signature