Vulnerabilities > CVE-2008-3640 - Numeric Errors vulnerability in Apple Cups
Attack vector
NETWORK Attack complexity
MEDIUM Privileges required
NONE Confidentiality impact
PARTIAL Integrity impact
PARTIAL Availability impact
PARTIAL Summary
Integer overflow in the WriteProlog function in texttops in CUPS before 1.3.9 allows remote attackers to execute arbitrary code via a crafted PostScript file that triggers a heap-based buffer overflow.
Vulnerable Configurations
Common Weakness Enumeration (CWE)
Nessus
NASL family Oracle Linux Local Security Checks NASL id ORACLELINUX_ELSA-2009-0308.NASL description From Red Hat Security Advisory 2009:0308 : Updated cups packages that fix a security issue are now available for Red Hat Enterprise Linux 3. This update has been rated as having important security impact by the Red Hat Security Response Team. The Common UNIX(r) Printing System (CUPS) provides a portable printing layer for UNIX operating systems. The CUPS security advisory, RHSA-2008:0937, stated that it fixed CVE-2008-3640 for Red Hat Enterprise Linux 3, 4, and 5. It was discovered this flaw was not properly fixed on Red Hat Enterprise Linux 3, however. (CVE-2009-0577) These new packages contain a proper fix for CVE-2008-3640 on Red Hat Enterprise Linux 3. Red Hat Enterprise Linux 4 and 5 already contain the appropriate fix for this flaw and do not need to be updated. Users of cups should upgrade to these updated packages, which contain a backported patch to correct this issue. last seen 2020-06-01 modified 2020-06-02 plugin id 67808 published 2013-07-12 reporter This script is Copyright (C) 2013-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/67808 title Oracle Linux 3 : cups (ELSA-2009-0308) NASL family SuSE Local Security Checks NASL id SUSE9_12261.NASL description Specially crafted print jobs could trigger buffer overflows in the last seen 2020-06-01 modified 2020-06-02 plugin id 41247 published 2009-09-24 reporter This script is Copyright (C) 2009-2019 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/41247 title SuSE9 Security Update : CUPS (YOU Patch Number 12261) NASL family SuSE Local Security Checks NASL id SUSE_11_0_CUPS-081002.NASL description Specially crafted print jobs could trigger buffer overflows in the last seen 2020-06-01 modified 2020-06-02 plugin id 39941 published 2009-07-21 reporter This script is Copyright (C) 2009-2019 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/39941 title openSUSE Security Update : cups (cups-232) NASL family Fedora Local Security Checks NASL id FEDORA_2008-8844.NASL description Security release. This updates to 1.3.9 and fixes three integer overflows in the CUPS text and image filters. Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues. last seen 2020-06-01 modified 2020-06-02 plugin id 34425 published 2008-10-16 reporter This script is Copyright (C) 2008-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/34425 title Fedora 9 : cups-1.3.9-1.fc9 (2008-8844) NASL family CentOS Local Security Checks NASL id CENTOS_RHSA-2009-0308.NASL description Updated cups packages that fix a security issue are now available for Red Hat Enterprise Linux 3. This update has been rated as having important security impact by the Red Hat Security Response Team. The Common UNIX(r) Printing System (CUPS) provides a portable printing layer for UNIX operating systems. The CUPS security advisory, RHSA-2008:0937, stated that it fixed CVE-2008-3640 for Red Hat Enterprise Linux 3, 4, and 5. It was discovered this flaw was not properly fixed on Red Hat Enterprise Linux 3, however. (CVE-2009-0577) These new packages contain a proper fix for CVE-2008-3640 on Red Hat Enterprise Linux 3. Red Hat Enterprise Linux 4 and 5 already contain the appropriate fix for this flaw and do not need to be updated. Users of cups should upgrade to these updated packages, which contain a backported patch to correct this issue. last seen 2020-06-01 modified 2020-06-02 plugin id 35719 published 2009-02-20 reporter This script is Copyright (C) 2009-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/35719 title CentOS 3 / 4 : cups (CESA-2009:0308) NASL family Fedora Local Security Checks NASL id FEDORA_2008-8801.NASL description Security release. This updates to 1.3.9 and fixes three integer overflows in the CUPS text and image filters. Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues. last seen 2020-06-01 modified 2020-06-02 plugin id 34424 published 2008-10-16 reporter This script is Copyright (C) 2008-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/34424 title Fedora 8 : cups-1.3.9-1.fc8 (2008-8801) NASL family FreeBSD Local Security Checks NASL id FREEBSD_PKG_CE29CE1D971A11DDAB7E001C2514716C.NASL description The release note of cups 1.3.9 reports : It contains the following fixes : - SECURITY: The HP-GL/2 filter did not range check pen numbers (STR #2911) - SECURITY: The SGI image file reader did not range check 16-bit run lengths (STR #2918) - SECURITY: The text filter did not range check cpi, lpi, or column values (STR #2919) Exploitation of this vulnerability results in the execution of arbitrary code with the privileges of the affected service. last seen 2020-06-01 modified 2020-06-02 plugin id 34391 published 2008-10-13 reporter This script is Copyright (C) 2008-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/34391 title FreeBSD : cups -- multiple vulnerabilities (ce29ce1d-971a-11dd-ab7e-001c2514716c) NASL family Debian Local Security Checks NASL id DEBIAN_DSA-1656.NASL description Several local vulnerabilities have been discovered in the Common UNIX Printing System. The Common Vulnerabilities and Exposures project identifies the following problems : - CVE-2008-3639 It was discovered that insufficient bounds checking in the SGI image filter may lead to the execution of arbitrary code. - CVE-2008-3640 It was discovered that an integer overflow in the Postscript conversion tool last seen 2020-06-01 modified 2020-06-02 plugin id 34449 published 2008-10-21 reporter This script is Copyright (C) 2008-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/34449 title Debian DSA-1656-1 : cupsys - several vulnerabilities NASL family Gentoo Local Security Checks NASL id GENTOO_GLSA-200812-11.NASL description The remote host is affected by the vulnerability described in GLSA-200812-11 (CUPS: Multiple vulnerabilities) Several buffer overflows were found in: The read_rle16 function in imagetops (CVE-2008-3639, found by regenrecht, reported via ZDI) The WriteProlog function in texttops (CVE-2008-3640, found by regenrecht, reported via ZDI) The Hewlett-Packard Graphics Language (HPGL) filter (CVE-2008-3641, found by regenrecht, reported via iDefense) The _cupsImageReadPNG function (CVE-2008-5286, reported by iljavs) Impact : A remote attacker could send specially crafted input to a vulnerable server, resulting in the remote execution of arbitrary code with the privileges of the user running the server. Workaround : None this time. last seen 2020-06-01 modified 2020-06-02 plugin id 35086 published 2008-12-11 reporter This script is Copyright (C) 2008-2019 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/35086 title GLSA-200812-11 : CUPS: Multiple vulnerabilities NASL family Scientific Linux Local Security Checks NASL id SL_20090219_CUPS_ON_SL3_X.NASL description The previous CUPS security advisor, stated that it fixed CVE-2008-3640 for Scientific Linux 3, 4, and 5. It was discovered this flaw was not properly fixed on Scientific Linux 3, however. (CVE-2009-0577) These new packages contain a proper fix for CVE-2008-3640 on Scientific Linux 3. Scientific Linux 4 and 5 already contain the appropriate fix for this flaw and do not need to be updated. last seen 2020-06-01 modified 2020-06-02 plugin id 60536 published 2012-08-01 reporter This script is Copyright (C) 2012-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/60536 title Scientific Linux Security Update : cups on SL3.x i386/x86_64 NASL family CentOS Local Security Checks NASL id CENTOS_RHSA-2008-0937.NASL description Updated cups packages that fix multiple security issues are now available for Red Hat Enterprise Linux 3, 4, and 5. This update has been rated as having important security impact by the Red Hat Security Response Team. The Common UNIX Printing System (CUPS) provides a portable printing layer for UNIX(R) operating systems. A buffer overflow flaw was discovered in the SGI image format decoding routines used by the CUPS image converting filter last seen 2020-06-01 modified 2020-06-02 plugin id 34375 published 2008-10-10 reporter This script is Copyright (C) 2008-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/34375 title CentOS 3 / 4 / 5 : cups (CESA-2008:0937) NASL family Misc. NASL id CUPS_1_3_9.NASL description According to its banner, the version of CUPS installed on the remote host is earlier than 1.3.9. Such versions are affected by several issues : - The HP-GL/2 filter does not adequately check the ranges on the pen width and pen color opcodes that allows an attacker to overwrite memory addresses with arbitrary data, which may result in execution of arbitrary code (STR #2911). - There is a heap-based buffer overflow in the SGI file format parsing module that can be triggered with malformed Run Length Encoded (RLE) data to execute arbitrary code (STR #2918). - There is an integer overflow vulnerability in the last seen 2020-06-01 modified 2020-06-02 plugin id 34385 published 2008-10-10 reporter This script is Copyright (C) 2008-2018 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/34385 title CUPS < 1.3.9 Multiple Vulnerabilities NASL family Ubuntu Local Security Checks NASL id UBUNTU_USN-656-1.NASL description It was discovered that the SGI image filter in CUPS did not perform proper bounds checking. If a user or automated system were tricked into opening a crafted SGI image, an attacker could cause a denial of service. (CVE-2008-3639) It was discovered that the texttops filter in CUPS did not properly validate page metrics. If a user or automated system were tricked into opening a crafted text file, an attacker could cause a denial of service. (CVE-2008-3640) It was discovered that the HP-GL filter in CUPS did not properly check for invalid pen parameters. If a user or automated system were tricked into opening a crafted HP-GL or HP-GL/2 file, a remote attacker could cause a denial of service or execute arbitrary code with user privileges. In Ubuntu 7.10 and 8.04 LTS, attackers would be isolated by the AppArmor CUPS profile. (CVE-2008-3641) NOTE: The previous update for CUPS on Ubuntu 6.06 LTS did not have the the fix for CVE-2008-1722 applied. This update includes fixes for the problem. We apologize for the inconvenience. Note that Tenable Network Security has extracted the preceding description block directly from the Ubuntu security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues. last seen 2020-06-01 modified 2020-06-02 plugin id 37836 published 2009-04-23 reporter Ubuntu Security Notice (C) 2009-2019 Canonical, Inc. / NASL script (C) 2018 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/37836 title Ubuntu 6.06 LTS / 7.04 / 7.10 / 8.04 LTS : cupsys vulnerabilities (USN-656-1) NASL family Mandriva Local Security Checks NASL id MANDRIVA_MDVSA-2008-211.NASL description A buffer overflow in the SGI image format decoding routines used by the CUPS image converting filter imagetops was discovered. An attacker could create malicious SGI image files that could possibly execute arbitrary code if the file was printed (CVE-2008-3639). An integer overflow flaw leading to a heap buffer overflow was found in the Text-to-PostScript texttops filter. An attacker could create a malicious text file that could possibly execute arbitrary code if the file was printed (CVE-2008-3640). Finally, an insufficient buffer bounds checking flaw was found in the HP-GL/2-to-PostScript hpgltops filter. An attacker could create a malicious HP-GL/2 file that could possibly execute arbitrary code if the file was printed (CVE-2008-3641). The updated packages have been patched to prevent this issue; for Mandriva Linux 2009.0 the latest CUPS version (1.3.9) is provided that corrects these issues and also provides other bug fixes. last seen 2020-06-01 modified 2020-06-02 plugin id 36840 published 2009-04-23 reporter This script is Copyright (C) 2009-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/36840 title Mandriva Linux Security Advisory : cups (MDVSA-2008:211) NASL family SuSE Local Security Checks NASL id SUSE_CUPS-5653.NASL description Specially crafted print jobs could trigger buffer overflows in the last seen 2020-06-01 modified 2020-06-02 plugin id 34359 published 2008-10-07 reporter This script is Copyright (C) 2008-2019 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/34359 title SuSE 10 Security Update : CUPS (ZYPP Patch Number 5653) NASL family Scientific Linux Local Security Checks NASL id SL_20081010_CUPS_ON_SL3_X.NASL description A buffer overflow flaw was discovered in the SGI image format decoding routines used by the CUPS image converting filter last seen 2020-06-01 modified 2020-06-02 plugin id 60483 published 2012-08-01 reporter This script is Copyright (C) 2012-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/60483 title Scientific Linux Security Update : cups on SL3.x, SL4.x, SL5.x i386/x86_64 NASL family Oracle Linux Local Security Checks NASL id ORACLELINUX_ELSA-2008-0937.NASL description From Red Hat Security Advisory 2008:0937 : Updated cups packages that fix multiple security issues are now available for Red Hat Enterprise Linux 3, 4, and 5. This update has been rated as having important security impact by the Red Hat Security Response Team. The Common UNIX Printing System (CUPS) provides a portable printing layer for UNIX(R) operating systems. A buffer overflow flaw was discovered in the SGI image format decoding routines used by the CUPS image converting filter last seen 2020-06-01 modified 2020-06-02 plugin id 67755 published 2013-07-12 reporter This script is Copyright (C) 2013-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/67755 title Oracle Linux 3 / 4 / 5 : cups (ELSA-2008-0937) NASL family SuSE Local Security Checks NASL id SUSE_CUPS-5652.NASL description Specially crafted print jobs could trigger buffer overflows in the last seen 2020-06-01 modified 2020-06-02 plugin id 34358 published 2008-10-07 reporter This script is Copyright (C) 2008-2019 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/34358 title openSUSE 10 Security Update : cups (cups-5652) NASL family Red Hat Local Security Checks NASL id REDHAT-RHSA-2008-0937.NASL description Updated cups packages that fix multiple security issues are now available for Red Hat Enterprise Linux 3, 4, and 5. This update has been rated as having important security impact by the Red Hat Security Response Team. The Common UNIX Printing System (CUPS) provides a portable printing layer for UNIX(R) operating systems. A buffer overflow flaw was discovered in the SGI image format decoding routines used by the CUPS image converting filter last seen 2020-06-01 modified 2020-06-02 plugin id 34384 published 2008-10-10 reporter This script is Copyright (C) 2008-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/34384 title RHEL 3 / 4 / 5 : cups (RHSA-2008:0937) NASL family Red Hat Local Security Checks NASL id REDHAT-RHSA-2009-0308.NASL description Updated cups packages that fix a security issue are now available for Red Hat Enterprise Linux 3. This update has been rated as having important security impact by the Red Hat Security Response Team. The Common UNIX(r) Printing System (CUPS) provides a portable printing layer for UNIX operating systems. The CUPS security advisory, RHSA-2008:0937, stated that it fixed CVE-2008-3640 for Red Hat Enterprise Linux 3, 4, and 5. It was discovered this flaw was not properly fixed on Red Hat Enterprise Linux 3, however. (CVE-2009-0577) These new packages contain a proper fix for CVE-2008-3640 on Red Hat Enterprise Linux 3. Red Hat Enterprise Linux 4 and 5 already contain the appropriate fix for this flaw and do not need to be updated. Users of cups should upgrade to these updated packages, which contain a backported patch to correct this issue. last seen 2020-06-01 modified 2020-06-02 plugin id 35722 published 2009-02-20 reporter This script is Copyright (C) 2009-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/35722 title RHEL 3 : cups (RHSA-2009:0308) NASL family Slackware Local Security Checks NASL id SLACKWARE_SSA_2008-312-01.NASL description New cups packages are available for Slackware 12.0, 12.1, and -current to fix security issues. last seen 2020-06-01 modified 2020-06-02 plugin id 34719 published 2008-11-09 reporter This script is Copyright (C) 2008-2019 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/34719 title Slackware 12.0 / 12.1 / current : cups (SSA:2008-312-01)
Oval
accepted | 2013-04-29T04:04:09.907-04:00 | ||||||||||||||||||||||||||||||||
class | vulnerability | ||||||||||||||||||||||||||||||||
contributors |
| ||||||||||||||||||||||||||||||||
definition_extensions |
| ||||||||||||||||||||||||||||||||
description | Integer overflow in the WriteProlog function in texttops in CUPS before 1.3.9 allows remote attackers to execute arbitrary code via a crafted PostScript file that triggers a heap-based buffer overflow. | ||||||||||||||||||||||||||||||||
family | unix | ||||||||||||||||||||||||||||||||
id | oval:org.mitre.oval:def:10266 | ||||||||||||||||||||||||||||||||
status | accepted | ||||||||||||||||||||||||||||||||
submitted | 2010-07-09T03:56:16-04:00 | ||||||||||||||||||||||||||||||||
title | Integer overflow in the WriteProlog function in texttops in CUPS before 1.3.9 allows remote attackers to execute arbitrary code via a crafted PostScript file that triggers a heap-based buffer overflow. | ||||||||||||||||||||||||||||||||
version | 27 |
Redhat
advisories |
| ||||
rpms |
|
References
- http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=752
- http://lists.opensuse.org/opensuse-security-announce/2008-10/msg00006.html
- http://secunia.com/advisories/32084
- http://secunia.com/advisories/32226
- http://secunia.com/advisories/32284
- http://secunia.com/advisories/32292
- http://secunia.com/advisories/32316
- http://secunia.com/advisories/32331
- http://secunia.com/advisories/33085
- http://secunia.com/advisories/33111
- http://sunsolve.sun.com/search/document.do?assetkey=1-26-261088-1
- http://support.avaya.com/elmodocs2/security/ASA-2008-470.htm
- http://www.cups.org/articles.php?L575
- http://www.cups.org/str.php?L2919
- http://www.debian.org/security/2008/dsa-1656
- http://www.gentoo.org/security/en/glsa/glsa-200812-11.xml
- http://www.mandriva.com/security/advisories?name=MDVSA-2008:211
- http://www.redhat.com/support/errata/RHSA-2008-0937.html
- http://www.securityfocus.com/bid/31690
- http://www.securitytracker.com/id?1021034
- http://www.vupen.com/english/advisories/2008/2782
- http://www.vupen.com/english/advisories/2008/3401
- http://www.vupen.com/english/advisories/2009/1568
- https://exchange.xforce.ibmcloud.com/vulnerabilities/45790
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10266
- https://usn.ubuntu.com/656-1/
- https://www.redhat.com/archives/fedora-package-announce/2008-October/msg00331.html
- https://www.redhat.com/archives/fedora-package-announce/2008-October/msg00380.html