[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

UNIRAS Brief - 559/04 - Two Sun Security Alerts:



 
-----BEGIN PGP SIGNED MESSAGE-----

- ----------------------------------------------------------------------------------
   UNIRAS (UK Govt CERT) Briefing Notice - 559/04 dated 11.10.04  Time: 13:50  
  UNIRAS is part of NISCC (National Infrastructure Security Co-ordination Centre)
- ---------------------------------------------------------------------------------- 
  UNIRAS material is also available from its website at www.uniras.gov.uk and
         Information about NISCC is available from www.niscc.gov.uk
- ----------------------------------------------------------------------------------

Title
=====

Two Sun Security Alerts:

1. Sun Alert ID: 57646 Security Vulnerabilities in Common Unix Printing System (CUPS) 
May Allow a Remote Unprivileged User to Execute Arbitrary Code

2. Sun Alert Notification 57653 - libXpm Security Vulnerabilities Affect the Motif 
Library (libXm)


Detail
====== 

1. Due to improper command line and environment variable validation, a
remote or local unprivileged user may be able to execute arbitrary
commands with the privileges of the CUPS daemon (cupsd(8)), which is
typically the unprivileged "lp" user. Furthermore, a remote Denial of
Service (DoS) condition within CUPS may allow remote unprivileged
users to cause the CUPS server to become unresponsive.


2. Several security vulnerabilities have been reported in the X Pixmap
(libXpm) library which also affect the Motif library (libXm) shipped
with Solaris and JDS for Linux since libXm includes the affected
libXpm routines. These security vulnerabilities may allow a remote
unprivileged user to execute arbitrary code with the privileges of a
local user if that user loads an X Pixmap (.xpm) format image file
from an untrusted source with an application that is linked with the
Motif library (libXm).




1.



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

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

     ESB-2004.0635 -- Sun(sm) Alert Notification - Sun Alert ID: 57646 Security 
	Vulnerabilities in Common Unix Printing System (CUPS) May Allow a
            Remote Unprivileged User to Execute Arbitrary Code
                              11 October 2004

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

       

Product:                CUPS
Publisher:              Sun Microsystems
Operating System:       Solaris
                        UNIX variants
Impact:                 Execute Arbitrary Code/Commands
Access:                 Remote/Unauthenticated
CVE Names:              CAN-2004-0801 CAN-2004-0558

Ref:                    ESB-2004.0577
                        ESB-2004.0576
Original Bulletin URL:  http://sunsolve.sun.com/search/printfriendly.do?assetkey=1-26-57646-1


Sun(sm) Alert Notification

     * Sun Alert ID: 57646
     * Synopsis: Security Vulnerabilities in Common Unix Printing System
       (CUPS) May Allow a Remote Unprivileged User to Execute Arbitrary
       Code
     * Category: Security
     * Product: Sun Java Desktop System (JDS)
     * BugIDs: 5102516
     * Avoidance: Patch
     * State: Resolved
     * Date Released:
     * Date Closed:
     * Date Modified:

1. Impact

   Due to improper command line and environment variable validation, a
   remote or local unprivileged user may be able to execute arbitrary
   commands with the privileges of the CUPS daemon (cupsd(8)), which is
   typically the unprivileged "lp" user. Furthermore, a remote Denial of
   Service (DoS) condition within CUPS may allow remote unprivileged
   users to cause the CUPS server to become unresponsive.

   Note: The Common Unix Printing System (CUPS) is a cross-platform
   printing solution for all UNIX environments. It is based on the
   Internet Printing Protocol (IPP) and provides complete printing
   services to most PostScript and raster printers.

   These issues are described in the following documents:

     * SUSE-SA:2004:031 at
       [2]http://www.suse.com/de/security/2004_31_cups.html
     * CAN-2004-0801 at
       [3]http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0801
     * CAN-2004-0558 at
       [4]http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0558

2. Contributing Factors

   These issues can occur in the following releases:

   Linux

     * Sun Java Desktop System (JDS) 2003 without the updated RPMs
       (patch-9321)
     * Sun Java Desktop System (JDS) Release 2 without the updated RPMs
       (patch-9321)

   Note: JDS for Solaris is not impacted by these issues.

   These issues only occur with CUPS versions cups-libs-1.1.15-150 or
   earlier.

   To determine the release of JDS for Linux installed on a system, the
   following command can be run:

    % cat /etc/sun-release
    Sun Java Desktop System, Release 2 -build 10b (GA)
    Assembled 30 March 2004

   To determine the version of CUPS, the following command can be run:

    % rpm -qf /usr/lib/libcups.so.2
    cups-libs-1.1.15-1

3. Symptoms

   There are no reliable symptoms that would show the buffer overflow
   issue described has been exploited. The CUPS daemon cupsd(8) will
   become unresponsive when the Denial of Service (DoS) attack has been
   exploited.

   Solution Summary [5]Top

4. Relief/Workaround

   There is no workaround. Please see the "Resolution" section below.

5. Resolution

   These issues are addressed in the following releases:

   Linux

     * Sun Java Desktop System (JDS) 2003 with the updated RPMs
       (patch-9321)
     * Sun Java Desktop System (JDS) Release 2 with the updated RPMs
       (patch-9321)

   To download and install the updated RPMs from the update servers
   select the following from the launch bar:

    Launch >> Applications >> System Tools >> Online Update


   For more information on obtaining updates see:

     * [6]http://wwws.sun.com/software/javadesktopsystem/faq.html#5q5
     * [7]http://wwws.sun.com/software/javadesktopsystem/faq.html#5q7

   This Sun Alert notification is being provided to you on an "AS IS"
   basis. This Sun Alert notification may contain information provided by
   third parties. The issues described in this Sun Alert notification may
   or may not impact your system(s). Sun makes no representations,
   warranties, or guarantees as to the information contained herein. ANY
   AND ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION
   WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR
   NON-INFRINGEMENT, ARE HEREBY DISCLAIMED. BY ACCESSING THIS DOCUMENT
   YOU ACKNOWLEDGE THAT SUN SHALL IN NO EVENT BE LIABLE FOR ANY DIRECT,
   INDIRECT, INCIDENTAL, PUNITIVE, OR CONSEQUENTIAL DAMAGES THAT ARISE
   OUT OF YOUR USE OR FAILURE TO USE THE INFORMATION CONTAINED HEREIN.
   This Sun Alert notification contains Sun proprietary and confidential
   information. It is being provided to you pursuant to the provisions of
   your agreement to purchase services from Sun, or, if you do not have
   such an agreement, the Sun.com Terms of Use. This Sun Alert
   notification may only be used for the purposes contemplated by these
   agreements.

   Copyright 2000-2004 Sun Microsystems, Inc., 4150 Network Circle, Santa
   Clara, CA 95054 U.S.A. All rights reserved.

References

   1. http://sunsolve.sun.com/search/printfriendly.do?assetkey=1-26-57646-1#top
   2. http://www.suse.com/de/security/2004_31_cups.html
   3. http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0801
   4. http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0558
   5. http://sunsolve.sun.com/search/printfriendly.do?assetkey=1-26-57646-1#top
   6. http://wwws.sun.com/software/javadesktopsystem/faq.html#5q5
   7. http://wwws.sun.com/software/javadesktopsystem/faq.html#5q7

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

iQCVAwUBQWnXvSh9+71yA2DNAQLNrAP7BxnA66N9fAOaSqPQz/EBnTdvJnlQ/hSj
BpT3+3hmx1l7GkG2fZpTn9hNVJJz60xRq8CpegzhIHmKhBYDZyryUn07YUIGfLh5
F47d1hyXeiIHCY0hPo9mbj6UEFLdm2Lnoa6W67xqCvf0mwMGKx1w7m6I1+y3BVfI
YG1aOhmNTuE=
=g+SG
- -----END PGP SIGNATURE-----



2.



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

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

               ESB-2004.0636 -- Sun Alert Notification 57653
     libXpm Security Vulnerabilities Affect the Motif Library (libXm)
                              11 October 2004

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

        

Product:                Solaris Common Desktop Environment (CDE), Sun Java Desktop System (JDS)
Publisher:              Sun Microsystems
Operating System:       Sun Java Desktop System (JDS)
                        Solaris
                        UNIX variants
                        Linux variants
Impact:                 Execute Arbitrary Code/Commands
Access:                 Remote/Unauthenticated
CVE Names:              CAN-2004-0688 CAN-2004-0687

Ref:                    ESB-2004.0632
                        ESB-2004.0627
Original Bulletin URL:  http://sunsolve.sun.com/search/printfriendly.do?assetkey=1-26-57653-1

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


Sun(sm) Alert Notification

     * Sun Alert ID: 57653
     * Synopsis: libXpm Security Vulnerabilities Affect the Motif Library
       (libXm)
     * Category: Security
     * Product: Solaris Common Desktop Environment (CDE), Sun Java
       Desktop System (JDS)
     * BugIDs: 5086486, 6175145
     * Avoidance: Patch, Workaround
     * State: Committed
     * Date Released: 08-Oct-2004
     * Date Closed:
     * Date Modified:

1. Impact

   Several security vulnerabilities have been reported in the X Pixmap
   (libXpm) library which also affect the Motif library (libXm) shipped
   with Solaris and JDS for Linux since libXm includes the affected
   libXpm routines. These security vulnerabilities may allow a remote
   unprivileged user to execute arbitrary code with the privileges of a
   local user if that user loads an X Pixmap (.xpm) format image file
   from an untrusted source with an application that is linked with the
   Motif library (libXm).

   Note: The Motif library (libXm) can be used to manipulate and display
   small images in Motif applications.

   This issue is also described in the following documents:

   Chris Evans Security Advisory (CESA) 2004.003 at
   [2]http://scary.beasts.org/security/CESA-2004-003.txt

   CAN-2004-0687 at
   [3]http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0687

   CAN-2004-0688 at
   [4]http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0688

2. Contributing Factors

   This issue can occur in the following releases:

   SPARC Platform

     * Solaris 7
     * Solaris 8
     * Solaris 9

   x86 Platform

     * Solaris 7
     * Solaris 8
     * Solaris 9

   Linux Platform

     * Sun Java Desktop System (JDS) 2003 without the updated RPMs
       (patch-9400)
     * Sun Java Desktop System (JDS) Release 2 without the updated RPMs
       (patch-9400)

   Notes:

    1. JDS for Solaris is not impacted by this issue.
    2. This issue only occurs with Open Motif versions
       openmotif-2.2.2-502 or earlier.

   To determine if a Solaris application is linked with the libXm
   library, the ldd(1) can be utilized. For example:

    $ ldd /usr/dt/bin/uil | grep libXm.so 
    libXm.so.4 =>    /usr/dt/lib/libXm.so.4

   To determine if a Linux application is linked with the libXm library,
   the ldd(1) utility can be utilized. For example:

    $ ldd /usr/X11R6/bin/uil | grep libXm
    libXm.so.3 => /usr/X11R6/lib/libXm.so.3 (0x40033000)


   To determine the release of JDS for Linux installed on a system, the
   following command can be run:

    % cat /etc/sun-release
    Sun Java Desktop System, Release 2 -build 10b (GA)
    Assembled 30 March 2004

   To determine the version of Open Motif, the following command can be
   run:

    % rpm -qf /usr/X11R6/lib/libXm.so.3
    openmotif-2.2.2-522

3. Symptoms

   There are no predictable symptoms that would indicate the described
   issue has been exploited.

   Solution Summary [5]Top

4. Relief/Workaround

   To work around the described issue, do not load X PixMap (.xmp) images
   from untrusted sources.

5. Resolution

   This issue is resolved in the following releases:

   Linux Platform

     * Sun Java Desktop System (JDS) 2003 with the updated RPMs
       (patch-9400)
     * Sun Java Desktop System (JDS) Release 2 with the updated RPMs
       (patch-9400)

   To download and install the updated RPMs from the update servers,
   select the following from the "launch" bar:

    Launch >> Applications >> System Tools >> Online Update


   A final resolution for the Solaris Platforms is pending completion.

   This Sun Alert notification is being provided to you on an "AS IS"
   basis. This Sun Alert notification may contain information provided by
   third parties. The issues described in this Sun Alert notification may
   or may not impact your system(s). Sun makes no representations,
   warranties, or guarantees as to the information contained herein. ANY
   AND ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION
   WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR
   NON-INFRINGEMENT, ARE HEREBY DISCLAIMED. BY ACCESSING THIS DOCUMENT
   YOU ACKNOWLEDGE THAT SUN SHALL IN NO EVENT BE LIABLE FOR ANY DIRECT,
   INDIRECT, INCIDENTAL, PUNITIVE, OR CONSEQUENTIAL DAMAGES THAT ARISE
   OUT OF YOUR USE OR FAILURE TO USE THE INFORMATION CONTAINED HEREIN.
   This Sun Alert notification contains Sun proprietary and confidential
   information. It is being provided to you pursuant to the provisions of
   your agreement to purchase services from Sun, or, if you do not have
   such an agreement, the Sun.com Terms of Use. This Sun Alert
   notification may only be used for the purposes contemplated by these
   agreements.

   Copyright 2000-2004 Sun Microsystems, Inc., 4150 Network Circle, Santa
   Clara, CA 95054 U.S.A. All rights reserved.

References

   1. http://sunsolve.sun.com/search/printfriendly.do?assetkey=1-26-57653-1#top
   2. http://scary.beasts.org/security/CESA-2004-003.txt
   3. http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0687
   4. http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0688
   5. http://sunsolve.sun.com/search/printfriendly.do?assetkey=1-26-57653-1#top

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



iQCVAwUBQWnabCh9+71yA2DNAQIEAwP/TGf/Id1hI1qAUK0te47f3EczM5a0Yh1J
Ws8hfaayiG90gSiV5LK64NpnsYgtqCD2/xYwtb9QvgiFC0boY8v4wcb7oLhUBP6v
HzdSfxFt5a3sTQJOgNZQ9qTEHpwULAAgQDp6DJIuMWF94HREkmhY6Iv8e0hZYMs8
nAgNGEJNmhs=
=ZphZ
- -----END PGP SIGNATURE-----


- ----------------------------------------------------------------------------------

For additional information or assistance, please contact the HELP Desk by 
telephone or Not Protectively Marked information may be sent via 
EMail to: uniras@xxxxxxxxxxxx

Office Hours:
Mon - Fri: 08:30 - 17:00 Hrs
Tel: +44 (0) 870 487 0748 Ext 4511
Fax: +44 (0) 870 487 0749

Outside of Office Hours:
On Call Duty Officer:
Tel: +44 (0) 870 487 0748 and follow the prompts

- ----------------------------------------------------------------------------------
UNIRAS wishes to acknowledge the contributions of Sun Microsystems for the information 
contained in this Briefing. 
- ----------------------------------------------------------------------------------
This Briefing contains the information released by the original author. Some 
of the information may have changed since it was released. If the vulnerability 
affects you, it may be prudent to retrieve the advisory from the canonical site 
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 UNIRAS or NISCC.  The views 
and opinions of authors expressed within this notice shall not be used for 
advertising or product endorsement purposes.

Neither UNIRAS or NISCC shall also accept responsibility for any errors 
or omissions contained within this briefing notice. 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 notice.

UNIRAS 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. 
- ----------------------------------------------------------------------------------
<End of UNIRAS Briefing>

-----BEGIN PGP SIGNATURE-----
Version: PGP 8.0

iQCVAwUBQWqBAIpao72zK539AQEXSgP7BeaY4H9m5kxYS1wLhkxL0uu/XAsD7SGj
1l82I9Umo5ptKR7QDCfsUQHlFgNW0LV52n4hlKGcWUclFc+jUq/livMgcxcQqWYb
zeL7KIAaahYRMfsumBqcZCnAd5s7ACrB4oTmXDD+TdEXJN5hucres/60lAIHtemg
6mfdL9Jc+H8=
=ZkLW
-----END PGP SIGNATURE-----