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

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

                ESB-2003.0435 -- Sun(sm) Alert Notification
          (Sun Alert ID: 55420) - A Buffer Overflow Vulnerability
                        in dbm Database Functions
                               23 June 2003

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

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

Product:                dbm
Publisher:              Sun Microsystems
Operating System:       Solaris
Platform:               SPARC
                        i386
Impact:                 Root Compromise
Access Required:        Existing Account

Comment: Original bulletin available at:

         http://sunsolve.sun.com/pub-cgi/retrieve.pl?doc=fsalert%2F55420

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


DOCUMENT ID: 55420
SYNOPSIS: A Buffer Overflow Vulnerability in the dbm_open(ndbm(3C) and
dbm(3UCB)) and dbminit(3UCB) Database Functions May Allow Unauthorized
Root Privileges
DETAIL DESCRIPTION:


    Sun(sm) Alert Notification

    * Sun Alert ID: 55420
    

      *Synopsis: A Buffer Overflow Vulnerability in the
      dbm_open(ndbm(3C) and dbm(3UCB)) and dbminit(3UCB) Database
      Functions May Allow Unauthorized Root Privileges
    

      *Category: Security
    

      *Product: Solaris
    * BugIDs: 4661997, 4668699
    * Avoidance: Patch
    

      *State: Resolved
    * Date Released: 19-Jun-2003
    * Date Closed: 19-Jun-2003
    * Date Modified:


    1. Impact

A local unprivileged user may be able to gain unauthorized root
privileges due to a buffer overflow vulnerability in the database
function routines dbm_open(3C) and dbminit(3UCB). The dbm_open(3C)
database function is present in the C library libc(3LIB) and is used in
the Solaris privileged program Xsun(1).


    2. Contributing Factors

This issue can occur in the following releases:

SPARC Platform

    * Solaris 2.6 without patches 105210-47, 105377-06 and 105401-43
    * Solaris 7 without patches 106541-22, 106942-26 and 106949-03
    * Solaris 8 without patches 108827-24, 108993-16 and 109152-02
    * Solaris 9 without patches 112874-01, 112922-02, 113319-10,
      114569-02 and 114571-01

x86 Platform

    * Solaris 2.6 without patches 105211-49 and 105402-43
    * Solaris 7 without patches 106542-22 and 106943-26
    * Solaris 8 without patches 108828-25, 108994-16 and 114617-01
    * Solaris 9 without patches 113719-03, 114570-01 and 114715-01


    3. Symptoms

There are no predictable symptoms that would show the described issue
has been exploited to gain unauthorized root access to a system.


SOLUTION SUMMARY:


    4. Relief/Workaround

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


    5. Resolution

This issue is addressed in the following releases:

SPARC Platform

    * Solaris 2.6 with patches 105210-47, 105377-06 and 105401-43 or
      later for each listed patch
    * Solaris 7 with patches 106541-22, 106942-26 and 106949-03 or later
      for each listed patch
    * Solaris 8 with patches 108827-24, 108993-16 and 109152-02 or later
      for each listed patch
    * Solaris 9 with patches 112874-01, 112922-02, 113319-10, 114569-02
      and 114571-01 or later for each listed patch

x86 Platform

    * Solaris 2.6 with patches 105211-49 and 105402-43 or later for each
      listed patch
    * Solaris 7 with patches 106542-22 and 106943-26 or later for each
      listed patch
    * Solaris 8 with patches 108828-25, 108994-16 and 114617-01 or later
      for each listed patch
    * Solaris 9 with patches 113719-03, 114570-01 and 114715-01 or later
      for each listed patch

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

- --------------------------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 use any or all of this information is
the responsibility of each user or organisation, and should be done so in
accordance with site policies and procedures.

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 system has been compromised, contact AusCERT or
your representative in FIRST (Forum of Incident Response and Security
Teams).

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

iQCVAwUBPvZNtSh9+71yA2DNAQFD1wP+KEKB5PgfRrh45HhTbqIvk238kBXq4uIz
VEaC+kmTo6i+Yg9xo2SzR/0CAQ3RcCHMlBh/eNNp9K8AYW7oIS4Y/FOfNGrR3Xhk
SzxTjvlnaSLqntsNYbA4tDZc9g0rQ7WfB796e4GsVd+yipIu8rUPVkzjsFGXObbt
5C6/+ehWHMM=
=yVMq
-----END PGP SIGNATURE-----