GLSA-200412-25 : CUPS: Multiple vulnerabilities

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


Synopsis :

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

Description :

The remote host is affected by the vulnerability described in GLSA-200412-25
(CUPS: Multiple vulnerabilities)

CUPS makes use of vulnerable Xpdf code to handle PDF files
(CAN-2004-1125). Furthermore, Ariel Berkman discovered a buffer
overflow in the ParseCommand function in hpgl-input.c in the hpgltops
program (CAN-2004-1267). Finally, Bartlomiej Sieka discovered several
problems in the lppasswd program: it ignores some write errors
(CAN-2004-1268), it can leave the passwd.new file in place
(CAN-2004-1269) and it does not verify that passwd.new file is
different from STDERR (CAN-2004-1270).

Impact :

The Xpdf and hpgltops vulnerabilities may be exploited by a remote
attacker to execute arbitrary code by sending specific print jobs to a
CUPS spooler. The lppasswd vulnerabilities may be exploited by a local
attacker to write data to the CUPS password file or deny further
password modifications.

Workaround :

There is no known workaround at this time.

See also :

http://www.nessus.org/u?f172fa2d
http://www.nessus.org/u?afff57c3
http://www.gentoo.org/security/en/glsa/glsa-200412-25.xml

Solution :

All CUPS users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose '>=net-print/cups-1.1.23'

Risk factor :

High / CVSS Base Score : 9.3
(CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C)

Family: Gentoo Local Security Checks

Nessus Plugin ID: 16067 (gentoo_GLSA-200412-25.nasl)

Bugtraq ID:

CVE ID: CVE-2004-1125
CVE-2004-1267
CVE-2004-1268
CVE-2004-1269
CVE-2004-1270