CUPS Heap Overflow Lets Remote Users Execute Arbitrary Code
SecurityTracker Alert ID: 1019646|
SecurityTracker URL: http://securitytracker.com/id/1019646
(Links to External Site)
Updated: Mar 19 2008|
Original Entry Date: Mar 18 2008
Execution of arbitrary code via network, User access via network|
Fix Available: Yes Vendor Confirmed: Yes |
Version(s): 1.3.5, possibly other versions|
A vulnerability was reported in CUPS (Common UNIX Printing System). A remote user can execute arbitrary code on the target system.|
A remote user can send specially crafted data to TCP port 631 to trigger a heap overflow and execute arbitrary code on the target system. The code will run with the privileges of the target service.
The vendor was notified on February 26, 2008.
regenrecht reported this vulnerability via iDefense.
A remote user can execute arbitrary code on the target system.|
The vendor has issued a fix (1.3.6).|
Vendor URL: www.cups.org/ (Links to External Site)
|Underlying OS: Linux (Any), UNIX (Any)|
This archive entry has one or more follow-up message(s) listed below.|
Source Message Contents
Subject: iDefense Security Advisory 03.18.08: Multiple Vendor CUPS CGI Heap|
iDefense Security Advisory 03.18.08
Mar 18, 2008
The Common UNIX Printing System, more commonly referred to as CUPS,
provides a standard printer interface for various Unix based operating
systems. For more information, visit the vendor's website at the
Remote exploitation of a heap based buffer overflow vulnerability in
CUPS, as included in various vendors' operating system distributions,
could allow an attacker to execute arbitrary code with the privileges
of the affected service.
CUPS listens on TCP port 631 for requests. This interface provides
access to several CGI applications used to administer CUPS and provide
information about print jobs. By passing a specially crafted request,
an attacker can trigger a heap based buffer overflow.
Exploitation of this vulnerability results in the execution of arbitrary
code with the privileges of the affected service. Depending on the
underlying operating system and distribution, CUPS may run as the lp,
daemon, or a different user.
In order to exploit this vulnerability remotely, the targeted host must
be sharing a printer(s) on the network. If a printer is not being
shared, where CUPS only listens on the local interface, this
vulnerability could only be used to elevate privileges locally.
iDefense has confirmed the existence of this vulnerability in CUPS
version 1.3.5. Previous versions may also be affected.
Disabling printer sharing will prevent this vulnerability from being
exploited remotely. However, local users will still be able to obtain
the privileges of the CUPS service user.
VI. VENDOR RESPONSE
Apple Inc. has addressed this vulnerability within Security Update
2008-002. For more information, visit the following URL.
VII. CVE INFORMATION
The Common Vulnerabilities and Exposures (CVE) project has assigned the
name CVE-2008-0047 to this issue. This is a candidate for inclusion in
the CVE list (http://cve.mitre.org/), which standardizes names for
VIII. DISCLOSURE TIMELINE
02/26/2008 Initial vendor notification
02/26/2008 Initial vendor response
03/18/2008 Coordinated public disclosure
This vulnerability was reported to iDefense by regenrecht.
Get paid for vulnerability research
Free tools, research and upcoming events
X. LEGAL NOTICES
Permission is granted for the redistribution of this alert
electronically. It may not be edited in any way without the express
written consent of iDefense. If you wish to reprint the whole or any
part of this alert in any other medium other than electronically,
please e-mail email@example.com for permission.
Disclaimer: The information in the advisory is believed to be accurate
at the time of publishing based on currently available information. Use
of the information constitutes acceptance for use in an AS IS condition.
There are no warranties with regard to this information. Neither the
author nor the publisher accepts any liability for any direct,
indirect, or consequential loss or damage arising from use of, or
reliance on, this information.
To unsubscribe, go here: