CUPS < 1.7.2 is_path_absolute Function XSS

medium Nessus Plugin ID 73734

Synopsis

The remote print service is affected by a cross-site scripting vulnerability.

Description

According to its banner, the version of CUPS installed on the remote host is prior to version 1.7.2. It is, therefore, affected by a cross-site scripting vulnerability.

A flaw exists with the is_path_absolute function within the scheduler/client.cscript. This could allow a context-dependent attacker, with a specially crafted request, to execute arbitrary script code within the browser and server trust relationship.

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

Solution

Upgrade to CUPS version 1.7.2 or later, or apply the vendor patch.

See Also

https://www.cups.org/blog/2014-04-10-cups-1.7.2.html

http://www.cups.org/str.php?L4356

http://www.cups.org/strfiles.php/3268/str4356.patch

Plugin Details

Severity: Medium

ID: 73734

File Name: cups_1_7_2.nasl

Version: 1.7

Type: remote

Family: Misc.

Published: 4/28/2014

Updated: 11/15/2018

Configuration: Enable paranoid mode

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.0

CVSS v2

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.2

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

Vulnerability Information

CPE: cpe:/a:apple:cups

Required KB Items: www/cups, Settings/ParanoidReport

Exploit Ease: No known exploits are available

Patch Publication Date: 4/10/2014

Vulnerability Publication Date: 1/30/2014

Reference Information

CVE: CVE-2014-2856

BID: 66788

CWE: 20, 442, 629, 711, 712, 722, 725, 74, 750, 751, 79, 800, 801, 809, 811, 864, 900, 928, 931, 990