Vulnerabilities > CVE-2014-9679 - Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in Apple Cups
Attack vector
UNKNOWN Attack complexity
UNKNOWN Privileges required
UNKNOWN Confidentiality impact
UNKNOWN Integrity impact
UNKNOWN Availability impact
UNKNOWN Summary
Integer underflow in the cupsRasterReadPixels function in filter/raster.c in CUPS before 2.0.2 allows remote attackers to have unspecified impact via a malformed compressed raster file, which triggers a buffer overflow.
Vulnerable Configurations
Common Weakness Enumeration (CWE)
Common Attack Pattern Enumeration and Classification (CAPEC)
- Buffer Overflow via Environment Variables This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
- Overflow Buffers Buffer Overflow attacks target improper or missing bounds checking on buffer operations, typically triggered by input injected by an attacker. As a consequence, an attacker is able to write past the boundaries of allocated buffer regions in memory, causing a program crash or potentially redirection of execution as per the attackers' choice.
- Client-side Injection-induced Buffer Overflow This type of attack exploits a buffer overflow vulnerability in targeted client software through injection of malicious content from a custom-built hostile service.
- Filter Failure through Buffer Overflow In this attack, the idea is to cause an active filter to fail by causing an oversized transaction. An attacker may try to feed overly long input strings to the program in an attempt to overwhelm the filter (by causing a buffer overflow) and hoping that the filter does not fail securely (i.e. the user input is let into the system unfiltered).
- MIME Conversion An attacker exploits a weakness in the MIME conversion routine to cause a buffer overflow and gain control over the mail server machine. The MIME system is designed to allow various different information formats to be interpreted and sent via e-mail. Attack points exist when data are converted to MIME compatible format and back.
Nessus
NASL family Scientific Linux Local Security Checks NASL id SL_20150617_CUPS_ON_SL6_X.NASL description A string reference count bug was found in cupsd, causing premature freeing of string objects. An attacker can submit a malicious print job that exploits this flaw to dismantle ACLs protecting privileged operations, allowing a replacement configuration file to be uploaded which in turn allows the attacker to run arbitrary code in the CUPS server (CVE-2015-1158) A cross-site scripting flaw was found in the cups web templating engine. An attacker could use this flaw to bypass the default configuration settings that bind the CUPS scheduler to the last seen 2020-03-18 modified 2015-06-18 plugin id 84259 published 2015-06-18 reporter This script is Copyright (C) 2015-2020 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/84259 title Scientific Linux Security Update : cups on SL6.x, SL7.x i386/x86_64 (20150617) code # # (C) Tenable Network Security, Inc. # # The descriptive text is (C) Scientific Linux. # include("compat.inc"); if (description) { script_id(84259); script_version("2.5"); script_set_attribute(attribute:"plugin_modification_date", value:"2020/02/25"); script_cve_id("CVE-2014-9679", "CVE-2015-1158", "CVE-2015-1159"); script_name(english:"Scientific Linux Security Update : cups on SL6.x, SL7.x i386/x86_64 (20150617)"); script_summary(english:"Checks rpm output for the updated packages"); script_set_attribute( attribute:"synopsis", value: "The remote Scientific Linux host is missing one or more security updates." ); script_set_attribute( attribute:"description", value: "A string reference count bug was found in cupsd, causing premature freeing of string objects. An attacker can submit a malicious print job that exploits this flaw to dismantle ACLs protecting privileged operations, allowing a replacement configuration file to be uploaded which in turn allows the attacker to run arbitrary code in the CUPS server (CVE-2015-1158) A cross-site scripting flaw was found in the cups web templating engine. An attacker could use this flaw to bypass the default configuration settings that bind the CUPS scheduler to the 'localhost' or loopback interface. (CVE-2015-1159) An integer overflow leading to a heap-based buffer overflow was found in the way cups handled compressed raster image files. An attacker could create a specially crafted image file, which when passed via the cups Raster filter, could cause the cups filter to crash. (CVE-2014-9679) After installing this update, the cupsd daemon will be restarted automatically." ); # https://listserv.fnal.gov/scripts/wa.exe?A2=ind1506&L=scientific-linux-errata&F=&S=&P=11940 script_set_attribute( attribute:"see_also", value:"http://www.nessus.org/u?0667d822" ); script_set_attribute(attribute:"solution", value:"Update the affected packages."); script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C"); script_set_attribute(attribute:"plugin_type", value:"local"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:cups"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:cups-client"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:cups-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:cups-devel"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:cups-filesystem"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:cups-ipptool"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:cups-libs"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:cups-lpd"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:cups-php"); script_set_attribute(attribute:"cpe", value:"x-cpe:/o:fermilab:scientific_linux"); script_set_attribute(attribute:"vuln_publication_date", value:"2015/02/19"); script_set_attribute(attribute:"patch_publication_date", value:"2015/06/17"); script_set_attribute(attribute:"plugin_publication_date", value:"2015/06/18"); script_set_attribute(attribute:"generated_plugin", value:"current"); script_end_attributes(); script_category(ACT_GATHER_INFO); script_copyright(english:"This script is Copyright (C) 2015-2020 and is owned by Tenable, Inc. or an Affiliate thereof."); script_family(english:"Scientific Linux Local Security Checks"); script_dependencies("ssh_get_info.nasl"); script_require_keys("Host/local_checks_enabled", "Host/cpu", "Host/RedHat/release", "Host/RedHat/rpm-list"); exit(0); } include("audit.inc"); include("global_settings.inc"); include("misc_func.inc"); include("rpm.inc"); if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED); release = get_kb_item("Host/RedHat/release"); if (isnull(release) || "Scientific Linux " >!< release) audit(AUDIT_HOST_NOT, "running Scientific Linux"); os_ver = pregmatch(pattern: "Scientific Linux.*release ([0-9]+(\.[0-9]+)?)", string:release); if (isnull(os_ver)) audit(AUDIT_UNKNOWN_APP_VER, "Scientific Linux"); os_ver = os_ver[1]; if (! preg(pattern:"^7([^0-9]|$)", string:os_ver)) audit(AUDIT_OS_NOT, "Scientific Linux 7.x", "Scientific Linux " + os_ver); if (!get_kb_item("Host/RedHat/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING); cpu = get_kb_item("Host/cpu"); if (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH); if (cpu >!< "x86_64" && cpu !~ "^i[3-6]86$") audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, "Scientific Linux", cpu); flag = 0; if (rpm_check(release:"SL6", reference:"cups-1.4.2-67.el6_6.1")) flag++; if (rpm_check(release:"SL6", reference:"cups-debuginfo-1.4.2-67.el6_6.1")) flag++; if (rpm_check(release:"SL6", reference:"cups-devel-1.4.2-67.el6_6.1")) flag++; if (rpm_check(release:"SL6", reference:"cups-libs-1.4.2-67.el6_6.1")) flag++; if (rpm_check(release:"SL6", reference:"cups-lpd-1.4.2-67.el6_6.1")) flag++; if (rpm_check(release:"SL6", reference:"cups-php-1.4.2-67.el6_6.1")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"cups-1.6.3-17.el7_1.1")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"cups-client-1.6.3-17.el7_1.1")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"cups-debuginfo-1.6.3-17.el7_1.1")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"cups-devel-1.6.3-17.el7_1.1")) flag++; if (rpm_check(release:"SL7", reference:"cups-filesystem-1.6.3-17.el7_1.1")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"cups-ipptool-1.6.3-17.el7_1.1")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"cups-libs-1.6.3-17.el7_1.1")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"cups-lpd-1.6.3-17.el7_1.1")) flag++; if (flag) { security_report_v4( port : 0, severity : SECURITY_HOLE, extra : rpm_report_get() ); exit(0); } else { tested = pkg_tests_get(); if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested); else audit(AUDIT_PACKAGE_NOT_INSTALLED, "cups / cups-client / cups-debuginfo / cups-devel / cups-filesystem / etc"); }
NASL family Debian Local Security Checks NASL id DEBIAN_DLA-159.NASL description Peter De Wachter discovered that CUPS, the Common UNIX Printing System, did not correctly parse compressed raster files. By submitting a specially crafted raster file, a remote attacker could use this vulnerability to trigger a buffer overflow. For the oldstable distribution (squeeze), this problem has been fixed in version 1.4.4-7+squeeze7. For the stable distribution (wheezy), this problem has been fixed in version 1.5.3-5+deb7u5. We recommend that you upgrade your cups packages. NOTE: Tenable Network Security has extracted the preceding description block directly from the DLA security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues. last seen 2020-03-17 modified 2015-03-26 plugin id 82142 published 2015-03-26 reporter This script is Copyright (C) 2015-2020 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/82142 title Debian DLA-159-1 : cups security update code #%NASL_MIN_LEVEL 80502 # # (C) Tenable Network Security, Inc. # # The descriptive text and package checks in this plugin were # extracted from Debian Security Advisory DLA-159-1. The text # itself is copyright (C) Software in the Public Interest, Inc. # include("compat.inc"); if (description) { script_id(82142); script_version("1.6"); script_set_attribute(attribute:"plugin_modification_date", value:"2020/03/12"); script_cve_id("CVE-2014-9679"); script_bugtraq_id(72594); script_name(english:"Debian DLA-159-1 : cups security update"); script_summary(english:"Checks dpkg output for the updated packages."); script_set_attribute( attribute:"synopsis", value:"The remote Debian host is missing a security update." ); script_set_attribute( attribute:"description", value: "Peter De Wachter discovered that CUPS, the Common UNIX Printing System, did not correctly parse compressed raster files. By submitting a specially crafted raster file, a remote attacker could use this vulnerability to trigger a buffer overflow. For the oldstable distribution (squeeze), this problem has been fixed in version 1.4.4-7+squeeze7. For the stable distribution (wheezy), this problem has been fixed in version 1.5.3-5+deb7u5. We recommend that you upgrade your cups packages. NOTE: Tenable Network Security has extracted the preceding description block directly from the DLA security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues." ); script_set_attribute( attribute:"see_also", value:"https://lists.debian.org/debian-lts-announce/2015/02/msg00013.html" ); script_set_attribute( attribute:"see_also", value:"https://packages.debian.org/source/squeeze-lts/cups" ); script_set_attribute(attribute:"solution", value:"Upgrade the affected packages."); script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P"); script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C"); script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available"); script_set_attribute(attribute:"exploit_available", value:"false"); script_set_attribute(attribute:"plugin_type", value:"local"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:cups"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:cups-bsd"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:cups-client"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:cups-common"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:cups-dbg"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:cups-ppdc"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:cupsddk"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:libcups2"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:libcups2-dev"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:libcupscgi1"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:libcupscgi1-dev"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:libcupsdriver1"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:libcupsdriver1-dev"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:libcupsimage2"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:libcupsimage2-dev"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:libcupsmime1"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:libcupsmime1-dev"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:libcupsppdc1"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:libcupsppdc1-dev"); script_set_attribute(attribute:"cpe", value:"cpe:/o:debian:debian_linux:6.0"); script_set_attribute(attribute:"patch_publication_date", value:"2015/02/27"); script_set_attribute(attribute:"plugin_publication_date", value:"2015/03/26"); script_end_attributes(); script_category(ACT_GATHER_INFO); script_copyright(english:"This script is Copyright (C) 2015-2020 Tenable Network Security, Inc."); script_family(english:"Debian Local Security Checks"); script_dependencies("ssh_get_info.nasl"); script_require_keys("Host/local_checks_enabled", "Host/Debian/release", "Host/Debian/dpkg-l"); exit(0); } include("audit.inc"); include("debian_package.inc"); if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED); if (!get_kb_item("Host/Debian/release")) audit(AUDIT_OS_NOT, "Debian"); if (!get_kb_item("Host/Debian/dpkg-l")) audit(AUDIT_PACKAGE_LIST_MISSING); flag = 0; if (deb_check(release:"6.0", prefix:"cups", reference:"1.4.4-7+squeeze7")) flag++; if (deb_check(release:"6.0", prefix:"cups-bsd", reference:"1.4.4-7+squeeze7")) flag++; if (deb_check(release:"6.0", prefix:"cups-client", reference:"1.4.4-7+squeeze7")) flag++; if (deb_check(release:"6.0", prefix:"cups-common", reference:"1.4.4-7+squeeze7")) flag++; if (deb_check(release:"6.0", prefix:"cups-dbg", reference:"1.4.4-7+squeeze7")) flag++; if (deb_check(release:"6.0", prefix:"cups-ppdc", reference:"1.4.4-7+squeeze7")) flag++; if (deb_check(release:"6.0", prefix:"cupsddk", reference:"1.4.4-7+squeeze7")) flag++; if (deb_check(release:"6.0", prefix:"libcups2", reference:"1.4.4-7+squeeze7")) flag++; if (deb_check(release:"6.0", prefix:"libcups2-dev", reference:"1.4.4-7+squeeze7")) flag++; if (deb_check(release:"6.0", prefix:"libcupscgi1", reference:"1.4.4-7+squeeze7")) flag++; if (deb_check(release:"6.0", prefix:"libcupscgi1-dev", reference:"1.4.4-7+squeeze7")) flag++; if (deb_check(release:"6.0", prefix:"libcupsdriver1", reference:"1.4.4-7+squeeze7")) flag++; if (deb_check(release:"6.0", prefix:"libcupsdriver1-dev", reference:"1.4.4-7+squeeze7")) flag++; if (deb_check(release:"6.0", prefix:"libcupsimage2", reference:"1.4.4-7+squeeze7")) flag++; if (deb_check(release:"6.0", prefix:"libcupsimage2-dev", reference:"1.4.4-7+squeeze7")) flag++; if (deb_check(release:"6.0", prefix:"libcupsmime1", reference:"1.4.4-7+squeeze7")) flag++; if (deb_check(release:"6.0", prefix:"libcupsmime1-dev", reference:"1.4.4-7+squeeze7")) flag++; if (deb_check(release:"6.0", prefix:"libcupsppdc1", reference:"1.4.4-7+squeeze7")) flag++; if (deb_check(release:"6.0", prefix:"libcupsppdc1-dev", reference:"1.4.4-7+squeeze7")) flag++; if (flag) { if (report_verbosity > 0) security_warning(port:0, extra:deb_report_get()); else security_warning(0); exit(0); } else audit(AUDIT_HOST_NOT, "affected");
NASL family Oracle Linux Local Security Checks NASL id ORACLELINUX_ELSA-2015-1123.NASL description From Red Hat Security Advisory 2015:1123 : Updated cups packages that fix multiple security issues are now available for Red Hat Enterprise Linux 6 and 7. Red Hat Product Security has rated this update as having Important security impact. Common Vulnerability Scoring System (CVSS) base scores, which give detailed severity ratings, are available for each vulnerability from the CVE links in the References section. CUPS provides a portable printing layer for Linux, UNIX, and similar operating systems. A string reference count bug was found in cupsd, causing premature freeing of string objects. An attacker can submit a malicious print job that exploits this flaw to dismantle ACLs protecting privileged operations, allowing a replacement configuration file to be uploaded which in turn allows the attacker to run arbitrary code in the CUPS server (CVE-2015-1158) A cross-site scripting flaw was found in the cups web templating engine. An attacker could use this flaw to bypass the default configuration settings that bind the CUPS scheduler to the last seen 2020-06-01 modified 2020-06-02 plugin id 84256 published 2015-06-18 reporter This script is Copyright (C) 2015-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/84256 title Oracle Linux 6 / 7 : cups (ELSA-2015-1123) code # # (C) Tenable Network Security, Inc. # # The descriptive text and package checks in this plugin were # extracted from Red Hat Security Advisory RHSA-2015:1123 and # Oracle Linux Security Advisory ELSA-2015-1123 respectively. # include("compat.inc"); if (description) { script_id(84256); script_version("2.8"); script_cvs_date("Date: 2019/09/27 13:00:36"); script_cve_id("CVE-2014-9679", "CVE-2015-1158", "CVE-2015-1159"); script_bugtraq_id(72594, 75098, 75106); script_xref(name:"RHSA", value:"2015:1123"); script_name(english:"Oracle Linux 6 / 7 : cups (ELSA-2015-1123)"); script_summary(english:"Checks rpm output for the updated packages"); script_set_attribute( attribute:"synopsis", value:"The remote Oracle Linux host is missing one or more security updates." ); script_set_attribute( attribute:"description", value: "From Red Hat Security Advisory 2015:1123 : Updated cups packages that fix multiple security issues are now available for Red Hat Enterprise Linux 6 and 7. Red Hat Product Security has rated this update as having Important security impact. Common Vulnerability Scoring System (CVSS) base scores, which give detailed severity ratings, are available for each vulnerability from the CVE links in the References section. CUPS provides a portable printing layer for Linux, UNIX, and similar operating systems. A string reference count bug was found in cupsd, causing premature freeing of string objects. An attacker can submit a malicious print job that exploits this flaw to dismantle ACLs protecting privileged operations, allowing a replacement configuration file to be uploaded which in turn allows the attacker to run arbitrary code in the CUPS server (CVE-2015-1158) A cross-site scripting flaw was found in the cups web templating engine. An attacker could use this flaw to bypass the default configuration settings that bind the CUPS scheduler to the 'localhost' or loopback interface. (CVE-2015-1159) An integer overflow leading to a heap-based buffer overflow was found in the way cups handled compressed raster image files. An attacker could create a specially crafted image file, which when passed via the cups Raster filter, could cause the cups filter to crash. (CVE-2014-9679) Red Hat would like to thank the CERT/CC for reporting CVE-2015-1158 and CVE-2015-1159 issues. All cups users are advised to upgrade to these updated packages, which contain backported patches to correct these issues. After installing this update, the cupsd daemon will be restarted automatically." ); script_set_attribute( attribute:"see_also", value:"https://oss.oracle.com/pipermail/el-errata/2015-June/005129.html" ); script_set_attribute( attribute:"see_also", value:"https://oss.oracle.com/pipermail/el-errata/2015-June/005130.html" ); script_set_attribute(attribute:"solution", value:"Update the affected cups packages."); script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C"); script_set_cvss_temporal_vector("CVSS2#E:POC/RL:OF/RC:C"); script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available"); script_set_attribute(attribute:"exploit_available", value:"true"); script_set_attribute(attribute:"plugin_type", value:"local"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:cups"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:cups-client"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:cups-devel"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:cups-filesystem"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:cups-ipptool"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:cups-libs"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:cups-lpd"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:cups-php"); script_set_attribute(attribute:"cpe", value:"cpe:/o:oracle:linux:6"); script_set_attribute(attribute:"cpe", value:"cpe:/o:oracle:linux:7"); script_set_attribute(attribute:"vuln_publication_date", value:"2015/02/19"); script_set_attribute(attribute:"patch_publication_date", value:"2015/06/17"); script_set_attribute(attribute:"plugin_publication_date", value:"2015/06/18"); script_set_attribute(attribute:"generated_plugin", value:"current"); script_end_attributes(); script_category(ACT_GATHER_INFO); script_copyright(english:"This script is Copyright (C) 2015-2019 and is owned by Tenable, Inc. or an Affiliate thereof."); script_family(english:"Oracle Linux Local Security Checks"); script_dependencies("ssh_get_info.nasl"); script_require_keys("Host/local_checks_enabled", "Host/OracleLinux", "Host/RedHat/release", "Host/RedHat/rpm-list"); exit(0); } include("audit.inc"); include("global_settings.inc"); include("rpm.inc"); if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED); if (!get_kb_item("Host/OracleLinux")) audit(AUDIT_OS_NOT, "Oracle Linux"); release = get_kb_item("Host/RedHat/release"); if (isnull(release) || !pregmatch(pattern: "Oracle (?:Linux Server|Enterprise Linux)", string:release)) audit(AUDIT_OS_NOT, "Oracle Linux"); os_ver = pregmatch(pattern: "Oracle (?:Linux Server|Enterprise Linux) .*release ([0-9]+(\.[0-9]+)?)", string:release); if (isnull(os_ver)) audit(AUDIT_UNKNOWN_APP_VER, "Oracle Linux"); os_ver = os_ver[1]; if (! preg(pattern:"^(6|7)([^0-9]|$)", string:os_ver)) audit(AUDIT_OS_NOT, "Oracle Linux 6 / 7", "Oracle Linux " + os_ver); if (!get_kb_item("Host/RedHat/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING); cpu = get_kb_item("Host/cpu"); if (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH); if ("x86_64" >!< cpu && cpu !~ "^i[3-6]86$") audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, "Oracle Linux", cpu); flag = 0; if (rpm_check(release:"EL6", reference:"cups-1.4.2-67.el6_6.1")) flag++; if (rpm_check(release:"EL6", reference:"cups-devel-1.4.2-67.el6_6.1")) flag++; if (rpm_check(release:"EL6", reference:"cups-libs-1.4.2-67.el6_6.1")) flag++; if (rpm_check(release:"EL6", reference:"cups-lpd-1.4.2-67.el6_6.1")) flag++; if (rpm_check(release:"EL6", reference:"cups-php-1.4.2-67.el6_6.1")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"cups-1.6.3-17.el7_1.1")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"cups-client-1.6.3-17.el7_1.1")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"cups-devel-1.6.3-17.el7_1.1")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"cups-filesystem-1.6.3-17.el7_1.1")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"cups-ipptool-1.6.3-17.el7_1.1")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"cups-libs-1.6.3-17.el7_1.1")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"cups-lpd-1.6.3-17.el7_1.1")) flag++; if (flag) { if (report_verbosity > 0) security_hole(port:0, extra:rpm_report_get()); else security_hole(0); exit(0); } else { tested = pkg_tests_get(); if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested); else audit(AUDIT_PACKAGE_NOT_INSTALLED, "cups / cups-client / cups-devel / cups-filesystem / cups-ipptool / etc"); }
NASL family Mandriva Local Security Checks NASL id MANDRIVA_MDVSA-2015-049.NASL description Updated cups packages fix security vulnerability : A malformed file with an invalid page header and compressed raster data can trigger a buffer overflow in cupsRasterReadPixels (CVE-2014-9679). last seen 2020-06-01 modified 2020-06-02 plugin id 81932 published 2015-03-19 reporter This script is Copyright (C) 2015-2019 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/81932 title Mandriva Linux Security Advisory : cups (MDVSA-2015:049) NASL family SuSE Local Security Checks NASL id SUSE_11_CUPS-150302.NASL description cups has been updated to fix one security issue : - A malformed compressed raster file can trigger a buffer overflow in cupsRasterReadPixels. (bnc#917799). (CVE-2014-9679) last seen 2020-06-01 modified 2020-06-02 plugin id 82019 published 2015-03-24 reporter This script is Copyright (C) 2015 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/82019 title SuSE 11.3 Security Update : cups (SAT Patch Number 10394) NASL family Red Hat Local Security Checks NASL id REDHAT-RHSA-2015-1123.NASL description Updated cups packages that fix multiple security issues are now available for Red Hat Enterprise Linux 6 and 7. Red Hat Product Security has rated this update as having Important security impact. Common Vulnerability Scoring System (CVSS) base scores, which give detailed severity ratings, are available for each vulnerability from the CVE links in the References section. CUPS provides a portable printing layer for Linux, UNIX, and similar operating systems. A string reference count bug was found in cupsd, causing premature freeing of string objects. An attacker can submit a malicious print job that exploits this flaw to dismantle ACLs protecting privileged operations, allowing a replacement configuration file to be uploaded which in turn allows the attacker to run arbitrary code in the CUPS server (CVE-2015-1158) A cross-site scripting flaw was found in the cups web templating engine. An attacker could use this flaw to bypass the default configuration settings that bind the CUPS scheduler to the last seen 2020-06-01 modified 2020-06-02 plugin id 84258 published 2015-06-18 reporter This script is Copyright (C) 2015-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/84258 title RHEL 6 / 7 : cups (RHSA-2015:1123) NASL family OracleVM Local Security Checks NASL id ORACLEVM_OVMSA-2015-0071.NASL description The remote OracleVM system is missing necessary patches to address critical security updates : - CVE-2015-1158, CVE-2015-1159, CVE-2014-9679 (bug #1229982). last seen 2020-06-01 modified 2020-06-02 plugin id 84257 published 2015-06-18 reporter This script is Copyright (C) 2015-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/84257 title OracleVM 3.3 : cups (OVMSA-2015-0071) NASL family SuSE Local Security Checks NASL id OPENSUSE-2015-182.NASL description cups was updated to fix one security issue. This security issue was fixed : - CVE-2014-9679: A malformed compressed raster file can trigger a buffer overflow in cupsRasterReadPixels (bnc#917799). last seen 2020-06-05 modified 2015-02-27 plugin id 81562 published 2015-02-27 reporter This script is Copyright (C) 2015-2020 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/81562 title openSUSE Security Update : cups (openSUSE-2015-182) NASL family Ubuntu Local Security Checks NASL id UBUNTU_USN-2520-1.NASL description Peter De Wachter discovered that CUPS incorrectly handled certain malformed compressed raster files. A remote attacker could use this issue to cause CUPS to crash, resulting in a denial of service, or possibly execute arbitrary code. 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 81573 published 2015-02-27 reporter Ubuntu Security Notice (C) 2015-2019 Canonical, Inc. / NASL script (C) 2015-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/81573 title Ubuntu 10.04 LTS / 12.04 LTS / 14.04 LTS / 14.10 : cups vulnerability (USN-2520-1) NASL family Debian Local Security Checks NASL id DEBIAN_DSA-3172.NASL description Peter De Wachter discovered that CUPS, the Common UNIX Printing System, did not correctly parse compressed raster files. By submitting a specially crafted raster file, a remote attacker could use this vulnerability to trigger a buffer overflow. last seen 2020-03-17 modified 2015-02-26 plugin id 81526 published 2015-02-26 reporter This script is Copyright (C) 2015-2020 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/81526 title Debian DSA-3172-1 : cups - security update NASL family Gentoo Local Security Checks NASL id GENTOO_GLSA-201607-06.NASL description The remote host is affected by the vulnerability described in GLSA-201607-06 (CUPS: Buffer overflow) A vulnerability has been discovered in CUPS concerning the handling of compressed raster files. Impact : A remote attacker could possibly execute arbitrary code with the privileges of the process. Workaround : There is no known workaround at this time. last seen 2020-06-01 modified 2020-06-02 plugin id 92350 published 2016-07-18 reporter This script is Copyright (C) 2016 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/92350 title GLSA-201607-06 : CUPS: Buffer overflow NASL family Mandriva Local Security Checks NASL id MANDRIVA_MDVSA-2015-108.NASL description Updated cups packages fix security vulnerabilities : Cross-site scripting (XSS) vulnerability in scheduler/client.c in Common Unix Printing System (CUPS) before 1.7.2 allows remote attackers to inject arbitrary web script or HTML via the URL path, related to the is_path_absolute function (CVE-2014-2856). In CUPS before 1.7.4, a local user with privileges of group=lp can write symbolic links in the rss directory and use that to gain last seen 2020-06-01 modified 2020-06-02 plugin id 82361 published 2015-03-30 reporter This script is Copyright (C) 2015-2019 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/82361 title Mandriva Linux Security Advisory : cups (MDVSA-2015:108) NASL family CentOS Local Security Checks NASL id CENTOS_RHSA-2015-1123.NASL description Updated cups packages that fix multiple security issues are now available for Red Hat Enterprise Linux 6 and 7. Red Hat Product Security has rated this update as having Important security impact. Common Vulnerability Scoring System (CVSS) base scores, which give detailed severity ratings, are available for each vulnerability from the CVE links in the References section. CUPS provides a portable printing layer for Linux, UNIX, and similar operating systems. A string reference count bug was found in cupsd, causing premature freeing of string objects. An attacker can submit a malicious print job that exploits this flaw to dismantle ACLs protecting privileged operations, allowing a replacement configuration file to be uploaded which in turn allows the attacker to run arbitrary code in the CUPS server (CVE-2015-1158) A cross-site scripting flaw was found in the cups web templating engine. An attacker could use this flaw to bypass the default configuration settings that bind the CUPS scheduler to the last seen 2020-06-01 modified 2020-06-02 plugin id 84276 published 2015-06-19 reporter This script is Copyright (C) 2015-2020 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/84276 title CentOS 6 / 7 : cups (CESA-2015:1123) NASL family Fedora Local Security Checks NASL id FEDORA_2015-2152.NASL description This update fixes CVE-2014-9679, a buffer overflow when handling CUPS Raster format. 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-05 modified 2015-02-23 plugin id 81428 published 2015-02-23 reporter This script is Copyright (C) 2015-2020 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/81428 title Fedora 20 : cups-1.7.5-12.fc20 (2015-2152) NASL family Fedora Local Security Checks NASL id FEDORA_2015-2127.NASL description This update fixes CVE-2014-9679, a buffer overflow when handling CUPS Raster format. 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-05 modified 2015-02-23 plugin id 81427 published 2015-02-23 reporter This script is Copyright (C) 2015-2020 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/81427 title Fedora 21 : cups-1.7.5-15.fc21 (2015-2127) NASL family Amazon Linux Local Security Checks NASL id ALA_ALAS-2015-559.NASL description A string reference count bug was found in cupsd, causing premature freeing of string objects. An attacker can submit a malicious print job that exploits this flaw to dismantle ACLs protecting privileged operations, allowing a replacement configuration file to be uploaded which in turn allows the attacker to run arbitrary code in the CUPS server (CVE-2015-1158) A cross-site scripting flaw was found in the cups web templating engine. An attacker could use this flaw to bypass the default configuration settings that bind the CUPS scheduler to the last seen 2020-06-01 modified 2020-06-02 plugin id 84595 published 2015-07-08 reporter This script is Copyright (C) 2015-2018 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/84595 title Amazon Linux AMI : cups (ALAS-2015-559) NASL family Huawei Local Security Checks NASL id EULEROS_SA-2019-1432.NASL description According to the versions of the cups package installed, the EulerOS Virtualization installation on the remote host is affected by the following vulnerabilities : - A cross-site scripting flaw was found in the cups web templating engine. An attacker could use this flaw to bypass the default configuration settings that bind the CUPS scheduler to the last seen 2020-06-01 modified 2020-06-02 plugin id 124935 published 2019-05-14 reporter This script is Copyright (C) 2019-2020 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/124935 title EulerOS Virtualization 3.0.1.0 : cups (EulerOS-SA-2019-1432)
Redhat
advisories |
| ||||
rpms |
|
References
- http://advisories.mageia.org/MGASA-2015-0067.html
- http://advisories.mageia.org/MGASA-2015-0067.html
- http://lists.fedoraproject.org/pipermail/package-announce/2015-February/150171.html
- http://lists.fedoraproject.org/pipermail/package-announce/2015-February/150171.html
- http://lists.fedoraproject.org/pipermail/package-announce/2015-February/150177.html
- http://lists.fedoraproject.org/pipermail/package-announce/2015-February/150177.html
- http://lists.opensuse.org/opensuse-updates/2015-02/msg00098.html
- http://lists.opensuse.org/opensuse-updates/2015-02/msg00098.html
- http://rhn.redhat.com/errata/RHSA-2015-1123.html
- http://rhn.redhat.com/errata/RHSA-2015-1123.html
- http://www.debian.org/security/2015/dsa-3172
- http://www.debian.org/security/2015/dsa-3172
- http://www.mandriva.com/security/advisories?name=MDVSA-2015:049
- http://www.mandriva.com/security/advisories?name=MDVSA-2015:049
- http://www.mandriva.com/security/advisories?name=MDVSA-2015:108
- http://www.mandriva.com/security/advisories?name=MDVSA-2015:108
- http://www.openwall.com/lists/oss-security/2015/02/10/15
- http://www.openwall.com/lists/oss-security/2015/02/10/15
- http://www.openwall.com/lists/oss-security/2015/02/12/12
- http://www.openwall.com/lists/oss-security/2015/02/12/12
- http://www.oracle.com/technetwork/topics/security/bulletinapr2016-2952098.html
- http://www.oracle.com/technetwork/topics/security/bulletinapr2016-2952098.html
- http://www.securityfocus.com/bid/72594
- http://www.securityfocus.com/bid/72594
- http://www.securitytracker.com/id/1031776
- http://www.securitytracker.com/id/1031776
- http://www.ubuntu.com/usn/USN-2520-1
- http://www.ubuntu.com/usn/USN-2520-1
- https://security.gentoo.org/glsa/201607-06
- https://security.gentoo.org/glsa/201607-06
- https://www.cups.org/str.php?L4551
- https://www.cups.org/str.php?L4551