Title: Sun Solaris Vulnerabilities (sdtcm_convert, man/catman, CDE)
Date Issued: February 12, 1999
Last Modified: February 12, 1999
Code: J-028
Source: CIAC
             __________________________________________________________

                       The U.S. Department of Energy
                    Computer Incident Advisory Capability
                           ___  __ __    _     ___
                          /       |     /_\   /
                          \___  __|__  /   \  \___
             __________________________________________________________

                             INFORMATION BULLETIN

          Sun Solaris Vulnerabilities (sdtcm_convert, man/catman, CDE)

February 12, 1999 22:00 GMT                                       Number J-028
______________________________________________________________________________
PROBLEM:       Sun has identified three vulnerabilities. 
               1) sdtcm_convert, a setuid-root calendar data conversion 
                  utility. 
               2) man command displays reference manuals. catman utility  
                  creates on-line manuals. 
               3) Common Desktop Environment (CDE). 
PLATFORMS:     1) Solaris(tm) versions: 7, 7_x86, 2.6, 2.6_x86, 2.5.1, 
                  2.5.1_x86, 2.5,25_x86, 2.4 and 2.4_x86 running CDE .
               2) Solaris(tm) versions: 7, 7_x86, 2.6, 2.6_x86, 2.5.1, 
                  2.5.1_x86, 2.5, 2.5_x86, 2.4, 2.4_x86, and 2.3.
                  SunOS(tm) versions: 4.1.4 and 4.1.3_U.
               3) Solaris(tm) versions: 2.6, 2.6_x86, 2.5.1, 2.5.1_x86, 2.5,
                  2.5_x86, 2.4 and 2.4_x86 running CDE.
DAMAGE:        If exploited, all three of these vulnerabilities could lead to 
               root access. 
SOLUTION:      Apply patches. 
______________________________________________________________________________
VULNERABILITY  Risk is high because all of these vulnerabilities could lead 
ASSESSMENT:    to root compromises. Sun recommends that you install the    
               respective patches immediately on affected systems. 
______________________________________________________________________________

[  Start Sun Microsystems Advisories  ]


1) sdtcm_convert
______________________________________________________________________________
                   Sun Microsystems, Inc. Security Bulletin
                
Bulletin Number:        #00183
Date:                   February 10, 1999
Cross-Ref:              
Title:                  sdtcm_convert
______________________________________________________________________________

The information contained in this Security Bulletin is provided "AS IS." 
Sun makes no warranties of any kind whatsoever with respect to the information 
contained in this Security Bulletin. ALL EXPRESS OR IMPLIED CONDITIONS, 
REPRESENTATIONS AND WARRANTIES, INCLUDING ANY WARRANTY OF NON-INFRINGEMENT OR 
IMPLIED WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, ARE 
HEREBY DISCLAIMED AND EXCLUDED TO THE EXTENT ALLOWED BY APPLICABLE LAW.

IN NO EVENT WILL SUN MICROSYSTEMS, INC. BE LIABLE FOR ANY LOST REVENUE, 
PROFIT OR DATA, OR FOR DIRECT, SPECIAL, INDIRECT, CONSEQUENTIAL, INCIDENTAL 
OR PUNITIVE DAMAGES HOWEVER CAUSED AND REGARDLESS OF ANY THEORY OF LIABILITY 
ARISING OUT OF THE USE OF OR INABILITY TO USE THE INFORMATION CONTAINED IN 
THIS SECURITY BULLETIN, EVEN IF SUN MICROSYSTEMS, INC. HAS BEEN ADVISED OF 
THE POSSIBILITY OF SUCH DAMAGES.

If any of the above provisions are held to be in violation of applicable law, 
void, or unenforceable in any jurisdiction, then such provisions are waived 
to the extent necessary for this disclaimer to be otherwise enforceable in 
such jurisdiction.
______________________________________________________________________________

