summaryrefslogtreecommitdiff
blob: 7f8e612d068b63f63e3bde8bcc6f76db5323149f (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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200712-14">
  <title>CUPS: Multiple vulnerabilities</title>
  <synopsis>
    Multiple vulnerabilities have been discovered in CUPS, allowing for the
    remote execution of arbitrary code and a Denial of Service.
  </synopsis>
  <product type="ebuild">cups</product>
  <announced>2007-12-18</announced>
  <revised>2007-12-18: 01</revised>
  <bug>199195</bug>
  <bug>201042</bug>
  <bug>201570</bug>
  <access>remote</access>
  <affected>
    <package name="net-print/cups" auto="yes" arch="*">
      <unaffected range="rge">1.2.12-r4</unaffected>
      <unaffected range="ge">1.3.5</unaffected>
      <vulnerable range="lt">1.3.5</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    CUPS provides a portable printing layer for UNIX-based operating
    systems. The alternate pdftops filter is a CUPS filter used to convert
    PDF files to the Postscript format via Poppler; the filter is installed
    by default in Gentoo Linux.
    </p>
  </background>
  <description>
    <p>
    Wei Wang (McAfee AVERT Research) discovered an integer underflow in the
    asn1_get_string() function of the SNMP backend, leading to a
    stack-based buffer overflow when handling SNMP responses
    (CVE-2007-5849). Elias Pipping (Gentoo) discovered that the alternate
    pdftops filter creates temporary files with predictable file names when
    reading from standard input (CVE-2007-6358). Furthermore, the
    resolution of a Denial of Service vulnerability covered in GLSA
    200703-28 introduced another Denial of Service vulnerability within SSL
    handling (CVE-2007-4045).
    </p>
  </description>
  <impact type="high">
    <p>
    A remote attacker on the local network could exploit the first
    vulnerability to execute arbitrary code with elevated privileges by
    sending specially crafted SNMP messages as a response to an SNMP
    broadcast request. A local attacker could exploit the second
    vulnerability to overwrite arbitrary files with the privileges of the
    user running the CUPS spooler (usually lp) by using symlink attacks. A
    remote attacker could cause a Denial of Service condition via the third
    vulnerability when SSL is enabled in CUPS.
    </p>
  </impact>
  <workaround>
    <p>
    To disable SNMP support in CUPS, you have have to manually delete the
    file "/usr/libexec/cups/backend/snmp". Please note that the file is
    reinstalled if you merge CUPS again later. To disable the pdftops
    filter, delete all lines referencing "pdftops" in CUPS' "mime.convs"
    configuration file. To work around the third vulnerability, disable SSL
    support via the corresponding USE flag.
    </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-r4"</code>
  </resolution>
  <references>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-4045">CVE-2007-4045</uri>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-5849">CVE-2007-5849</uri>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-6358">CVE-2007-6358</uri>
    <uri link="https://www.gentoo.org/security/en/glsa/glsa-200703-28.xml">GLSA 200703-28</uri>
  </references>
  <metadata tag="requester" timestamp="2007-12-14T15:44:48Z">
    p-y
  </metadata>
  <metadata tag="bugReady" timestamp="2007-12-14T15:45:00Z">
    p-y
  </metadata>
  <metadata tag="submitter" timestamp="2007-12-15T13:31:00Z">
    rbu
  </metadata>
</glsa>