RHEL 4 : CUPS (RHSA-2005:053)

This script is Copyright (C) 2005-2014 Tenable Network Security, Inc.


Synopsis :

The remote Red Hat host is missing one or more security updates.

Description :

Updated CUPS packages that fix several security issues are now
available.

This update has been rated as having important security impact by the
Red Hat Security Response Team.

The Common UNIX Printing System provides a portable printing layer for
UNIX(R) operating systems.

During a source code audit, Chris Evans and others discovered a number
of integer overflow bugs that affected all versions of Xpdf, which
also affects CUPS due to a shared codebase. An attacker could
construct a carefully crafted PDF file that could cause CUPS to crash
or possibly execute arbitrary code when opened. This issue was
assigned the name CVE-2004-0888 by The Common Vulnerabilities and
Exposures project (cve.mitre.org). Red Hat Enterprise Linux 4
contained a fix for this issue, but it was found to be incomplete and
left 64-bit architectures vulnerable. The Common Vulnerabilities and
Exposures project (cve.mitre.org) has assigned the name CVE-2005-0206
to this issue.

A buffer overflow flaw was found in the Gfx::doImage function of Xpdf
which also affects the CUPS pdftops filter due to a shared codebase.
An attacker who has the ability to send a malicious PDF file to a
printer could possibly execute arbitrary code as the 'lp' user. The
Common Vulnerabilities and Exposures project (cve.mitre.org) has
assigned the name CVE-2004-1125 to this issue.

A buffer overflow flaw was found in the ParseCommand function in the
hpgltops program. An attacker who has the ability to send a malicious
HPGL file to a printer could possibly execute arbitrary code as the
'lp' user. The Common Vulnerabilities and Exposures project
(cve.mitre.org) has assigned the name CVE-2004-1267 to this issue.

A buffer overflow flaw was found in the Decrypt::makeFileKey2 function
of Xpdf which also affects the CUPS pdftops filter due to a shared
codebase. An attacker who has the ability to send a malicious PDF file
to a printer could possibly execute arbitrary code as the 'lp' user.
The Common Vulnerabilities and Exposures project (cve.mitre.org) has
assigned the name CVE-2005-0064 to this issue.

The lppasswd utility was found to ignore write errors when modifying
the CUPS passwd file. A local user who is able to fill the associated
file system could corrupt the CUPS password file or prevent future
uses of lppasswd. The Common Vulnerabilities and Exposures project
(cve.mitre.org) has assigned the names CVE-2004-1268 and CVE-2004-1269
to these issues.

The lppasswd utility was found to not verify that the passwd.new file
is different from STDERR, which could allow local users to control
output to passwd.new via certain user input that triggers an error
message. The Common Vulnerabilities and Exposures project
(cve.mitre.org) has assigned the name CVE-2004-1270 to this issue.

All users of cups should upgrade to these updated packages, which
contain backported patches to resolve these issues.

See also :

https://www.redhat.com/security/data/cve/CVE-2004-1125.html
https://www.redhat.com/security/data/cve/CVE-2004-1267.html
https://www.redhat.com/security/data/cve/CVE-2004-1268.html
https://www.redhat.com/security/data/cve/CVE-2004-1269.html
https://www.redhat.com/security/data/cve/CVE-2004-1270.html
https://www.redhat.com/security/data/cve/CVE-2005-0064.html
https://www.redhat.com/security/data/cve/CVE-2005-0206.html
http://rhn.redhat.com/errata/RHSA-2005-053.html

Solution :

Update the affected cups, cups-devel and / or cups-libs packages.

Risk factor :

Critical / CVSS Base Score : 10.0
(CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C)

Family: Red Hat Local Security Checks

Nessus Plugin ID: 17174 ()

Bugtraq ID:

CVE ID: CVE-2004-0888
CVE-2004-1125
CVE-2004-1267
CVE-2004-1268
CVE-2004-1269
CVE-2004-1270
CVE-2005-0064
CVE-2005-0206