summaryrefslogtreecommitdiff
blob: 2a310047399e4e1624e7108cc7653eabcbaa5f01 (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="200711-16">
  <title>CUPS: Memory corruption</title>
  <synopsis>
    CUPS contains a boundary checking error that might lead to the execution of
    arbitrary code.
  </synopsis>
  <product type="ebuild">cups</product>
  <announced>2007-11-12</announced>
  <revised>2007-11-12: 01</revised>
  <bug>196736</bug>
  <access>remote</access>
  <affected>
    <package name="net-print/cups" auto="yes" arch="*">
      <unaffected range="ge">1.2.12-r2</unaffected>
      <vulnerable range="lt">1.2.12-r2</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    CUPS provides a portable printing layer for UNIX-based operating
    systems.
    </p>
  </background>
  <description>
    <p>
    Alin Rad Pop (Secunia Research) discovered an off-by-one error in the
    ippReadIO() function when handling Internet Printing Protocol (IPP)
    tags that might allow to overwrite one byte on the stack.
    </p>
  </description>
  <impact type="high">
    <p>
    A local attacker could send a specially crafted IPP request containing
    "textWithLanguage" or "nameWithLanguage" tags, leading to a Denial of
    Service or the execution of arbitrary code with the privileges of the
    "lp" user. If CUPS is configured to allow network printing, this
    vulnerability might be remotely exploitable.
    </p>
  </impact>
  <workaround>
    <p>
    To avoid remote exploitation, network access to CUPS servers on port
    631/udp should be restricted. In order to do this, update the "Listen"
    setting in cupsd.conf to "<i>Listen localhost:631</i>" or add a rule to
    the system's firewall. However, this will not avoid local users from
    exploiting this vulnerability.
    </p>
  </workaround>
  <resolution>
    <p>
    All CUPS users should upgrade to the latest version:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose "&gt;=net-print/cups-1.2.12-r2"</code>
  </resolution>
  <references>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-4351">CVE-2007-4351</uri>
  </references>
  <metadata tag="submitter" timestamp="2007-11-04T00:16:24Z">
    rbu
  </metadata>
  <metadata tag="bugReady" timestamp="2007-11-11T08:38:00Z">
    jaervosz
  </metadata>
</glsa>