1.  Background

    sdtcm_convert is a setuid-root calendar data conversion utility which
    converts version 3 (OpenWindows) calendar data format to version 4 
    (extensible calendar data format), and vice versa. A buffer overflow
    has been discovered which may be exploited to gain root access.  

2.  Affected Supported Versions
        
    Solaris(tm) versions:   7, 7_x86, 2.6, 2.6_x86, 2.5.1, 2.5.1_x86, 2.5,
                            2.5_x86, 2.4 and 2.4_x86 running CDE
                   
3.  Recommendations

    Sun recommends that you install the respective patches immediately
    on affected systems.
    
    CDE Version         Patch ID        
    ___________         _________ 
    1.3                 107022-01
    1.3_x86             107023-01
    1.2                 105566-06
    1.2_x86             105567-07
    1.0.2               103670-06
    1.0.2_x86           103717-06
    1.0.1               103671-06
    1.0.1_x86           103718-06

______________________________________________________________________________
_
APPENDICES

A.  Patches listed in this bulletin are available to all Sun customers via 
    World Wide Web at:
    
        <URL:http://sunsolve.sun.com/sunsolve/pubpatches/patches.html>

B.  Checksums for the patches listed in this bulletin are available via 
    World Wide Web at:

        <URL:http://sunsolve.sun.com/sunsolve/pubpatches/patches.html>

C.  Sun security bulletins are available via World Wide Web at:

        <URL:http://sunsolve.sun.com/sunsolve/secbulletins>
        
D.  Sun Security Coordination Team's PGP key is available via World Wide Web 
    at:

        <URL:http://sunsolve.sun.com/sunsolve/secbulletins/SunSCkey.txt>
                                    
E.  To report or inquire about a security problem with Sun software, contact 
    one or more of the following:
  
        - Your local Sun answer centers
        - Your representative computer security response team, such as CERT 
        - Sun Security Coordination Team. Send email to:
         
                security-alert@sun.com

F.  To receive information or subscribe to our CWS (Customer Warning System) 
    mailing list, send email to:
    
                security-alert@sun.com
   
    with a subject line (not body) containing one of the following commands:

        Command         Information Returned/Action Taken
        _______         _________________________________

        help            An explanation of how to get information
        
        key             Sun Security Coordination Team's PGP key
        
        list            A list of current security topics

        query [topic]   The email is treated as an inquiry and is forwarded to 
                        the Security Coordination Team

        report [topic]  The email is treated as a security report and is
                        forwarded to the Security Coordination Team. Please 
                        encrypt sensitive mail using Sun Security Coordination
                        Team's PGP key

        send topic      A short status summary or bulletin. For example, to 
                        retrieve a Security Bulletin #00138, supply the 
                        following in the subject line (not body):
                        
                                send #138

        subscribe       Sender is added to our mailing list.  To subscribe, 
                        supply the following in the subject line (not body):

                                subscribe cws your-email-address
                        
                        Note that your-email-address should be substituted
                        by your email address.
                        
        unsubscribe     Sender is removed from the CWS mailing list.
______________________________________________________________________________

Copyright 1999 Sun Microsystems, Inc. All rights reserved. Sun, 
Sun Microsystems, Solaris and SunOS are trademarks or registered trademarks 
of Sun Microsystems, Inc. in the United States and other countries. This 
Security Bulletin may be reproduced and distributed, provided that this 
Security Bulletin is not modified in any way and is attributed to 
Sun Microsystems, Inc. and provided that such reproduction and distribution 
is performed for non-commercial purposes.


2) man/catman
______________________________________________________________________________
                   Sun Microsystems, Inc. Security Bulletin
                
Bulletin Number:        #00184
Date:                   February 10, 1999
Cross-Ref:              
Title:                  man/catman
______________________________________________________________________________

