First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 196736
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Security <security@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Sune Kloppenborg Jeppesen <jaervosz@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:
Flags: Requestee:
 
 
  ()

Filename Description Type Creator Created Size Actions
str2561-cups11v2.patch str2561-cups11v2.patch patch Sune Kloppenborg Jeppesen 2007-10-23 18:50 0000 3.72 KB Details | Diff
str2561-cups12v2.patch str2561-cups12v2.patch patch Sune Kloppenborg Jeppesen 2007-10-23 18:50 0000 3.78 KB Details | Diff
str2561-cups13v2.patch str2561-cups13v2.patch patch Sune Kloppenborg Jeppesen 2007-10-23 18:50 0000 3.78 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 196736 depends on: Show dependency tree
Bug 196736 blocks:

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-10-22 20:01 0000
Secunia Research has discovered a vulnerability in CUPS, which can be
exploited by malicious people to compromise a vulnerable system.

The vulnerability is caused due to a boundary error within the
"ippReadIO()" function in cups/ipp.c when processing IPP (Internet
Printing Protocol) tags. This can be exploited to overwrite one byte on
the stack with a zero by sending an IPP request containing specially
crafted "textWithLanguage" or "nameWithLanguage" tags.

Successful exploitation allows execution of arbitrary code.

The vulnerability is confirmed in version 1.3.3. Other versions may also
be affected.

Vulnerability Details:
----------------------

The vulnerability is caused by the missing check for the text-length
field at line 1430 in cups/ipp.c from cups-1.3.3.

Exploitation:
-------------

The vulnerability can be reproduced by sending a specially crafted
IPP request specifying an IPP tag equal to 0x35 (IPP_TAG_TEXTLANG),
containing an overly large text-length value (e.g. 33035). 

Closing comments:
-----------------

We have assigned this vulnerability Secunia advisory SA27233 and CVE
identifier CVE-2007-4351.

Upstream contacted.
Disclosure date: As soon as the vendor releases a patch, or 2007-10-31.
                 Note that this may be changed if the vendor requests it.

Credits:
Alin Rad Pop, Secunia Research.

------- Comment #1 From Sune Kloppenborg Jeppesen 2007-10-23 18:50:09 0000 -------
Created an attachment (id=134186) [edit]
str2561-cups11v2.patch

------- Comment #2 From Sune Kloppenborg Jeppesen 2007-10-23 18:50:15 0000 -------
Created an attachment (id=134187) [edit]
str2561-cups12v2.patch

------- Comment #3 From Sune Kloppenborg Jeppesen 2007-10-23 18:50:20 0000 -------
Created an attachment (id=134188) [edit]
str2561-cups13v2.patch

------- Comment #4 From Sune Kloppenborg Jeppesen 2007-10-23 18:53:14 0000 -------
Hi Genstef, if you want stable testing before the disclosure date please attach
updated ebuilds to this bug. Do not commit anything yet.

------- Comment #5 From Pierre-Yves Rofes 2007-11-01 14:26:18 0000 -------
public now. printing, any news here?

------- Comment #6 From Jakub Moc (RETIRED) 2007-11-02 12:57:54 0000 -------
*** Bug 197868 has been marked as a duplicate of this bug. ***

------- Comment #7 From Sune Kloppenborg Jeppesen 2007-11-05 07:50:54 0000 -------
Printing please advise.

------- Comment #8 From Timo Gurr 2007-11-05 19:17:02 0000 -------
Bumped versions for cups 1.1 and 1.2 which apply the patch for CVE-2007-4351:

cups-1.1.23-r9.ebuild
cups-1.2.12-r2.ebuild

Added new upstream version for cups 1.3 and removed the vulnerable
cups-1.3.3.ebuild from the tree:

cups-1.3.4.ebuild

------- Comment #9 From Stefan Schweizer 2007-11-05 20:01:32 0000 -------
I removed the cups-1.1 fixed ebuild again and made sure that its obvious that
1.1 is unmaintained and suffers from more bugs.

Sorry for the confusion ..

------- Comment #10 From Robert Buchholz 2007-11-05 20:16:25 0000 -------
Arches, please test and mark stable net-print/cups-1.2.12-r2.
Target keywords : "alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc
x86"

------- Comment #11 From Ferris McCormick 2007-11-05 20:52:34 0000 -------
Sparc stable.

------- Comment #12 From Christian Faulhammer 2007-11-06 07:25:57 0000 -------
x86 stable

------- Comment #13 From Markus Rothe 2007-11-06 07:59:10 0000 -------
ppc64 stable

------- Comment #14 From Jeroen Roovers 2007-11-06 16:15:39 0000 -------
Stable for HPPA.

------- Comment #15 From Tobias Scherbaum 2007-11-06 17:50:36 0000 -------
ppc stable

------- Comment #16 From Daniel Gryniewicz 2007-11-09 22:16:01 0000 -------
amd64 done.

------- Comment #17 From Raúl Porcel 2007-11-10 14:49:24 0000 -------
alpha/ia64 stable, thanks Tobias

------- Comment #18 From Pierre-Yves Rofes 2007-11-12 22:00:00 0000 -------
GLSA 200711-16, sorry for the delay.

------- Comment #19 From Joshua Kinard 2007-11-20 03:07:05 0000 -------
mips stable.

First Last Prev Next    No search results available      Search page      Enter new bug