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

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

               ESB-2005.0106 -- Sun Alert Notification 57730
        Security Vulnerability in Samba(7) Versions Prior to 3.0.10
                  May Allow Unauthorized Root Privileges
                              19 October 2006

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

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

Product:           Solaris
Publisher:         Sun Microsystems
Operating System:  Solaris 9, 10
Impact:            Root Compromise
                   Execute Arbitrary Code/Commands
Access:            Existing Account
CVE Names:         CAN-2004-1154

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

Revision History:  October 19 2006: Updated Contributing Factors and
                                    Resolution sections
                   February 7 2005: Initial Release

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

Sun(sm) Alert Notification
     * Sun Alert ID: 101643 (formerly 57730)
     * Synopsis: Security Vulnerability in Samba(7) Versions Prior to
       3.0.10 May Allow Unauthorized Root Privileges
     * Category: Security
     * Product: Solaris 9 Operating System, Solaris 10 Operating System
     * BugIDs: 6217228
     * Avoidance: Patch, Workaround
     * State: Resolved
     * Date Released: 24-Jan-2005, 17-Oct-2006
     * Date Closed: 17-Oct-2006
     * Date Modified: 13-Jun-2005, 17-Oct-2006

1. Impact

   An integer overflow security issue with the Samba(7) smbd(1m) daemon
   may allow a local or remote authenticated user the ability to execute
   arbitrary commands with the privileges of Super User (typically root),
   on a Solaris 9 or Solaris 10 system running as a Samba(7) server.

   More information on this issue is available at:
     * CERT Vulnerability Note VU#226184 at:
       http://www.kb.cert.org/vuls/id/226184
     * CVE CAN-2004-1154 at:
       http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1154
     * Samba Security Announcement at:
       http://www.samba.org/samba/security/CAN-2004-1154.html

2. Contributing Factors

   This issue can occur in the following releases:

   SPARC Platform
     * Solaris 9 without patch 114684-05
     * Solaris 10 without patch 119757-01

   x86 Platform
     * Solaris 9 without patch 114685-05
     * Solaris 10 without patch 119758-01

   Note: Solaris 7 and Solaris 8 do not include the Samba software and
   are not affected by this issues. Sun does include Samba on the Solaris
   Companion CD for Solaris 8 as an unsupported package which installs to
   "/opt/sfw" and is vulnerable to this issue. Sites using the freeware
   version of Samba from the Solaris Companion CD will need to upgrade to
   a later version from Samba.org.

   This issue only occurs if all of the following conditions are true:
     * The system is configured as a Samba server
     * The version of Samba installed is 2.X through 3.0.9

   To determine if a system is configured as a Samba server, use the
   following command to check for the presence of the smb.conf(4) file:
    % ls -l /etc/sfw/smb.conf
    -rw-r--r--   1 root  other  11665 Sep 28 16:37 /etc/sfw/smb.conf

   If the output is similar to that shown above, the system is configured
   as a Samba server.

   To determine the version of Samba installed on a system, the following
   command can be run:
    % /usr/sfw/sbin/smbd -V
    Version  3.0.4

3. Symptoms

   Unsuccessful exploitation attempts may leave evidence of an attack in
   system logs. 

4. Relief/Workaround

   To work around the described issue, download and compile samba 3.0.10
   or higher from Samba.org

   Follow the security suggestions from the samba team at:
   http://www.samba.org/samba/docs/server_security.html.

5. Resolution

   This issue is addressed in the following releases:

   SPARC Platform
     * Solaris 9 with patch 114684-05 or later
     * Solaris 10 with patch 119757-01 or later

   x86 Platform
     * Solaris 9 with patch 114685-05 or later
     * Solaris 10 with patch 119757-01 or later

Change History

   13-Jun-2005:
     * Updated Product field
     * Updated Contributing Factors and Resolution sections

   17-Oct-2006:
     * State: Resolved
     * Updated Contributing Factors and Resolution sections

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

iQCVAwUBRTcbYyh9+71yA2DNAQKGjQQAhd5BUvkiaNBvSl61lGypQb9yeXWGsSbr
FNILEj5npDXj0/dtAib3YTDG4/TdMWfdFc+Mn9rYyr/gLZQEIAgT/wGnvwNA0Ykj
mxr9siiNGIavvDMq2xybvx91kgYa8A/nmVtmtewbF9hTiv+ur9WOqeL/bU16+k+e
olcrDbikbGU=
=q+m3
-----END PGP SIGNATURE-----