Operating System:

[Solaris]

Published:

27 October 2003

Protect yourself against future threats.

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

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

     ESB-2003.0743 -- Sun(sm) Alert Notification - Sun Alert ID: 57404
     Security Vulnerability Issues With Solstice X.25 snmpx25d daemon
                              27 October 2003

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

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

Product:                snmpx25d
Publisher:              Sun Microsystems
Operating System:       Solaris 9
                        Solaris 8
                        Solaris 7
                        Solaris 2.6
                        Solaris 2.5.1
                        Solaris 2.5
                        Solaris 2.4
Platform:               SPARC
                        x86
Impact:                 Root Compromise
                        Denial of Service
Access Required:        Remote

Ref:                    AL-2002.02

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


   DOCUMENT ID: 57404
   SYNOPSIS: Security Vulnerability Issues With Solstice X.25 snmpx25d
   daemon
   DETAIL DESCRIPTION:
   
Sun(sm) Alert Notification

     * Sun Alert ID: 57404
     * Synopsis: Security Vulnerability Issues With Solstice X.25
       snmpx25d daemon
     * Category: Security
     * Product: Solstice X.25
     * BugIDs: 4563124, 4642557, 4630596
     * Avoidance: Patch
     * State: Resolved
     * Date Released: 22-Oct-2003
     * Date Closed: 22-Oct-2003
     * Date Modified:
       
1. Impact

   With Solstice X.25, unprivileged local or remote users may be able to
   kill the snmpx25d daemon due to the mishandling of SNMP requests. This
   would cause a denial of service for utilities or users attempting to
   access this daemon.
   
   Also, unprivileged local or remote users may be able to gain
   unauthorized root access due to a buffer overflow in the snmpx25d
   daemon.
   
   This issue is described in the CERT Vulnerability VU#854306 at
   [1]http://www.kb.cert.org/vuls/id/854306 which is referenced in
   CA-2002-03 at [2]http://www.cert.org/advisories/CA-2002-03.html.
   
2. Contributing Factors

   This issue can occur in the following releases:
   
   SPARC Platform
     * X.25 9.1 (for Solaris 2.4, 2.5, 2.5.1, 2.6, and 7) without patch
       105084-17
     * X.25 9.2 (for Solaris 7, 8, and 9) without patch 108669-06
       
   x86 Platform
     * X.25 9.1 (for Solaris 2.4, 2.5, 2.5.1, 2.6, and 7) without patch
       105188-17
     * X.25 9.2 (for Solaris 7, 8, and 9) without patch 108670-06
       
   To determine if X25 is installed and which version, run the following
   command:
    % pkginfo -l SUNWx25a | grep VERSION

   If the VERSION string is returned (along with the corresponding
   version), the system has Solstice X.25 installed. If nothing is
   returned, then X25 is not installed.
   
3. Symptoms

   The snmpx25d daemon may exit resulting in the creaton of a file named
   "core" in the root (/) directory (if X.25 is started at system boot),
   or in the directory from which X.25 was manually started.
   SOLUTION SUMMARY:
   
4. Relief/Workaround

   Some relief to the buffer overflow is available by enabling
   non-executable user stacks (although this does not provide 100 percent
   protection against exploitation of this vulnerability, it makes the
   likelihood of a successful exploit much smaller). This workaround is
   only effective on sun4u, sun4m, and sun4d architectures (enter "uname
   -m" to display a systems architecture).
   
   Note: This workaround will not work on x86 platforms.
   
   To enable non-executable program stacks, add the following lines to
   the "/etc/system" file and reboot the system:
    set noexec_user_stack = 1
    set noexec_user_stack_log = 1

   The above tunable parameters are described in the "Solaris Tunable
   Parameters Reference Manual" at [3]http://docs.sun.com.
   
5. Resolution

   This issue is addressed in the following releases:
   
   SPARC Platform
     * X.25 9.1 (for Solaris 2.4, 2.5, 2.5.1, 2.6, and 7) with patch
       105084-17 or later
     * X.25 9.2 (for Solaris 7, 8, and 9) with patch 108669-06 or later
       
   x86 Platform
     * X.25 9.1 (for Solaris 2.4, 2.5, 2.5.1, 2.6, and 7) with patch
       105188-17 or later
     * X.25 9.2 (for Solaris 7, 8, and 9) with patch 108670-06 or later
       
   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-2003 Sun Microsystems, Inc., 4150 Network Circle, Santa
   Clara, CA 95054 U.S.A. All rights reserved.
   

References

   1. http://www.kb.cert.org/vuls/id/854306
   2. http://www.cert.org/advisories/CA-2002-03.html
   3. http://docs.sun.com/



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

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

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

iQCVAwUBP5yeyih9+71yA2DNAQF79gP9GQlPvOvDBAimM6z+F8rZz1WMeZEIzY8g
QqibeNwMu6MIRf0KtiKiSboFhZWEGuhYKYR2DVZOgsxchuzFP6ZndG6FXZBc37F8
HR2p8VQsi4rP0NmTED4Xw/zTd/Jb8hgH6x0MpZlK//ituXiw+0cJRSJ7dkqeIeDF
k/7E+mfQcEs=
=3yip
-----END PGP SIGNATURE-----