ALAS-2015-559

Related Vulnerabilities: CVE-2014-9679   CVE-2015-1158   CVE-2015-1159  

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)

ALAS-2015-559


Amazon Linux AMI Security Advisory: ALAS-2015-559
Advisory Release Date: 2015-07-07 12:34 Pacific
Advisory Updated Date: 2015-07-07 22:26 Pacific
Severity: Medium

Issue Overview:

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)


Affected Packages:

cups


Issue Correction:
Run yum update cups to update your system.

New Packages:
i686:
    cups-debuginfo-1.4.2-67.21.amzn1.i686
    cups-libs-1.4.2-67.21.amzn1.i686
    cups-php-1.4.2-67.21.amzn1.i686
    cups-devel-1.4.2-67.21.amzn1.i686
    cups-1.4.2-67.21.amzn1.i686
    cups-lpd-1.4.2-67.21.amzn1.i686

src:
    cups-1.4.2-67.21.amzn1.src

x86_64:
    cups-debuginfo-1.4.2-67.21.amzn1.x86_64
    cups-php-1.4.2-67.21.amzn1.x86_64
    cups-libs-1.4.2-67.21.amzn1.x86_64
    cups-devel-1.4.2-67.21.amzn1.x86_64
    cups-1.4.2-67.21.amzn1.x86_64
    cups-lpd-1.4.2-67.21.amzn1.x86_64