CentOS 6 / 7 : cups (CESA-2015:1123)

critical Nessus Plugin ID 84276

Synopsis

The remote CentOS host is missing one or more security updates.

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 '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.

Solution

Update the affected cups packages.

See Also

http://www.nessus.org/u?124ba55b

http://www.nessus.org/u?646be46a

Plugin Details

Severity: Critical

ID: 84276

File Name: centos_RHSA-2015-1123.nasl

Version: 2.11

Type: local

Agent: unix

Published: 6/19/2015

Updated: 1/4/2021

Supported Sensors: Frictionless Assessment AWS, Frictionless Assessment Azure, Frictionless Assessment Agent, Agentless Assessment, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2015-1158

Vulnerability Information

CPE: p-cpe:/a:centos:centos:cups, p-cpe:/a:centos:centos:cups-client, p-cpe:/a:centos:centos:cups-devel, p-cpe:/a:centos:centos:cups-filesystem, p-cpe:/a:centos:centos:cups-ipptool, p-cpe:/a:centos:centos:cups-libs, p-cpe:/a:centos:centos:cups-lpd, p-cpe:/a:centos:centos:cups-php, cpe:/o:centos:centos:6, cpe:/o:centos:centos:7

Required KB Items: Host/local_checks_enabled, Host/CentOS/release, Host/CentOS/rpm-list

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 6/18/2015

Vulnerability Publication Date: 2/19/2015

Reference Information

CVE: CVE-2014-9679, CVE-2015-1158, CVE-2015-1159

BID: 72594, 75098, 75106

RHSA: 2015:1123