summaryrefslogtreecommitdiff
blob: 8d0c77a43964456697284529e213a2e8d66d4c9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="201003-01">
  <title>sudo: Privilege escalation</title>
  <synopsis>
    Two vulnerabilities in sudo might allow local users to escalate privileges
    and execute arbitrary code with root privileges.
  </synopsis>
  <product type="ebuild">sudo</product>
  <announced>2010-03-03</announced>
  <revised>2010-03-03: 01</revised>
  <bug>306865</bug>
  <access>local</access>
  <affected>
    <package name="app-admin/sudo" auto="yes" arch="*">
      <unaffected range="ge">1.7.2_p4</unaffected>
      <vulnerable range="lt">1.7.2_p4</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    sudo allows a system administrator to give users the ability to run
    commands as other users.
    </p>
  </background>
  <description>
    <p>
    Multiple vulnerabilities have been discovered in sudo:
    </p>
    <ul>
    <li>Glenn Waller and neonsignal reported that sudo does not properly
    handle access control of the "sudoedit" pseudo-command
    (CVE-2010-0426).</li>
    <li>Harald Koenig reported that sudo does not
    properly set supplementary groups when using the "runas_default" option
    (CVE-2010-0427).</li>
    </ul>
  </description>
  <impact type="high">
    <p>
    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.
    </p>
  </impact>
  <workaround>
    <p>
    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.
    </p>
  </workaround>
  <resolution>
    <p>
    All sudo users should upgrade to the latest version:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose "&gt;=app-admin/sudo-1.7.2_p4"</code>
  </resolution>
  <references>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2010-0426">CVE-2010-0426</uri>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2010-0427">CVE-2010-0427</uri>
  </references>
  <metadata tag="requester" timestamp="2010-03-02T19:53:26Z">
    a3li
  </metadata>
  <metadata tag="submitter" timestamp="2010-03-02T20:22:07Z">
    a3li
  </metadata>
  <metadata tag="bugReady" timestamp="2010-03-03T16:28:38Z">
    a3li
  </metadata>
</glsa>