Note: This is an archival copy of Security Sun Alert 271169 as previously published on http://sunsolve.sun.com.|
Latest version of this security advisory is available from http://support.oracle.com as Sun Alert 1021115.1.
Date of Workaround Release
Date of Resolved Release
Multiple Security Vulnerabilities in the Common Unix Printing System (CUPS) Web Interface in OpenSolaris May Lead to Cross-Site Scripting (XSS) and HTTP Response Splitting Attacks
The web interface of the Common Unix Printing System (CUPS) in versions 1.4.1 and earlier is impacted by multiple security vulnerabilities which may lead to Cross-Site Scripting (XSS) and HTTP Response Splitting Attacks. These vulnerabilities could allow an unprivileged local or remote user (depending on the CUPS configuration), to inject malicious client-side scripts or HTML into the CUPS web interface page.
These issues are also described in the following document:
CVE-2009-2820 at http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-2820
2. Contributing Factors
These issues can occur in the following releases:
1. Solaris 8, 9, and 10 are not impacted by these issues.
2. OpenSolaris distributions may include additional bug fixes above and beyond the build from which it was derived. The base build
can be derived as follows:
$ uname -v3. These vulnerabilities only affect OpenSolaris systems which have installed the CUPS package (SUNWcups). The SUNWcups package is not installed by default. To determine if the SUNWcups package is installed, the following command can be run:
$ pkg info SUNWcups4. These vulnerabilities only affect OpenSolaris systems which have configured and enabled CUPS for printing. To determine if the CUPS has
been enabled, the following command can be run:
$ svcs cups/in-lpd5. These vulnerabilities only affect CUPS versions 1.4.1 and earlier. To determine the version of CUPS on the system the following command can be run:
$ cups-config --version3. Symptoms
There are no predictable symptoms that would indicate the described vulnerabilities have been exploited.
To prevent these issues from occurring, the CUPS services may be configured to disable access to the CUPS web interface by doing the following:
1. Comment out the following line from '/etc/cups/cupsd.conf':
Listen localhost:6312. Restart the cups/scheduler services:
# svcadm restart cups/in-lpd
These issues are addressed in the following releases:
For more information on Security Sun Alerts, see 1009886.1.
02-Mar-2010: Updated Contributing Factors and Resolution sections; now Resolved
This solution has no attachment