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

<glsa id="200412-09">
  <title>ncpfs: Buffer overflow in ncplogin and ncpmap</title>
  <synopsis>
    ncpfs is vulnerable to a buffer overflow that could lead to local execution
    of arbitrary code with elevated privileges.
  </synopsis>
  <product type="ebuild">ncpfs</product>
  <announced>December 15, 2004</announced>
  <revised>December 15, 2004: 01</revised>
  <bug>72820</bug>
  <access>local</access>
  <affected>
    <package name="net-fs/ncpfs" auto="yes" arch="*">
      <unaffected range="ge">2.2.5</unaffected>
      <vulnerable range="lt">2.2.5</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    ncpfs is a NCP protocol network filesystem that allows access to
    Netware services, for example to mount volumes of NetWare servers or
    print to NetWare print queues.
    </p>
  </background>
  <description>
    <p>
    Karol Wiesek discovered a buffer overflow in the handling of the
    '-T' option in the ncplogin and ncpmap utilities, which are both
    installed as SUID root by default.
    </p>
  </description>
  <impact type="high">
    <p>
    A local attacker could trigger the buffer overflow by calling one
    of these utilities with a carefully crafted command line, potentially
    resulting in execution of arbitrary code with root privileges.
    </p>
  </impact>
  <workaround>
    <p>
    There is no known workaround at this time.
    </p>
  </workaround>
  <resolution>
    <p>
    All ncpfs users should upgrade to the latest version:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose &quot;&gt;=net-fs/ncpfs-2.2.5&quot;</code>
  </resolution>
  <references>
    <uri link="http://lists.netsys.com/pipermail/full-disclosure/2004-November/029563.html">Full Disclosure Advisory</uri>
    <uri link="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1079">CAN-2004-1079</uri>
  </references>
  <metadata tag="requester" timestamp="Thu,  9 Dec 2004 07:35:34 +0000">
    jaervosz
  </metadata>
  <metadata tag="submitter" timestamp="Tue, 14 Dec 2004 14:41:20 +0000">
    koon
  </metadata>
  <metadata tag="bugReady" timestamp="Tue, 14 Dec 2004 16:10:38 +0000">
    koon
  </metadata>
</glsa>