CUPS image-png.c and image-zoom.c buffer overflow
| cups-imagepng-imagezoom-bo (41832) |
Description:
CUPS is vulnerable to a heap-based buffer overflow, caused by an integer overflow in image-png.c and image-zoom.c. By persuading a victim to open a specially-crafted PNG file containing overly large width and height fields, a remote attacker could overflow a buffer and execute arbitrary code on the system with elevated privileges or cause the application to crash.
Platforms Affected:
- Canonical, Ubuntu 6.06 LTS
- Canonical, Ubuntu 7.04
- Canonical, Ubuntu 7.10
- Debian, Debian Linux 4.0
- Easy Software Products, CUPS 1.3.7
- Gentoo, Linux
- RedHat, Enterprise Linux 3 Desktop
- RedHat, Enterprise Linux 3 AS
- RedHat, Enterprise Linux 3 ES
- RedHat, Enterprise Linux 3 WS
- RedHat, Enterprise Linux 4 ES
- RedHat, Enterprise Linux 4 Desktop
- RedHat, Enterprise Linux 4 AS
- RedHat, Enterprise Linux 4 WS
- RedHat, Enterprise Linux 5
- RedHat, Enterprise Linux 5 Client Workstation
- RedHat, Enterprise Linux 5 Client
Remedy:
Refer to CUPS STR #2790 for patch, upgrade or suggested workaround information. See References.
Consequences:
Gain Access
References:
- CUPS STR #2790, Integer overflows in PNG image loading code at http://www.cups.org/str.php?L2790.
- ASA-2008-273: cups security update (RHSA-2008-0498)
- BID-28781: CUPS PNG Filter Multiple Integer Overflow Vulnerabilities
- CVE-2008-1722: Multiple integer overflows in (1) filter/image-png.c and (2) filter/image-zoom.c in CUPS 1.3 allow attackers to cause a denial of service (crash) and trigger memory corruption, as demonstrated via a crafted PNG image.
- DSA-1625: cupsys -- buffer overflows
- FrSIRT/ADV-2008-1226: CUPS PNG Filter Data Handling Integer Overflow Vulnerabilities
- GLSA-200804-23: CUPS: Integer overflow vulnerability
- RHSA-2008-0498: Moderate: cups security update
- SA29809: CUPS PNG Filter Integer Overflow Vulnerability
- SECTRACK ID: 1019854: CUPS Integer Overflows in Processing PNG Images May Let Remote Users Execute Arbitrary Code
- US-CERT VU#218395: CUPS integer overflow vulnerability
- USN-606-1: CUPS vulnerability
Reported:
Apr 08, 2008
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
Copyright (c) 1994-2008 Internet Security Systems, Inc. All rights reserved worldwide.
For corrections or additions please email xforce@iss.net
