CUPS < 2.0.3 Multiple Vulnerabilities

critical Nessus Plugin ID 84149

Synopsis

The remote printer service is potentially affected by multiple vulnerabilities.

Description

According to its banner, the CUPS printer service running on the remote host is a version prior to 2.0.3. It is, therefore, potentially affected by the following vulnerabilities :

- A privilege escalation vulnerability exists due to a flaw in cupsd when handling printer job request errors.
An unauthenticated, remote attacker can exploit this, with a specially crafted request, to prematurely free an arbitrary string of global scope, creating a dangling pointer to a repurposed block of memory on the heap, resulting ACL verification to fail when parsing 'admin/conf' and 'admin' ACLs. This allows an attacker to upload a replacement CUPS configuration file.
(CVE-2015-1158)

- A cross-site scripting vulnerability exists due to improper sanitization of user-supplied input to the 'QUERY' parameter of the help page. This allows a remote attacker, with a specially crafted request, to execute arbitrary script code. (CVE-2015-1159)

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Upgrade to CUPS version 2.0.3 or later. Alternatively, apply the patch provided by the vendor.

See Also

https://cups.org/blog.php?L1082

https://github.com/apple/cups/issues/4609

Plugin Details

Severity: Critical

ID: 84149

File Name: cups_2_0_3.nasl

Version: 1.5

Type: remote

Family: Misc.

Published: 6/12/2015

Updated: 11/22/2019

Configuration: Enable paranoid mode

Supported Sensors: 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: cpe:/a:apple:cups

Required KB Items: www/cups, Settings/ParanoidReport

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 6/9/2015

Vulnerability Publication Date: 3/23/2015

Reference Information

CVE: CVE-2015-1158, CVE-2015-1159

BID: 75098

CERT: 810572