The information contained in this Security Bulletin is provided "AS IS." 
Sun makes no warranties of any kind whatsoever with respect to the information 
contained in this Security Bulletin. ALL EXPRESS OR IMPLIED CONDITIONS, 
REPRESENTATIONS AND WARRANTIES, INCLUDING ANY WARRANTY OF NON-INFRINGEMENT OR 
IMPLIED WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, ARE 
HEREBY DISCLAIMED AND EXCLUDED TO THE EXTENT ALLOWED BY APPLICABLE LAW.

IN NO EVENT WILL SUN MICROSYSTEMS, INC. BE LIABLE FOR ANY LOST REVENUE, 
PROFIT OR DATA, OR FOR DIRECT, SPECIAL, INDIRECT, CONSEQUENTIAL, INCIDENTAL 
OR PUNITIVE DAMAGES HOWEVER CAUSED AND REGARDLESS OF ANY THEORY OF LIABILITY 
ARISING OUT OF THE USE OF OR INABILITY TO USE THE INFORMATION CONTAINED IN 
THIS SECURITY BULLETIN, EVEN IF SUN MICROSYSTEMS, INC. HAS BEEN ADVISED OF 
THE POSSIBILITY OF SUCH DAMAGES.

If any of the above provisions are held to be in violation of applicable law, 
void, or unenforceable in any jurisdiction, then such provisions are waived 
to the extent necessary for this disclaimer to be otherwise enforceable in 
such jurisdiction.
______________________________________________________________________________

1.  Background

    The man command displays information from the reference manuals. The
    catman utility creates preformatted versions of the on-line manuals.
    Vulnerabilities have been discovered with these commands that may be
    exploited to overwrite arbitrary files when man or catman is executed
    by root.
    
2.  Affected Supported Versions
        
    Solaris(tm) versions:   7, 7_x86, 2.6, 2.6_x86, 2.5.1, 2.5.1_x86, 2.5,
                            2.5_x86, 2.4, 2.4_x86, and 2.3
                            
    SunOS(tm) versions:     4.1.4 and 4.1.3_U1 
                   
3.  Recommendations

    Sun recommends that you install the respective patches immediately
    on affected systems.
    
    Operating System    Patch ID        
    _________________   _________    
    Solaris 7           107038-01               
    Solaris 7_x86       107039-01
    Solaris 2.6         106123-04               
    Solaris 2.6_x86     106124-04
    Solaris 2.5.1       106905-01
    Solaris 2.5.1_x86   106906-01
    Solaris 2.5         106907-01
    Solaris 2.5_x86     106908-01
    Solaris 2.4         106912-01
    Solaris 2.4_x86     106962-01
    Solaris 2.3         106911-01
    SunOS   4.1.4       107157-01
                        107144-01
    SunOS   4.1.3_U1    107156-01
                        107143-01
                        
______________________________________________________________________________
APPENDICES

A.  Patches listed in this bulletin are available to all Sun customers via 
    World Wide Web at:
    
        <URL:http://sunsolve.sun.com/sunsolve/pubpatches/patches.html>

B.  Checksums for the patches listed in this bulletin are available via 
    World Wide Web at:

        <URL:http://sunsolve.sun.com/sunsolve/pubpatches/patches.html>

C.  Sun security bulletins are available via World Wide Web at:

        <URL:http://sunsolve.sun.com/sunsolve/secbulletins>
        
D.  Sun Security Coordination Team's PGP key is available via World Wide Web 
    at:

        <URL:http://sunsolve.sun.com/sunsolve/secbulletins/SunSCkey.txt>
                                    
E.  To report or inquire about a security problem with Sun software, contact 
    one or more of the following:
  
        - Your local Sun answer centers
        - Your representative computer security response team, such as CERT 
        - Sun Security Coordination Team. Send email to:
         
                security-alert@sun.com

