CUPS < 1.3.9 Multiple Vulnerabilities

high Nessus Plugin ID 34385
New! Plugin Severity Now Using CVSS v3

The calculated severity for Plugins has been updated to use CVSS v3 by default. Plugins that do not have a CVSS v3 score will fall back to CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

Synopsis

The remote printer service is affected by multiple vulnerabilities.

Description

According to its banner, the version of CUPS installed on the remote host is earlier than 1.3.9. Such versions are affected by several issues :

- The HP-GL/2 filter does not adequately check the ranges on the pen width and pen color opcodes that allows an attacker to overwrite memory addresses with arbitrary data, which may result in execution of arbitrary code (STR #2911).

- There is a heap-based buffer overflow in the SGI file format parsing module that can be triggered with malformed Run Length Encoded (RLE) data to execute arbitrary code (STR #2918).

- There is an integer overflow vulnerability in the 'WriteProlog()' function in the 'texttops' application that can be triggered when calculating the page size used for storing PostScript data to execute arbitrary code (STR #2919).

Solution

Upgrade to CUPS version 1.3.9 or later.

See Also

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

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

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

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

https://www.zerodayinitiative.com/advisories/ZDI-08-067/

https://seclists.org/fulldisclosure/2008/Oct/175

http://www.nessus.org/u?d39dc47a

https://seclists.org/bugtraq/2008/Nov/13

http://www.nessus.org/u?12e95e4f

https://seclists.org/bugtraq/2008/Nov/14

Plugin Details

Severity: High

ID: 34385

File Name: cups_1_3_9.nasl

Version: 1.22

Type: remote

Family: Misc.

Published: 10/10/2008

Updated: 11/15/2018

Dependencies: http_version.nasl, cups_1_3_5.nasl

Configuration: Enable paranoid mode

Risk Information

VPR

Risk Factor: High

Score: 7.4

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.2

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

Temporal Vector: CVSS2#E:F/RL:OF/RC:C

Vulnerability Information

CPE: cpe:2.3:a:apple:cups:*:*:*:*:*:*:*:*

Required KB Items: Settings/ParanoidReport, www/cups

Exploit Available: true

Exploit Ease: Exploits are available

Exploitable With

Core Impact

Reference Information

CVE: CVE-2008-3639, CVE-2008-3640, CVE-2008-3641

BID: 31690, 31688

CWE: 119, 189, 399

Secunia: 32226