summaryrefslogtreecommitdiff
blob: 85a427b32f55b5239e6da56dfcd25f2335b72341 (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
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200903-24">
  <title>Shadow: Privilege escalation</title>
  <synopsis>
    An insecure temporary file usage in Shadow may allow local users to gain
    root privileges.
  </synopsis>
  <product type="ebuild">shadow</product>
  <announced>2009-03-10</announced>
  <revised count="01">2009-03-10</revised>
  <bug>251320</bug>
  <access>local</access>
  <affected>
    <package name="sys-apps/shadow" auto="yes" arch="*">
      <unaffected range="ge">4.1.2.2</unaffected>
      <vulnerable range="lt">4.1.2.2</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    Shadow is a set of tools to deal with user accounts.
    </p>
  </background>
  <description>
    <p>
    Paul Szabo reported a race condition in the "login" executable when
    setting up tty permissions.
    </p>
  </description>
  <impact type="high">
    <p>
    A local attacker belonging to the "utmp" group could use symlink
    attacks to overwrite arbitrary files and possibly gain root privileges.
    </p>
  </impact>
  <workaround>
    <p>
    There is no known workaround at this time.
    </p>
  </workaround>
  <resolution>
    <p>
    All Shadow users should upgrade to the latest version:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose "&gt;=sys-apps/shadow-4.1.2.2"</code>
  </resolution>
  <references>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-5394">CVE-2008-5394</uri>
  </references>
  <metadata tag="requester" timestamp="2009-02-12T19:41:17Z">
    craig
  </metadata>
  <metadata tag="submitter" timestamp="2009-03-08T19:05:06Z">
    p-y
  </metadata>
  <metadata tag="bugReady" timestamp="2009-03-08T19:05:15Z">
    p-y
  </metadata>
</glsa>