F.  To receive information or subscribe to our CWS (Customer Warning System) 
    mailing list, send email to:
    
                security-alert@sun.com
   
    with a subject line (not body) containing one of the following commands:

        Command         Information Returned/Action Taken
        _______         _________________________________

        help            An explanation of how to get information
        
        key             Sun Security Coordination Team's PGP key
        
        list            A list of current security topics

        query [topic]   The email is treated as an inquiry and is forwarded to 
                        the Security Coordination Team

        report [topic]  The email is treated as a security report and is
                        forwarded to the Security Coordination Team. Please 
                        encrypt sensitive mail using Sun Security Coordination
                        Team's PGP key

        send topic      A short status summary or bulletin. For example, to 
                        retrieve a Security Bulletin #00138, supply the 
                        following in the subject line (not body):
                        
                                send #138

        subscribe       Sender is added to our mailing list.  To subscribe, 
                        supply the following in the subject line (not body):

                                subscribe cws your-email-address
                        
                        Note that your-email-address should be substituted
                        by your email address.
                        
        unsubscribe     Sender is removed from the CWS mailing list.
______________________________________________________________________________

Copyright 1999 Sun Microsystems, Inc. All rights reserved. Sun, 
Sun Microsystems, Solaris and SunOS are trademarks or registered trademarks 
of Sun Microsystems, Inc. in the United States and other countries. This 
Security Bulletin may be reproduced and distributed, provided that this 
Security Bulletin is not modified in any way and is attributed to 
Sun Microsystems, Inc. and provided that such reproduction and distribution 
is performed for non-commercial purposes.


3) Common Desktop Environment (CDE)
______________________________________________________________________________
                   Sun Microsystems, Inc. Security Bulletin
                
Bulletin Number:        #00185
Date:                   February 10, 1999
Cross-Ref:              CERT CA-98.02
Title:                  Common Desktop Environment (CDE)
______________________________________________________________________________

The information contained in this Security Bulletin is provided "AS IS." 
Sun makes no warranties of any kind whatsoever with respect to the information 
contained in this Security Bulletin. ALL EXPRESS OR IMPLIED CONDITIONS, 
REPRESENTATIONS AND WARRANTIES, INCLUDING ANY WARRANTY OF NON-INFRINGEMENT OR 
IMPLIED WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, ARE 
HEREBY DISCLAIMED AND EXCLUDED TO THE EXTENT ALLOWED BY APPLICABLE LAW.

IN NO EVENT WILL SUN MICROSYSTEMS, INC. BE LIABLE FOR ANY LOST REVENUE, 
PROFIT OR DATA, OR FOR DIRECT, SPECIAL, INDIRECT, CONSEQUENTIAL, INCIDENTAL 
OR PUNITIVE DAMAGES HOWEVER CAUSED AND REGARDLESS OF ANY THEORY OF LIABILITY 
ARISING OUT OF THE USE OF OR INABILITY TO USE THE INFORMATION CONTAINED IN 
THIS SECURITY BULLETIN, EVEN IF SUN MICROSYSTEMS, INC. HAS BEEN ADVISED OF 
THE POSSIBILITY OF SUCH DAMAGES.

If any of the above provisions are held to be in violation of applicable law, 
void, or unenforceable in any jurisdiction, then such provisions are waived 
to the extent necessary for this disclaimer to be otherwise enforceable in 
such jurisdiction.
______________________________________________________________________________

1.  Background

    Several vulnerabilities in the Common Desktop Environment (CDE) may be
    be exploited to gain root access and remove arbitrary files.

2.  Affected Supported Versions
        
    Solaris(tm) versions:   2.6, 2.6_x86, 2.5.1, 2.5.1_x86, 2.5,
                            2.5_x86, 2.4 and 2.4_x86 running CDE
                            
    Solaris 7 is not affected.              
                   
