Debian DSA-4243-1 : cups - security update

high Nessus Plugin ID 111014

Synopsis

The remote Debian host is missing a security-related update.

Description

Several vulnerabilities were discovered in CUPS, the Common UNIX Printing System. These issues have been identified with the following CVE ids :

- CVE-2017-15400 Rory McNamara discovered that an attacker is able to execute arbitrary commands (with the privilege of the CUPS daemon) by setting a malicious IPP server with a crafted PPD file.

- CVE-2018-4180 Dan Bastone of Gotham Digital Science discovered that a local attacker with access to cupsctl could escalate privileges by setting an environment variable.

- CVE-2018-4181 Eric Rafaloff and John Dunlap of Gotham Digital Science discovered that a local attacker can perform limited reads of arbitrary files as root by manipulating cupsd.conf.

- CVE-2018-6553 Dan Bastone of Gotham Digital Science discovered that an attacker can bypass the AppArmor cupsd sandbox by invoking the dnssd backend using an alternate name that has been hard linked to dnssd.

Solution

Upgrade the cups packages.

For the stable distribution (stretch), these problems have been fixed in version 2.2.1-8+deb9u2.

See Also

https://security-tracker.debian.org/tracker/CVE-2017-15400

https://security-tracker.debian.org/tracker/CVE-2018-4180

https://security-tracker.debian.org/tracker/CVE-2018-4181

https://security-tracker.debian.org/tracker/CVE-2018-6553

https://security-tracker.debian.org/tracker/source-package/cups

https://packages.debian.org/source/stretch/cups

https://www.debian.org/security/2018/dsa-4243

Plugin Details

Severity: High

ID: 111014

File Name: debian_DSA-4243.nasl

Version: 1.6

Type: local

Agent: unix

Published: 7/12/2018

Updated: 11/13/2018

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

Risk Information

VPR

Risk Factor: Medium

Score: 6.5

CVSS v2

Risk Factor: High

Base Score: 9.3

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

CVSS v3

Risk Factor: High

Base Score: 8.8

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:cups, cpe:/o:debian:debian_linux:9.0

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Patch Publication Date: 7/11/2018

Reference Information

CVE: CVE-2017-15400, CVE-2018-4180, CVE-2018-4181, CVE-2018-6553

DSA: 4243