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

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

     ESB-2003.0829 -- Sun(sm) Alert Notification - Sun Alert ID: 27807
          PC Netlink's Access Control List Permissions May be Lost
                          After Restore of a Backup
                             03 December 2003

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

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

Product:                PC Netlink 1.x
Publisher:              Sun Microsystems
Impact:                 Reduced Security
                        Increased Privileges
Access Required:        Remote

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


   DOCUMENT ID: 27807
   SYNOPSIS: PC Netlink's Access Control List Permissions May be Lost
   After Restore of a Backup
   DETAIL DESCRIPTION:
   
Sun(sm) Alert Notification

     * Sun Alert ID: 27807
     * Synopsis: PC Netlink's Access Control List Permissions May be Lost
       After Restore of a Backup
     * Category: Security, Data Loss
     * Product: PC Netlink
     * BugIDs: None
     * Avoidance: Upgrade, Workaround
     * State: Resolved
     * Date Released: 07-Sep-2001
     * Date Closed: 01-Dec-2003
     * Date Modified: 01-Dec-2003
       
1. Impact

   Backing up and later restoring "PC Netlink" shared files or
   directories may cause PC Netlink Access Control List (ACL) information
   to get lost. As a result, access restrictions might get lost for files
   or directories accessed by PC clients through PC Netlink.
   
2. Contributing Factors

   This issue can occur in the following releases:
   
   SPARC
     * PC Netlink 1.x
       
   Intel
     * PC Netlink 1.x
       
   Only PC Netlink shared files and directories are affected that have
   been backed up and restored using VERITAS NetBackup, Legato NetWorker
   Server, Client, and Storage Node software, Solstice Backup, or other
   backup products that support the handling of PC Netlink ACLs on the
   server.
   
   Backup software that accesses files and directories through the PC
   Netlink shares (typically backup software running on PC Clients or PC
   Servers) is not affected by the described issue.
   
   The described issue only affects UNIX files and directories within a
   PC Netlink share that
     * are a symbolic link, or
     * lie one or more levels below a symbolically linked directory, or
     * lie on a share that itself is a symbolically linked directory.
       
   To check if a file or directory is a symbolic link, use the Solaris
   "ls -l" command (please see the "ls" man page for more details).
   
   To check if any PC Netlink shares itself are symbolically linked
   directories, use the "/opt/lanman/sbin/net share" command to list all
   PC Netlink shares:
    # /opt/lanman/sbin/net share

    Share name   Resource                        Remark
    --------------------------------------------------------------
    IPC$                                         IPC Share
    C$           C:\                             Root Share
    SCOTT$       C:\export\home\scott            Scott's Directory             
           

   then check each shared "Resource" for being a symbolically linked UNIX
   directory. Every "Resource" relates to a UNIX directory named after
   the "Resource", but without the starting "C:" and with all backslashes
   ("\") replaced by slashes ("/"), e.g. "C:\export\home\scott" relates
   to the UNIX directory "/export/home/scott", which may or may not be a
   symbolic link.
   
3. Symptoms

   After restore operations, PC Netlink ACL permissions of files or
   directories are lost (i.e. are set to the default permissions).
   
   ACL permissions may be checked on the PC Clients or by using the
   "/opt/lanman/sbin/lsacl" command on the PC Netlink server.
   SOLUTION SUMMARY:
   
4. Relief/Workaround

   As a possible workaround, should a PC Netlink shared file or directory
   be a symbolic link, always backup and later restore it together with
   the file or directory that the symbolic link points to (please check
   your backup product's documentation for more information).
   
   Also, a full backup and later restore of all PC Netlink shared files,
   including symbolic links and the files or directories the symbolic
   links point to, together with the ACL database (held in
   "/var/opt/lanman/datafiles"), will not encounter the described issue.
   
   Using backup software that accesses files and directories through the
   PC Netlink shares (typically backup software running on PC Clients or
   PC Servers) will also avoid the described issue.
   
   Alternatively, do not use symbolically linked files or directories
   within PC Netlink shares to avoid the described issue.
   
   Should permissions have been lost due to the described issue, they
   need to be restored either
     * by directly restoring the complete ACL database (held in
       "/var/opt/lanman/datafiles") on the PC Netlink server from a
       backup copy, or
     * by manually readjusting permissions using the "net perms" and
       "chacl" commands (please see the PC Netlink documentation for more
       details)
       
5. Resolution

   This issue is addressed in PC Netlink 2.x (available at
   [1]http://www.sun.com/solutions/interoperability/netlink/).
   
Change History

   01-Dec-2003:
     * Updates "Resolution" section
     * State: Resolved
       
   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. 
   

References

   1. http://www.sun.com/solutions/interoperability/netlink/



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

iQCVAwUBP81DzCh9+71yA2DNAQH7lAQAlEqGGxpRKcQxfxQDXZ6xWSfkUAkwJUf6
k32fJWJ7JM+nYReNP/tudHCHPNvmvQeFptUlvc8AA9rOO9+9M0bNRQ/ZIhY3jf1Z
vWRuclLoFiSAkV1QVrX8iQgx16TfdNmcEi69WPAZz6gSJ73L2KC3GIfuU3Az7YZE
Gd2Sr7ktYZ4=
=TgS7
-----END PGP SIGNATURE-----