3.  Recommendations

    Sun recommends that you install the respective patches immediately
    on affected systems.
    
    CDE Version         Patch ID        
    ___________         _________ 
    1.2                 106112-03
                        105837-02
    1.2_x86             106113-03 
                        105838-02
    1.0.2               104661-07
                        104498-05
                        103882-09
    1.0.2_x86           104663-08
                        104500-05
                        103886-08
    1.0.1               104660-04
                        104497-05
                        103884-07
    1.0.1_x86           104662-05
                        104499-05
                                103885-07
      
______________________________________________________________________________
APPENDICES

A.  Patches listed in this bulletin are available to all Sun customers via 
    World Wide Web at:
    
        <URL:http://sunsolve.sun.com/sunsolve/pubpatches/patches.html>

B.  Checksums for the patches listed in this bulletin are available via 
    World Wide Web at:

        <URL:http://sunsolve.sun.com/sunsolve/pubpatches/patches.html>

C.  Sun security bulletins are available via World Wide Web at:

        <URL:http://sunsolve.sun.com/sunsolve/secbulletins>
        
D.  Sun Security Coordination Team's PGP key is available via World Wide Web 
    at:

        <URL:http://sunsolve.sun.com/sunsolve/secbulletins/SunSCkey.txt>
                                    
E.  To report or inquire about a security problem with Sun software, contact 
    one or more of the following:
  
        - Your local Sun answer centers
        - Your representative computer security response team, such as CERT 
        - Sun Security Coordination Team. Send email to:
         
                security-alert@sun.com

F.  To receive information or subscribe to our CWS (Customer Warning System) 
    mailing list, send email to:
    
                security-alert@sun.com
   
    with a subject line (not body) containing one of the following commands:

        Command         Information Returned/Action Taken
        _______         _________________________________

        help            An explanation of how to get information
        
        key             Sun Security Coordination Team's PGP key
        
        list            A list of current security topics

        query [topic]   The email is treated as an inquiry and is forwarded to 
                        the Security Coordination Team

        report [topic]  The email is treated as a security report and is
                        forwarded to the Security Coordination Team. Please 
                        encrypt sensitive mail using Sun Security Coordination
                        Team's PGP key

        send topic      A short status summary or bulletin. For example, to 
                        retrieve a Security Bulletin #00138, supply the 
                        following in the subject line (not body):
                        
                                send #138

        subscribe       Sender is added to our mailing list.  To subscribe, 
                        supply the following in the subject line (not body):

                                subscribe cws your-email-address
                        
                        Note that your-email-address should be substituted
                        by your email address.
                        
        unsubscribe     Sender is removed from the CWS mailing list.
______________________________________________________________________________

Copyright 1999 Sun Microsystems, Inc. All rights reserved. Sun, 
Sun Microsystems, Solaris and SunOS are trademarks or registered trademarks 
of Sun Microsystems, Inc. in the United States and other countries. This 
Security Bulletin may be reproduced and distributed, provided that this 
Security Bulletin is not modified in any way and is attributed to 
Sun Microsystems, Inc. and provided that such reproduction and distribution 
is performed for non-commercial purposes.



[  End Sun Microsystems Advisories  ]
_____________________________________________________________________________

CIAC wishes to acknowledge the contributions of Sun Microsystems for the 
information contained in this bulletin.
______________________________________________________________________________


CIAC, the Computer Incident Advisory Capability, is the computer
security incident response team for the U.S. Department of Energy
(DOE) and the emergency backup response team for the National
Institutes of Health (NIH). CIAC is located at the Lawrence Livermore
National Laboratory in Livermore, California. CIAC is also a founding
member of FIRST, the Forum of Incident Response and Security Teams, a
global organization established to foster cooperation and coordination
among computer security teams worldwide.

CIAC services are available to DOE, DOE contractors, and the NIH. CIAC
can be contacted at:
    Voice:    +1 925-422-8193
    FAX:      +1 925-423-8002
    STU-III:  +1 925-423-2604
    E-mail:   ciac@llnl.gov

