summaryrefslogtreecommitdiff
blob: c7c13af63f5275397561684091428945ccb0789c (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
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">

<glsa id="200710-18">
  <title>util-linux: Local privilege escalation</title>
  <synopsis>
    The mount and umount programs might allow local attackers to gain root
    privileges.
  </synopsis>
  <product type="ebuild">util-linux</product>
  <announced>October 18, 2007</announced>
  <revised>October 18, 2007: 01</revised>
  <bug>195390</bug>
  <access>local</access>
  <affected>
    <package name="sys-apps/util-linux" auto="yes" arch="*">
      <unaffected range="ge">2.12r-r8</unaffected>
      <vulnerable range="lt">2.12r-r8</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    util-linux is a suite of Linux programs including mount and umount,
    programs used to mount and unmount filesystems.
    </p>
  </background>
  <description>
    <p>
    Ludwig Nussel discovered that the check_special_mountprog() and
    check_special_umountprog() functions call setuid() and setgid() in the
    wrong order and do not check the return values, which can lead to
    privileges being dropped improperly.
    </p>
  </description>
  <impact type="high">
    <p>
    A local attacker may be able to exploit this vulnerability by using
    mount helpers such as the mount.nfs program to gain root privileges and
    run arbitrary commands.
    </p>
  </impact>
  <workaround>
    <p>
    There is no known workaround at this time.
    </p>
  </workaround>
  <resolution>
    <p>
    All util-linux users should upgrade to the latest version:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose &quot;&gt;=sys-apps/util-linux-2.12r-r8&quot;</code>
  </resolution>
  <references>
    <uri link="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-5191">CVE-2007-5191</uri>
  </references>
  <metadata tag="requester" timestamp="Fri, 12 Oct 2007 17:17:12 +0000">
    rbu
  </metadata>
  <metadata tag="bugReady" timestamp="Fri, 12 Oct 2007 17:18:23 +0000">
    rbu
  </metadata>
  <metadata tag="submitter" timestamp="Mon, 15 Oct 2007 00:47:53 +0000">
    rbu
  </metadata>
</glsa>