USN-50-1: CUPS vulnerabilities

Publication date

23 December 2004

Overview

CUPS vulnerabilities

Releases


Details

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...

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.


Update instructions

In general, a standard system update will make all the necessary changes.

Learn more about how to get the fixes.

The problem can be corrected by updating your system to the following package versions:

Ubuntu Release Package Version
4.10 warty cupsys-client – 
cupsys – 
libcupsimage2 – 

Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.


Have additional questions?

Talk to a member of the team ›