CUPS < 1.3.9 Multiple Vulnerabilities

high Nessus Plugin ID 34385

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

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

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

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

Configuration: Enable paranoid mode

Supported Sensors: Nessus

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

Vulnerability Information

CPE: cpe:/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: 31688, 31690

CWE: 119, 189, 399

Secunia: 32226