Bugtraq mailing list archives

Re: strcpy versus strncpy


From: aleph1 () DFW NET (Aleph One)
Date: Wed, 4 Mar 1998 15:11:27 CST


From aleph1  Wed Mar  4 15:09:51 1998
Return-Path: <secure () sunsc Eng Sun COM>
X-Received: from mercury.Sun.COM by dfw.dfw.net (4.1/SMI-4.1)
        id AA13686; Wed, 4 Mar 1998 15:09:47 CST
X-Received: from Eng.Sun.COM (engmail2 [129.146.1.25]) by mercury.Sun.COM (SMI-8.6/mail.byaddr) with SMTP id NAA20681; 
Wed, 4 Mar 1998 13:08:32 -0800
X-Received: from sunsc.eng.sun.com (sunsc.Eng.Sun.COM [129.146.81.212])
        by Eng.Sun.COM (SMI-8.6/SMI-5.3) with SMTP id NAA22952;
        Wed, 4 Mar 1998 13:08:24 -0800
X-Received: by sunsc.eng.sun.com (SMI-8.6/SMI-SVR4)
        id MAA16424; Wed, 4 Mar 1998 12:23:25 -0800
Date: Wed, 4 Mar 1998 12:23:25 -0800
From: secure () sunsc Eng Sun COM (Sun Security Coordination Team)
Message-Id: <199803042023.MAA16424 () sunsc eng sun com>
To: CWS () sunsc Eng Sun COM
Subject: Sun Security Bulletin #00164
X-Sun-Charset: US-ASCII
ReSent-Date: Wed, 4 Mar 1998 15:11:24 -0600 (CST)
ReSent-From: Aleph One <aleph1 () dfw net>
ReSent-To: BUGTRAQ () NETSPACE ORG
ReSent-Message-ID: <Pine.SUN.3.94.980304151124.19842V () dfw dfw net>

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

________________________________________________________________________________
                   Sun Microsystems, Inc. Security Bulletin

Bulletin Number:        #00164
Date:                   March 4, 1998
Cross-Ref:
Title:                  dtaction
________________________________________________________________________________

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.  Bulletins Topics

    Sun announces the release of patches for Solaris(tm) 2.6, 2.5.1,
    2.5, and 2.4 (SunOS(tm) 5.6, 5.5.1, 5.5, and 5.4) which relate
    to a vulnerability in dtaction.

    Sun recommends that you install the patches listed in section 4
    immediately on systems running SunOS 5.6, 5.5.1, 5.5, and 5.4
    with the Common Desktop Environment (CDE).

2.  Who is Affected

    Vulnerable:  SunOS versions 5.6, 5.6_x86, 5.5.1, 5.5.1_x86, 5.5,
                 5.5_x86, 5.4, and 5.4_x86 running CDE

    Not vulnerable: All other supported versions of SunOS.

3.  Understanding the Vulnerability

    The dtaction utility allows applications or shell scripts, which are
    otherwise not connected into the CDE development environment, to invoke
    action requests. Due to insufficient bounds checking on arguments supplied
    to dtaction, it is possible to overwrite the internal stack space of
    dtaction. As dtaction is setuid root, this vulnerability may be exploited
    to gain root access.

4.  List of Patches

    The following patches are available in relation to the above problem.

    CDE version         Patch ID
    ___________         ________

    1.2                 105669-02
    1.2_x86             105670-02
    1.02                105716-02
    1.02_x86            105717-02
    1.01                105714-02
    1.01_x86            105715-02

_______________________________________________________________________________
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 Coordinaton 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 1998 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.

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQCVAwUBNP2d37dzzzOFBFjJAQFREwP9Gr3+IZ7ZDk8qmSCjaJy3VMyfZmYvZ4m5
Q15gV+1FlWbQSO46YhRjwbnEC2U30Eci602Fpp5Bdn0iU2TIYYnLvr5mkr6rwkt7
tf2OfLg7pQUL90hLVu6Ha7WbHs7Jj79OH1s+uGjYQIbtNdOSBgLZwbKBMpyOGC7h
ZibTo3D4LQk=
=gHTW
-----END PGP SIGNATURE-----



Current thread: