Lucene search

K
gentooGentoo FoundationGLSA-201003-01
HistoryMar 03, 2010 - 12:00 a.m.

sudo: Privilege escalation

2010-03-0300:00:00
Gentoo Foundation
security.gentoo.org
12

6.9 Medium

CVSS2

Access Vector

LOCAL

Access Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

COMPLETE

Integrity Impact

COMPLETE

Availability Impact

COMPLETE

AV:L/AC:M/Au:N/C:C/I:C/A:C

0.0004 Low

EPSS

Percentile

9.5%

Background

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

Description

Multiple vulnerabilities have been discovered in sudo:

  • Glenn Waller and neonsignal reported that sudo does not properly handle access control of the β€œsudoedit” pseudo-command (CVE-2010-0426).
  • Harald Koenig reported that sudo does not properly set supplementary groups when using the β€œrunas_default” option (CVE-2010-0427).

Impact

A local attacker with privileges to use β€œsudoedit” or the privilege to execute commands with the β€œrunas_default” setting enabled could leverage these vulnerabilities to execute arbitrary code with elevated privileges.

Workaround

CVE-2010-0426: Revoke all β€œsudoedit” privileges, or use the full path to sudoedit. CVE-2010-0427: Remove all occurrences of the β€œrunas_default” setting.

Resolution

All sudo users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=app-admin/sudo-1.7.2_p4"
OSVersionArchitecturePackageVersionFilename
Gentooanyallapp-admin/sudo<Β 1.7.2_p4UNKNOWN

6.9 Medium

CVSS2

Access Vector

LOCAL

Access Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

COMPLETE

Integrity Impact

COMPLETE

Availability Impact

COMPLETE

AV:L/AC:M/Au:N/C:C/I:C/A:C

0.0004 Low

EPSS

Percentile

9.5%