Ubuntu 4.10 : cupsys vulnerabilities (USN-50-1)

High Nessus Plugin ID 20668

Synopsis

The remote Ubuntu host is missing one or more security-related patches.

Description

CAN-2004-1125 :

The recent USN-48-1 fixed a buffer overflow in xpdf. Since CUPS contains xpdf code to convert incoming PDF files to the PostScript format, this vulnerability applies to cups as well.

In this case it could even lead to privilege escalation: if an attacker submitted a malicious PDF file for printing, he could be able to execute arbitrary commands with the privileges of the CUPS server.

Please note that the Ubuntu version of CUPS runs as a minimally privileged user 'cupsys' by default, so there is no possibility of root privilege escalation. The privileges of the 'cupsys' user are confined to modifying printer configurations, altering print jobs, and controlling printers.

CAN-2004-1267 :

Ariel Berkman discovered a buffer overflow in the ParseCommand() function of the HPGL input driver. If an attacker printed a malicious HPGL file, they could exploit this to execute arbitrary commands with the privileges of the CUPS server.

CAN-2004-1268, CAN-2004-1269, CAN-2004-1270 :

Bartlomiej Sieka discovered three flaws in lppasswd. These allowed users to corrupt the new password file by filling up the disk, sending certain signals, or closing the standard output and/or error streams.

Note that Tenable Network Security has extracted the preceding description block directly from the Ubuntu security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.

Solution

Update the affected packages.

Plugin Details

Severity: High

ID: 20668

File Name: ubuntu_USN-50-1.nasl

Version: Revision: 1.14

Type: local

Agent: unix

Published: 2006/01/15

Updated: 2016/12/01

Dependencies: 12634

Risk Information

Risk Factor: High

CVSS v2.0

Base Score: 9.3

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

Vulnerability Information

CPE: p-cpe:/a:canonical:ubuntu_linux:cupsys, p-cpe:/a:canonical:ubuntu_linux:cupsys-bsd, p-cpe:/a:canonical:ubuntu_linux:cupsys-client, p-cpe:/a:canonical:ubuntu_linux:libcupsimage2, p-cpe:/a:canonical:ubuntu_linux:libcupsimage2-dev, p-cpe:/a:canonical:ubuntu_linux:libcupsys2-dev, p-cpe:/a:canonical:ubuntu_linux:libcupsys2-gnutls10, cpe:/o:canonical:ubuntu_linux:4.10

Required KB Items: Host/cpu, Host/Ubuntu, Host/Ubuntu/release, Host/Debian/dpkg-l

Patch Publication Date: 2004/12/23

Reference Information

CVE: CVE-2004-1125, CVE-2004-1267, CVE-2004-1268, CVE-2004-1269, CVE-2004-1270, CVE-2004-2467

USN: 50-1

CWE: 20, 119