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

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

                        ESB-2008.0588 -- [Solaris]
       Security Vulnerability in inet_network() Library Routine May
               Allow Denial of Service (DoS) to Applications
                               12 June 2008

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

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

Product:              inet_network() Library
Publisher:            Sun Microsystems
Operating System:     Solaris
Impact:               Denial of Service
Access:               Remote/Unauthenticated
CVE Names:            CVE-2008-0122

Ref:                  ESB-2008.0102

Original Bulletin:    
  http://sunsolve.sun.com/search/printfriendly.do?assetkey=1-66-238493-1

Revision History:     June 12 2008: Removed Comment As Patches Are Now 
                                    Available
                      June  6 2008: Initial Release

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

   Solution Type: Sun Alert
   Solution  238493 :   Security Vulnerability in inet_network() Library
   Routine May Allow Denial of Service (DoS) to Applications          
   Bug ID: 6653976, 4491688

   Product
   Solaris 8 Operating System, Solaris 9 Operating System, 
   Solaris 10 Operating System, OpenSolaris

   Date of Preliminary Release: 04-Jun-2008

   Date of Resolved Release: 09-Jun-2008

   SA Document Body
   Security Vulnerability in inet_network() Library Routine May Allow Denial 
   of Service (DoS) to Applications (see below for details)

   1. Impact

   An off-by-one buffer overflow in the inet_network() library function,
   defined in the libsocket(3LIB), libresolv(3LIB), and the SunOS 4.x binary
   compatibility libraries libc.so.1.9 and libc.so.2.9 in Solaris, may affect
   applications which make use of this routine.  Depending on the
   application, this may allow a local or remote unprivileged user to crash
   the application using the inet_network() routine (which is a type of
   Denial of Service).
   This issue is also referenced in the following document:
    
   CVE-2008-0122 at
   http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-0122  

   2. Contributing Factors

   This issue can occur in the following releases:
   SPARC Platform
     *
   Solaris 8 for libresolv(3LIB)without patch 109326-21
     *
   Solaris 8 for libsocket(3LIB)without patch 111327-06
     *
   Solaris 8 for SunOS 4.x Binary Compatibility libraries without patch 
   109152-03
     *
   Solaris 9 for SunOS 4.x Binary Compatibility libraries without patch 
   112874-45
     *
   Solaris 10 for SunOS 4.x Binary Compatibility libraries without patch 
   136892-01
     *
   OpenSolaris based upon builds snv_01 through snv_87 (SunOS 4.x Binary 
   Compatibility libraries only (6653976))

   x86 Platform
     *
   Solaris 8 for libresolv(3LIB) without patch 109327-21
     *
   Solaris 8 for libsocket(3LIB) without patch 111328-05

   Note 1: The inet_network() function in the libsocket(3LIB) and
        libresolv(3LIB) libraries isn't affected by this issue in Solaris
        9, 10 and OpenSolaris.
   Note 2: The SunOS 4.x binary compatibility libraries allow existing SunOS
        4.x applications, including OpenWindows applications, to run on
        Solaris without modification or recompilation and only apply to
        the SPARC architecture.  More details can be found in the "Binary
        Compatibility Guide" at http://docs.sun.com/.
   Note 3: A partial test to check if an application links with a library 
        such as libresolv(3LIB) is to use ldd(1):
        $ ldd /path/to/Application | grep libresolv
                libresolv.so.2 =>        /usr/lib/libresolv.so.2
        A comprehensive test to check if an application links with a
        library such as libresolv(3LIB) requires the use of pldd(1)
        against the running application since ldd(1) does not list any
        shared objects explicitly attached using dlopen(3C).  For example:
        $ pldd `pgrep Application` | grep libresolv
        /usr/lib/libresolv.so.2

   3. Symptoms

   If the described issue is exploited to cause a Denial of Service (DoS) to
   an application which links to an affected library, the application will
   exit and may generate an error message about a Segmentation Fault,
   potentially writing a core(4) file.

   4. Workaround

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

   5. Resolution

   This issue is addressed in the following releases:
   SPARC Platform
     *
   Solaris 8 for libresolv(3LIB)with patch 109326-21 or later
     *
   Solaris 8 for libsocket(3LIB)with patch 111327-06 or later
     *
   Solaris 8 for SunOS 4.x Binary Compatibility libraries with patch 
   109152-03 or later
     *
   Solaris 9 for SunOS 4.x Binary Compatibility libraries with patch 
   112874-45 or later
     *
   Solaris 10 for SunOS 4.x Binary Compatibility libraries with patch 
   136892-01 or late
   Solaris 8 for libsocket(3LIB) with patch 111328-05 or later
     *
   OpenSolaris based upon builds snv_88 or later (SunOS 4.x Binary 
   Compatibility libraries only (6653976))

   X86 Platform
     *
   Solaris 8 for libresolv(3LIB) with patch 109327-21 or later
     *
   Solaris 8 for libsocket(3LIB) with patch 111328-05 or later

   For more information on Security Sun Alerts, see Technical Instruction
   ID 213557
   http://sunsolve.sun.com/search/document.do?assetkey=1-61-213557-1

   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-2008 Sun Microsystems, Inc., 4150 Network Circle, Santa
   Clara, CA 95054 U.S.A. All rights reserved

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

iQCVAwUBSFB9lyh9+71yA2DNAQK5swP/dPY83m1spFnjuBT0RdERtlPcI/KC41dP
FiiLfZwzXx8rHZHF1wLIEJJWc+IsqHYfHK/MVgiblVsYsLzqME5FZPLcz+Q/dlJb
nfEvLTo3i3gRfX6TP+gKArwuCHNNkXP0CFeLp+minMn9DAUDcQmDL3aymWnznOm7
VdEwmIjNNMM=
=x7Sp
-----END PGP SIGNATURE-----