summaryrefslogtreecommitdiff
blob: 691c3d2183e5ed81315fb6d43d21aa99b528cd57 (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
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200506-22">
  <title>sudo: Arbitrary command execution</title>
  <synopsis>
    A vulnerability in sudo may allow local users to elevate privileges.
  </synopsis>
  <product type="ebuild">sudo</product>
  <announced>2005-06-23</announced>
  <revised count="01">2005-06-23</revised>
  <bug>96618</bug>
  <access>local</access>
  <affected>
    <package name="app-admin/sudo" auto="yes" arch="*">
      <unaffected range="ge">1.6.8_p9</unaffected>
      <vulnerable range="lt">1.6.8_p9</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>
    The sudoers file is used to define the actions sudo users are
    permitted to perform. Charles Morris discovered that a specific layout
    of the sudoers file could cause the results of an internal check to be
    clobbered, leaving sudo vulnerable to a race condition.
    </p>
  </description>
  <impact type="normal">
    <p>
    Successful exploitation would permit a local sudo user to execute
    arbitrary commands as another user.
    </p>
  </impact>
  <workaround>
    <p>
    Reorder the sudoers file using the visudo utility to ensure the
    'ALL' pseudo-command precedes other command definitions.
    </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.6.8_p9"</code>
  </resolution>
  <references>
    <uri link="https://www.sudo.ws/sudo/alerts/path_race.html">Sudo Announcement</uri>
  </references>
  <metadata tag="requester" timestamp="2005-06-21T20:05:11Z">
    koon
  </metadata>
  <metadata tag="submitter" timestamp="2005-06-22T15:18:20Z">
    taviso
  </metadata>
  <metadata tag="bugReady" timestamp="2005-06-23T06:48:01Z">
    jaervosz
  </metadata>
</glsa>