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

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

       ESB-2004.0325 -- Sun Alert Notification - Sun Alert ID: 57554
Solaris 9 Patches WITHDRAWN - Security Vulnerability With ypserv and ypxfrd
                                05 May 2004

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

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

Product:                ypserv
                        ypxfrd
Publisher:              Sun Microsystems
Operating System:       Solaris 9
Platform:               IA-32
                        SPARC
Impact:                 Access Confidential Data
Access Required:        Remote

Original Bulletin:

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

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

   DOCUMENT ID: 57554
   SYNOPSIS: Solaris 9 Patches WITHDRAWN - Security Vulnerability With
   ypserv(1M) and ypxfrd(1M)
   DETAIL DESCRIPTION:
   
Sun(sm) Alert Notification

     * Sun Alert ID: 57554
     * Synopsis: Solaris 9 Patches WITHDRAWN - Security Vulnerability
       With ypserv(1M) and ypxfrd(1M)
     * Category: Security
     * Product: Solaris
     * BugIDs: 5022150
     * Avoidance: Workaround, T-Patch
     * State: Committed
     * Date Released: 30-Apr-2004
     * Date Closed:
     * Date Modified:
       
1. Impact

   Solaris 9 systems running as NIS servers containing secure maps and
   with patches 113579-02 through 113579-05 (for SPARC) or 114342-02
   through 114342-05 (for x86) installed may allow local or remote
   unprivileged users (in an NIS environment) access to secure map
   information. Secure maps such as "passwd.adjunct.byname" are typically
   used to store encrypted passwords and other sensitive information and
   are not viewable to unprivileged users.
   
   Patches 113579-02 through 113579-05 and 114342-02 through 114342-05
   have been WITHDRAWN and are no longer available on SunSolve.
   
2. Contributing Factors

   This issue can occur in the following releases:
   
   SPARC Platform
     * Solaris 9 with patches 113579-02 through 113579-05
       
   x86 Platform
     * Solaris 9 with patches 114342-02 through 114342-05
       
   Note: Solaris 7 and 8 are not affected by this issue.
   
   This issue only affects NIS servers containing secure maps. NIS secure
   maps are stored on the server as dbm(3UCB) files with YP_SECURE as one
   of the keys in the database. Standard default secure maps (if they
   exist on the server) would be:
    audit_user
    group.adjunct.byname
    passwd.adjunct.byname                        

   The following script when run as "root" can help in finding secure
   maps that may be present:
    #!/bin/bash
    for i in `ls -1 /var/yp/*/*.pag | sed -e s/\.pag//`
    do
           makedbm -u $i | grep YP_SECURE 2>&1 > /dev/null;
           if [ $? -eq 0 ]; then   
               echo $i is a secure map
           fi
    done                        

3. Symptoms

   Unprivileged local or remote users may be able to view secure maps
   using commands such as ypmatch(1) or ypcat(1). For example, if
   "audit_user" is configured to be a secure map on the NIS server, then
   the following command can be run by any user on an NIS client system:
    $ ypcat audit_user                  

   to determine the contents of the map, which is typically visible only
   to the "root" user.
   SOLUTION SUMMARY:
   
4. Relief/Workaround

   To work around the described issue, back out patches 113579-02 through
   113579-05 (for SPARC) or 114342-02 through 114342-05 (for x86). After
   backing out the patches, NIS services must be stopped and restarted
   using the following commands:
    # /usr/lib/netsvc/yp/ypstop
    # /usr/lib/netsvc/yp/ypstart                        

   Note: Systems installed with Solaris 9 Update 12/03 and 4/04 cannot
   back out the affected patches.
   
   Preliminary T-patches are available from
   [1]http://sunsolve.sun.com/tpatches for the following releases:
   
   SPARC Platform
     * Solaris 9 T-Patch T113579-06
       
   x86 Platform
     * Solaris 9 T-Patch T114342-06
       
   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

   A final resolution is pending completion.
   
   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-2004 Sun Microsystems, Inc., 4150 Network Circle, Santa
   Clara, CA 95054 U.S.A. All rights reserved.
   

References

   1. http://sunsolve.sun.com/tpatches

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

iQCVAwUBQJg/mSh9+71yA2DNAQK+4QP+OcW+eWYTfk4J0r7A7KTPeuIM/NKhjIH6
2SVnccrVDzJzbt+8LcwWs6N5Odsrb8fc5LOONa9XskGO0eDxd0o+q9X3bVqcYQhQ
xSjlh4lyZ3UZGE2Z1dkyFle8A1kPhM3/wIEO6R68DeSpyedlaMhDQLaoCRsPPkTj
PA29VgIxoSM=
=HqdV
-----END PGP SIGNATURE-----