CUPS < 1.4.2 kerberos Parameter XSS

medium Nessus Plugin ID 42468

Synopsis

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

Description

According to its banner, the version of CUPS installed on the remote host is earlier than 1.4.2. The 'kerberos' parameter in such versions is not properly sanitized before being used to generate dynamic HTML content.

An attacker can leverage this issue via a combination of attribute injection and HTTP Parameter Pollution to inject arbitrary script code into a user's browser to be executed within the security context of the affected site.

Solution

Upgrade to CUPS version 1.4.2 or later.

See Also

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

http://www.cups.org/articles.php?L590

Plugin Details

Severity: Medium

ID: 42468

File Name: cups_1_4_2.nasl

Version: 1.13

Type: remote

Family: Misc.

Published: 11/11/2009

Updated: 7/6/2018

Configuration: Enable paranoid mode

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.8

CVSS v2

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.4

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 Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 11/9/2009

Vulnerability Publication Date: 10/7/2009

Reference Information

CVE: CVE-2009-2820

BID: 36958

CWE: 79

Secunia: 37308