ID: 3648
Date: 26/06/2008
Title: 3648 - Cisco Wide Area Application Services (WAAS) Common UNIX Printing System (CUPS) Vulnerability
Platform level affected:Operating System
Hardware components affected:Other
Specific operating systems components affected: Unix
Net-enabled software: Enterprise Application
Security software:Other
Other software: Other
Remediation Summary:Update your copy of the software with the download available from the supplier.
Vendors affected:Cisco
Applications affected:WAAS
Adversity source: Unknown
Attack Vector: Vulnerability exploitation
Virulence: Unknown
Warning Status: Unknown
Potential Damage: Remote execution/modification
Possible Duration: Unknown
Availability of fix: Available
Type of fix: Patch
Source: Cisco
Reliability of source: Unknown
Source URL: http://www.cisco.com/warp/public/707/cisco-sr-20080625-waas.shtml
CVE: CVE-2007-4351
Abstract: Description of a Wide Area Application Services (WAAS) Common UNIX Printing System (CUPS) Vulnerability
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Cisco Security Response: Wide Area Application Services (WAAS) Common
UNIX Printing System (CUPS) Vulnerability
Document ID: 100863
http://www.cisco.com/warp/public/707/cisco-sr-20080625-waas.shtml
Revision 1.0
For Public Release 2008 June 25 1600 UTC (GMT)
+---------------------------------------------------------------------
Contents
========
Cisco Response
Additional Information
Revision History
Cisco Security Procedures
Cisco Response
==============
This is the Cisco PSIRT response to a security advisory regarding a vulnerability in Common UNIX Printing System (CUPS). The CUPS security advisory can be found at http://www.cups.org/str.php?L2561.
The Cisco Wide Area Application Services (WAAS) incorporates a print server based on the integration of open source CUPS technology, which is affected by this CUPS vulnerability.
This vulnerability can be remotely exploited and could result in execution of arbitrary code on the Cisco WAAS products.
Additional Information
======================
CSCsl92095 - Missing IPP value length range checks (STR #2561)
This vulnerability is referenced by CUPS as STR #2561. This CUPS vulnerability is caused by a boundary error in the "ippReadIO()"
function in cups/ipp.c when processing IPP (Internet Printing
Protocol) tags. Attackers can exploit this vulnerability to overwrite one byte on the stack with a zero by sending an IPP request that contains specially crafted "textWithLanguage" or "nameWithLanguage"
tags.
The version of CUPS that is used in WAAS system software prior to version 4.0.19 is affected by this vulnerability in processing IPP tags if print services are enabled on the WAAS.
To determine the system software version in use on the WAAS use the graphical user interface (GUI) or command-line interface (CLI):
* Log in to the WAAS Central Manager GUI and choose Devices > Devices.
The Devices window displays the software version for each device listed. Alternatively, in the contents pane for any given device, choose Monitoring > Show/Clear Commands > Show Commands. Choose version and click Submit. A secondary window pops up and displays the command line interface (CLI) output for the show version command.
* Log into the device, and use the CLI to enter the command show version. The following example shows output from a device that is running 4.0.17 build 14.
waas_lab#show version
Cisco Wide Area Application Services Software (WAAS)
Copyright (c) 1999-2008 by Cisco Systems, Inc.
Cisco Wide Area Application Services Software Release 4.0.17 (build b14 Feb 27 2008)
Version: oe7326-4.0.17.14
Compiled 14:42:31 Feb 27 2008 by cnbuild
System was restarted on Thu May 15 16:07:56 2008.
The system has been up for 3 days, 21 hours, 53 minutes, 26 seconds.
By default, the WAAS print services feature is disabled on all WAAS devices.
To determine if print services have been enabled do one of the
following:
* Log in to the WAE Device Manager GUI choose Configuration from the WAFS Edge menu. In the Print Services tab there is a check box for Print services enabled. If this check box is marked the print services are enabled.
* Log into the device, and use the CLI to enter the command show running-config | include print-services enable command. If the command returns print-services enable, print services are enabled.
The following example shows the output when print services are
enabled:
waas_lab#show running-config | include print-services enable
print-services enable
waas_lab#
The following example shows the output when print services are not
enabled:
waas_lab#show running-config | include print-services enable
waas_lab#
If this CUPS vulnerability is exploited, the CUPS process will crash and automatically be restarted by the system. Other WAAS functions will not be affected during any active exploitation.
Successful exploitation could also allow the execution of arbitrary code under the context of the CUPS process privilege only.
For more information about print services on the WAAS, consult the following link:
http://www.cisco.com/en/US/docs/app_ntwk_services/waas/waas/v4013/configuration/guide/printsvr.html
This vulnerability is documented in Cisco bug ID CSCsl92095 and has been assigned Common Vulnerabilities and Exposures (CVE) Identifier CVE-2007-4351.
Software Versions and Fixes
+--------------------------
Software versions 4.0.19.14 and later contain the fix for this vulnerability. The software is available for download from:
http://www.cisco.com/pcgi-bin/tablebuild.pl/waas40?psrtdcat20e2
Note: The End of Life Cisco Wide Area File Services Software (WAFS) is also affected by this vulnerability. The vulnerability for the WAFS is documented in Cisco bug ID CSCsl92099. There are no planned software releases for the WAFS. Customers are encouraged to migrate to WAAS.
Workarounds
+----------
If the print services are not required on the WAAS, disable them. To disable print services on the WAAS do either of the following:
* Log in to the WAE Device Manager GUI and choose Configuration from the WAFS Edge menu. Under the Print Services tab there is a check box for Print services enabled. Ensure this check box is not marked.
* Log into the WAAS device and from the CLI prompt, enter configuration mode and enter the command no print-services enable.
Additional mitigation techniques that can be deployed on Cisco devices within the network are available in the Cisco Applied Mitigation Bulletin companion document for this response:
http://www.cisco.com/warp/public/707/cisco-amb-20080625-waas.shtml
THIS DOCUMENT IS PROVIDED ON AN "AS IS" BASIS AND DOES NOT IMPLY ANY KIND OF GUARANTEE OR WARRANTY, INCLUDING THE WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. YOUR USE OF THE INFORMATION ON THE DOCUMENT OR MATERIALS LINKED FROM THE DOCUMENT IS AT YOUR OWN RISK. CISCO RESERVES THE RIGHT TO CHANGE OR UPDATE THIS DOCUMENT AT ANY TIME.
Revision History
================
+---------------------------------------+
| Revision | | Initial |
| 1.0 | 2008-June-25 | public |
| | | release |
+---------------------------------------+
Cisco Security Procedures
=========================
Complete information on reporting security vulnerabilities in Cisco products, obtaining assistance with security incidents, and registering to receive security information from Cisco, is available on Cisco's worldwide website at http://www.cisco.com/en/US/products/products_security_vulnerability_policy.html.
This includes instructions for press inquiries regarding Cisco security notices.
All Cisco security advisories are available at http://www.cisco.com/go/psirt.
-----BEGIN PGP SIGNATURE-----
iD8DBQFIYnnH86n/Gc8U/uARAjeOAJkB7w6TnB0MgDeHs4UTZGI2cnWJXwCeIanH
pDSXSk1zYNFDy1W6BF6iNBg=
=U0Of
-----END PGP SIGNATURE-----
This advisory contains information released by the original author. Some of the information may have changed since it was released. If the issue affects you, it may be prudent to retrieve the advisory from the site of the original source to ensure that you receive the most current information concerning that problem. Reference to any specific commercial product, process, or service by trade name, trademark manufacturer, or otherwise, does not constitute or imply its endorsement, recommendation, or favouring by CPNI.
The views and opinions of authors expressed within this notice shall not be used for advertising or product endorsement purposes. CPNI shall not accept responsibility for any errors or omissions contained within this advisory. In particular, they shall not be liable for any loss or damage whatsoever, arising from or in connection with the usage of information contained within this advisory.
CSIRTUK is a member of the Forum of Incident Response and Security Teams (FIRST) and has contacts with other international Incident Response Teams (IRTs) in order to foster cooperation and coordination in incident prevention, to prompt rapid reaction to incidents, and to promote information sharing amongst its members and the community at large.
Thu, 26 Jun 2008 11:12:00 GMT
Domain affected: Technical