blob: ad33c61e3bb85912ad6c9e561781ae853358d8e6 (
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
|
<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet href="/xsl/glsa.xsl" type="text/xsl"?>
<?xml-stylesheet href="/xsl/guide.xsl" type="text/xsl"?>
<!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>November 12, 2007</announced>
<revised>November 12, 2007: 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 ">=net-print/cups-1.2.12-r2"</code>
</resolution>
<references>
<uri link="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-4351">CVE-2007-4351</uri>
</references>
<metadata tag="submitter" timestamp="Sun, 04 Nov 2007 00:16:24 +0000">
rbu
</metadata>
<metadata tag="bugReady" timestamp="Sun, 11 Nov 2007 08:38:00 +0000">
jaervosz
</metadata>
</glsa>
|