-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                         ESB-2008.0648 -- [Cisco]
        Wide Area Application Services (WAAS) Common UNIX Printing
                        System (CUPS) Vulnerability
                               26 June 2008

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:              Cisco Wide Area Application Services (WAAS)
Publisher:            Cisco Systems
Operating System:     Cisco
Impact:               Execute Arbitrary Code/Commands
Access:               Remote/Unauthenticated
CVE Names:            CVE-2007-4351

Ref:                  ESB-2007.0854

Original Bulletin:  
  http://www.cisco.com/warp/public/707/cisco-sr-20080625-waas.shtml

- --------------------------BEGIN INCLUDED TEXT--------------------

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

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        http://www.auscert.org.au/render.html?cid=1980

If you believe that your computer system has been compromised or attacked in 
any way, we encourage you to let us know by completing the secure National IT 
Incident Reporting Form at:

        http://www.auscert.org.au/render.html?it=3192

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
===========================================================================

-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967

iQCVAwUBSGLgyih9+71yA2DNAQJhbAP8CbzUvA534NkUsP1HESGYuoSWZu467zSl
TYwBbJ9bBoFW+ff6OGypkvkCvUbX2cHICR3k0rn6B3HAUth5f6z/aTcw0oRshUz0
fJtFurpVme+8NV8Jf0IOfEol8jj7uuoh9m+rFHUa6w99HICZSkKR3B5zef4Wi5XU
k3MH8eA4uug=
=eh13
-----END PGP SIGNATURE-----