=====================================================================
                                   CERT-Renater

                        Note d'Information No. 2009/VULN026
_____________________________________________________________________

DATE                      : 16/01/2009

HARDWARE PLATFORM(S)      : /

OPERATING SYSTEM(S)       : Solaris 8, Solaris 9, Solaris 10, OpenSolaris
                              running ACL Implementation for UFS.

======================================================================
http://sunsolve.sun.com/search/printfriendly.do?assetkey=1-66-242267-1
______________________________________________________________________
   Solution Type: Sun Alert
   Solution  242267 :   Security Vulnerability in the ACL (acl(2))
   Implementation for UFS File Systems May Allow a Local User to Panic
   the System
   Bug ID: 6748275

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

   Date of Preliminary Release: 18-Sep-2008

   SA Document Body
   Security Vulnerability in the ACL (acl(2)) Implementation for UFS File
   Systems May Allow a Local User to Panic the System

   1. Impact
   A security vulnerability in the Solaris Access Control List (ACL) (see
   acl(2)) implementation for UFS file systems may allow a local
   unprivileged user to panic a system which has a UFS filesystem. This
   is a type of Denial of Service (DoS).
   Sun would like to acknowledge with thanks, Nils Goroll, for bringing
   this issue to our attention and aiding us in the development of a fix
   through the OpenSolaris project.

   2. Contributing Factors
   This issue can occur in the following releases:
   SPARC Platform
     * Solaris 8
     * Solaris 9 without patch 122300-34
     * Solaris 10 without patch 139483-01
     * OpenSolaris based upon builds snv_01 through snv_99

   x86 Platform
     * Solaris 8
     * Solaris 9 without patch 122301-34
     * Solaris 10 without patch 139484-01
     * OpenSolaris based upon builds snv_01 through snv_99

   Note: This issue only affects systems which have UFS file systems
   mounted which are writable (read-write). To print the list of UFS file
   systems mounted read-write on the system, the following command can be
   run:

   $ mount -p | grep ufs | grep rw

   3. Symptoms
   If this issue is experienced, the system will panic with a message
   similar to the following:

   panic[cpu0]/thread=300043e8060: BAD TRAP: type=31 rp=2a10165f130 addr=70 mmu_fs
   r=0
   occurred in module "ufs" due to a NULL pointer dereference
   unix:die+78 (...)
   unix:trap+9e0 (...)
   unix:ktl0+48 (...)
   ufs:ufs_acl_access+4 (...)
   ufs:ufs_dirlook+48 (...)
   ufs:ufs_lookup+2ac (...)
   genunix:fop_lookup+28 (...)
   genunix:lookuppnvp+344 (...)
   genunix:lookuppnat+120 (...)
   genunix:lookupnameat+5c (...)
   genunix:cstatat_getvp+198 (...)
   genunix:cstatat64_32+40 (...)

   Note that either ufs_acl_access() or ufs_iaccess() are the top most
   UFS functions in the call stack.

   4. Workaround
   There is no workaround for this issue. Please see the Resolution
   section below.
   Preliminary T-Patches are available for the following releases from
   http://sunsolve.sun.com/tpatches
   SPARC Platform
     * Solaris 8 T-patch T117350-60

   x86 Platform
     * Solaris 8 T-patch T117351-60

   This document refers to one or more preliminary temporary patches
   (T-Patches) which are designed to address the concerns identified
   herein. Sun has limited experience with these patches due to their
   preliminary nature. As such, you should only install the patches on
   systems meeting the configurations described above. Sun may release
   full patches at a later date, however, Sun is under no obligation
   whatsoever to create, release, or distribute any such patch.

   5. Resolution
   This issue is addressed in the following releases:
   SPARC Platform
     * Solaris 9 with patch 122300-34 or later
     * Solaris 10 with patch 139483-01 or later
     * OpenSolaris based upon builds snv_100 or later

   x86 Platform
     * Solaris 9 with patch 122301-34 or later
     * Solaris 10 with patch 139484-01 or later
     * OpenSolaris based upon builds snv_100 or later

   A final resolution is pending completion for Solaris 8.

   For more information on Security Sun Alerts, see Technical
   Instruction ID 213557.
   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

          =========================================================
          Les serveurs de référence du CERT-Renater
          http://www.urec.fr/securite
          http://www.cru.fr/securite
          http://www.renater.fr
          =========================================================
          + CERT-RENATER          | tel : 01-53-94-20-44          +
          + 151 bd de l'Hopital   | fax : 01-53-94-20-41          +
          + 75013 Paris           | email: certsvp@renater.fr     +
          =========================================================
