CUPS cups/ipp.c ippReadIO Function IPP Tag Handling Overflow

This script is Copyright (C) 2007-2014 Tenable Network Security, Inc.


Synopsis :

The remote printer service is prone to a buffer overflow attack.

Description :

According to its banner, the version of CUPS installed on the remote
host fails to check the text-length field in the 'ippReadIO()'
function in 'cups/ipp.c'. Using a specially crafted request with an
IPP (Internet Printing Protocol) tag such as 'textWithLanguage' or
'nameWithLanguage' and an overly large text-length value, a remote
attacker may be able to leverage this issue to execute arbitrary code
on the affected system.

See also :

http://secunia.com/secunia_research/2007-76/advisory/
http://www.securityfocus.com/archive/1/483033/30/0/threaded
http://www.cups.org/str.php?L2561
http://www.cups.org/articles.php?L508

Solution :

Upgrade to CUPS version 1.3.4 or later.

Risk factor :

Critical / CVSS Base Score : 10.0
(CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C)
CVSS Temporal Score : 7.4
(CVSS2#E:U/RL:OF/RC:C)
Public Exploit Available : false

Family: Misc.

Nessus Plugin ID: 27608 (cups_ipp_tag_overflow.nasl)

Bugtraq ID: 26268

CVE ID: CVE-2007-4351