For emergencies and off-hour assistance, DOE, DOE contractor sites,
and the NIH may contact CIAC 24-hours a day. During off hours (5PM -
8AM PST), call the CIAC voice number 925-422-8193 and leave a message,
or call 800-759-7243 (800-SKY-PAGE) to send a Sky Page. CIAC has two
Sky Page PIN numbers, the primary PIN number, 8550070, is for the CIAC
duty person, and the secondary PIN number, 8550074 is for the CIAC
Project Leader.

Previous CIAC notices, anti-virus software, and other information are
available from the CIAC Computer Security Archive.

   World Wide Web:      http://www.ciac.org/
                        (or http://ciac.llnl.gov -- they're the same machine)
   Anonymous FTP:       ftp.ciac.org
                        (or ciac.llnl.gov -- they're the same machine)
   Modem access:        +1 (925) 423-4753 (28.8K baud)
                        +1 (925) 423-3331 (28.8K baud)

CIAC has several self-subscribing mailing lists for electronic
publications:
1. CIAC-BULLETIN for Advisories, highest priority - time critical
   information and Bulletins, important computer security information;
2. SPI-ANNOUNCE for official news about Security Profile Inspector
   (SPI) software updates, new features, distribution and
   availability;
3. SPI-NOTES, for discussion of problems and solutions regarding the
   use of SPI products.

Our mailing lists are managed by a public domain software package
called Majordomo, which ignores E-mail header subject lines. To
subscribe (add yourself) to one of our mailing lists, send the
following request as the E-mail message body, substituting
ciac-bulletin, spi-announce OR spi-notes for list-name:

E-mail to       ciac-listproc@llnl.gov or majordomo@rumpole.llnl.gov:
        subscribe list-name 
  e.g., subscribe ciac-bulletin 

You will receive an acknowledgment email immediately with a confirmation
that you will need to mail back to the addresses above, as per the
instructions in the email.  This is a partial protection to make sure
you are really the one who asked to be signed up for the list in question.

If you include the word 'help' in the body of an email to the above address,
it will also send back an information file on how to subscribe/unsubscribe,
get past issues of CIAC bulletins via email, etc.

PLEASE NOTE: Many users outside of the DOE, ESnet, and NIH computing
communities receive CIAC bulletins.  If you are not part of these
communities, please contact your agency's response team to report
incidents. Your agency's team will coordinate with CIAC. The Forum of
Incident Response and Security Teams (FIRST) is a world-wide
organization. A list of FIRST member organizations and their
constituencies can be obtained via WWW at http://www.first.org/.

This document was prepared as an account of work sponsored by an
agency of the United States Government. Neither the United States
Government nor the University of California nor any of their
employees, makes any warranty, express or implied, or assumes any
legal liability or responsibility for the accuracy, completeness, or
usefulness of any information, apparatus, product, or process
disclosed, or represents that its use would not infringe privately
owned rights. Reference herein to any specific commercial products,
process, or service by trade name, trademark, manufacturer, or
otherwise, does not necessarily constitute or imply its endorsement,
recommendation or favoring by the United States Government or the
University of California. The views and opinions of authors expressed
herein do not necessarily state or reflect those of the United States
Government or the University of California, and shall not be used for
advertising or product endorsement purposes.

LAST 10 CIAC BULLETINS ISSUED (Previous bulletins available from CIAC)

J-018: HTML Viruses
J-019: Intelligent Peripherals Create Security Risk 
J-020: SGI IRIX fcagent daemon Vulnerability
J-021: Sun Solaris Vulnerabilities ( dtmail, passwd )
J-022: HP-UX Vulnerabilities ( snmp, sendmail, remote network command )
J-023: Cisco IOS Syslog Denial-of-Service Vulnerability
J-024: Windows NT Remote Explorer
J-025: W97M.Footprint Macro Virus Detected
J-026: HP-UX rpc.pcnfsd Vulnerability
J-027: Digital Unix  Vulnerabilities ( at , inc  )