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

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

               ESB-2004.0749 -- Sun Alert Notification 57675
                    Security Vulnerability in ping(1M)
                              2 December 2004

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

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

Product:           ping
Publisher:         Sun Microsystems
Operating System:  Solaris
Platform:          IA-32
                   SPARC
Impact:            Increased Privileges
Access:            Existing Account

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

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

   Sun(sm) Alert Notification 
     * Sun Alert ID: 57675
     * Synopsis: Security Vulnerability in ping(1M)
     * Category: Security
     * Product: Solaris
     * BugIDs: 4807715
     * Avoidance: Patch
     * State: Resolved
     * Date Released: 30-Nov-2004
     * Date Closed: 30-Nov-2004
     * Date Modified:

   1. Impact There is a potential buffer overflow in ping(1M) which could
   result in a local unprivileged user gaining elevated privileges.

   2. Contributing Factors This issue can occur in the following
   releases:

   SPARC Platform

     * Solaris 7 without patch [2]118313-01
     * Solaris 8 without patch [3]116986-02
     * Solaris 9 without patch [4]116774-03

   x86 Platform

     * Solaris 7 without patch [5]118314-01
     * Solaris 8 without patch [6]116987-02
     * Solaris 9 without patch [7]116775-03

   3. Symptoms There are no predictable symptoms that would show the
   described issue has been exploited.

   Solution Summary

   4. Relief/Workaround To reduce the chances of the described issue from
   occurring, apply one of the following workarounds:

   1. Remove the "set-user-ID" bit from the ping(1M) binary by issuing
   the following command:

    # chmod u-s /usr/sbin/ping

   Note: Removing the "set-user-ID" bit from the ping(1M) utility will
   prevent unprivileged users from using the ping(1M) command.

   2. Enable non-executable program stacks by adding the following lines
   to the "/etc/system" file and reboot the system:

    set noexec_user_stack = 1
    set noexec_user_stack_log = 1

   The above tunable parameters are described in the Solaris Tunable
   Parameters Reference Manual at: [9]http://docs.sun.com.

   Note: Although enabling non-executable user stacks makes the
   likelihood of a successful exploit much smaller, it does not provide
   100 percent against exploitation of this vulnerability.

   This workaround is only effective on sun4u, sun4m, and sun4d
   architectures (enter "uname -m" to display a systems architecture).
   This workaround will not work on x86 platforms.

   5. Resolution This issue is addressed in the following releases:

   SPARC Platform

     * Solaris 7 with patch [10]118313-01 or later
     * Solaris 8 with patch [11]116986-02 or later
     * Solaris 9 with patch [12]116774-03 or later

   x86 Platform

     * Solaris 7 with patch [13]118314-01 or later
     * Solaris 8 with patch [14]116987-02 or later
     * Solaris 9 with patch [15]116775-03 or later

   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/search/printfriendly.do?assetkey=1-26-57675-1#top
   2. http://sunsolve.sun.com/search/document.do?assetkey=urn:cds:docid:1-21-118313-01-1
   3. http://sunsolve.sun.com/search/document.do?assetkey=urn:cds:docid:1-21-116986-02-1
   4. http://sunsolve.sun.com/search/document.do?assetkey=urn:cds:docid:1-21-116774-03-1
   5. http://sunsolve.sun.com/search/document.do?assetkey=urn:cds:docid:1-21-118314-01-1
   6. http://sunsolve.sun.com/search/document.do?assetkey=urn:cds:docid:1-21-116987-02-1
   7. http://sunsolve.sun.com/search/document.do?assetkey=urn:cds:docid:1-21-116775-03-1
   8. http://sunsolve.sun.com/search/printfriendly.do?assetkey=1-26-57675-1#top
   9. http://docs.sun.com/
  10. http://sunsolve.sun.com/search/document.do?assetkey=urn:cds:docid:1-21-118313-01-1
  11. http://sunsolve.sun.com/search/document.do?assetkey=urn:cds:docid:1-21-116986-02-1
  12. http://sunsolve.sun.com/search/document.do?assetkey=urn:cds:docid:1-21-116774-03-1
  13. http://sunsolve.sun.com/search/document.do?assetkey=urn:cds:docid:1-21-118314-01-1
  14. http://sunsolve.sun.com/search/document.do?assetkey=urn:cds:docid:1-21-116987-02-1
  15. http://sunsolve.sun.com/search/document.do?assetkey=urn:cds:docid:1-21-116775-03-1

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

iQCVAwUBQa6SwCh9+71yA2DNAQJT0AP+MUz+7xbr1V5CP5Ic1B7uKBxrmqsEAayL
buX4rcTZ1KkMVk2oIzcJgzrBQR/neD65tmwiuumfkGzngpd6c3O6pCSTgt1YqKfN
SJzONJBX7yONtnV69+9nubo93kZNDwlqPrsxtZYWl0vqUq8t+Zx6914SefoGs/QH
maIaXGNi8Tk=
=Pp7/
-----END PGP SIGNATURE-----