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

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

                              ESB-2010.0190.2
A Security Vulnerability in the ntp Daemon (xntpd(1M)) May Lead to a Denial
             of the Solaris Network Time Protocol(NTP) Service
                                2 July 2010

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

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

Product:           xntpd(1M)
Publisher:         Sun Microsystems
Operating System:  Solaris 8 Operating System
                   Solaris 9 Operating System
                   Solaris 10 Operating System
                   OpenSolaris
Impact/Access:     Denial of Service -- Remote/Unauthenticated
Resolution:        Patch/Upgrade
CVE Names:         CVE-2009-3563  

Reference:         ESB-2009.1613

Original Bulletin: 
   http://sunsolve.sun.com/search/document.do?assetkey=1-66-275590-1

Revision History:  July      2 2010: Patches have been released resolving
                                     this issue
                   February 24 2010: Initial Release

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

   Article ID : 1021781.1
   Article Type : Sun Alerts (SURE)
   Last reviewed : 2010-06-30
   Audience : PUBLIC
   Copyright Notice: Copyright © 2010, Oracle Corporation and/or its
   affiliates.
   
   A Security Vulnerability in the ntp Daemon (xntpd(1M)) May Lead to a
   Denial of the Solaris Network Time Protocol (NTP) Service
     _________________________________________________________________

   Category: Security
   Release Phase: Resolved
   Bug Id: SUNBUG: 6902029
   Product: Solaris 8 Operating System
   Solaris 9 Operating System
   Solaris 10 Operating System
   OpenSolaris
   Date of Workaround Release: 13-Jan-2010
   Date of Resolved Release: 30-Jun-2010

   1. Impact

   A security vulnerability in the ntp Daemon (xntpd(1M)) associated with
   the handling of NTP mode 7 (MODE_PRIVATE), may lead to consumption of
   CPU and excessive logging, resulting in a denial of the Solaris
   Network Time Protocol (NTP) service.
   This issue is also described in the following documents:
   CVE-2009-3563 at:
   [1]http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-3563
   US-CERT Vulnerability Note VU#568372 at
   [2]http://www.kb.cert.org/vuls/id/568372

   2. Contributing Factors

   This issue can occur in the following releases:
   SPARC Platform
     * Solaris 8 without patch [3]109667-08
     * Solaris 9 without patch [4]117143-02
     * Solaris 10 xntpd (SUNWntpu) without patch [5]127724-02
     * Solaris 10 ntpd (SUNWntp4u) without patch [6]143725-01
     * OpenSolaris based upon builds snv_01 through snv_132

   x86 Platform
     * Solaris 8 without patch [7]109668-08
     * Solaris 9 without patch [8]117144-02
     * Solaris 10 xntpd (SUNWntpu) without patch 127725-02
     * Solaris 10 ntpd (SUNWntp4u) without patch [9]143726-01
     * OpenSolaris based upon builds snv_01 through snv_132

   Note: Only systems running as an NTP server are impacted by this
   issue. To determine if a system is acting as an NTP server, execute
   the following command:
 $ netstat -an | grep 123
 *.123 Idle
 127.0.0.1.123 Idle

   If the output of the command contains the above two lines, then the
   system is running as an NTP server.

   Note: OpenSolaris distributions may include additional bug fixes above
   and beyond the build from which it was derived.  The base build can be
   derived as follows:
 $ uname -v
 snv_101

   Note: Solaris 8 entered EOSL Phase 2 on 1 April 2009. Entitlement to
   patches developed on or after 1 April 2009 requires the purchase of
   the [10]Solaris 8 Vintage Patch Service. See Note in section 5 for
   more details.

   3. Symptoms

   If this issue occurs, then the ntpd(1M) or xntpd(1M) process will use
   an abnormal amount of system cycles. Also, an excessive number of MODE
   7 NTP packets will be seen on the network.

   4. Workaround

   To avoid being vulnerable to this issue until patches can be
   installed, add the following line to the '/etc/inet/ntp.conf' file if
   you are using xntpd(1M):
 restrict default noquery

   And then restart the xntpd process. If you are using ntpd rather than
   xntpd, please add the following two lines:
 restrict default noquery
 restrict :: noquery

   And then restart the ntpd process.
For OpenSolaris and Solaris 10 prior to Update 8, do the following:
 $ svcadm restart svc:/network/ntp:default 
For Solaris 10 update 8 and later, do the following:
 $ svcs -a | grep ntp

   The above command will show one NTP service enabled. Use the FMRI from
   the enabled service to restart. This will be either
   svc:/network/ntp:default or svc:/network/ntp4:default
 $ svcadm restart svc:/network/ntp:default
or
 $ svcadm restart svc:/network/ntp4:default
For Solaris 9 and earlier, do the following:
 $ cd /etc/init.d
 $ sh xntpd stop
 $ sh xntpd start

   This workaround will prevent the NTP server from responding to any
   mode 6 or mode 7 packets. These are the types of packets used by the
   ntpq(1M), ntpq4(1M), ntptrace4(1M), xntpdc(1M) and ntpdc(1M) programs,
   so these programs will no longer be able to contact the NTP server.

   You can allow these programs to work from individual systems by adding
   a restrict line to the ntp.conf file that allows that system again.
   Using its IP address, add a line similar to this:
 restrict <ip-addr-of-system>

   Then restart the NTP service as described above.

   Be aware that if the system you are allowing is itself an NTP server,
   you will disable the workaround and again be vulnerable.

   5. Resolution

   This issue is addressed in the following releases:
   SPARC Platform
     * Solaris 8 with patch [11]109667-08 or later
     * Solaris 9 with patch [12]117143-02  or later
     * Solaris 10 xntpd (SUNWntpu) with patch [13]127724-02 or later
     * Solaris 10 ntpd (SUNWntp4u) with patch [14]143725-01 or later
     * OpenSolaris based upon builds snv_133 or later

   x86 Platform
     * Solaris 8 with patch [15]109668-08 or later
     * Solaris 9 with patch [16]117144-02 or later
     * Solaris 10 xntp (SUNWntpu) with patch [17]127725-02 or later
     * Solaris 10 ntpd (SUNWntp4u) with patch [18]143726-01 or later
     * OpenSolaris based upon builds snv_133 or later

   Notes: The package SUNWntp4u was first shipped in Solaris 10 10/09.

   The READMEs of Solaris 8 patches developed on or after 1 April 2009
   are available to all customers. However, Solaris 8 entered EOSL Phase
   2 on April 1, 2009, and thus entitlement for these patches, including
   those that fix security vulnerabilities, requires the purchase of the
   Solaris 8 Vintage Patch Service. More information about the Solaris 8
   Vintage Patch Service is available at:

   [19]http://www.sun.com/service/eosl/Solaris8.html
   Modification History
   08-Feb-2010: Updated Workaround section.
   16-Feb-2010: Updated Contributing Factors and Resolution sections
   10-Mar-2010: Updated Contributing Factors, Workaround and Resolution
   sections.
   17-Mar-2010: Updated Contributing Factors, Workaround and Resolution
   sections.
   12-Apr-2010: Updated Contributing Factors, Workaround and Resolution
   sections.
   30-Jun-2010: Updated Contributing Factors, Resolution sections for
   patch release, now Resolved.

   References

   SUNPATCH [20]143725-01
   SUNPATCH [21]143726-01
   SUNPATCH [22]117143-02
   SUNPATCH [23]117144-02
   SUNPATCH [24]127724-02
   SUNPATCH [25]127725-02
   SUNPATCH [26]109667-08
   SUNPATCH [27]109668-08
   SUNBUG 6902029
   [28]109667-08, [29]109668-08

   Attachments

   This solution has no attachment

   [30]About Oracle | [31]Oracle and Sun | [32]Oracle RSS Feeds |
   [33]Subscribe | [34]Careers | [35]Contact Us | [36]Site Maps |
   [37]Legal Notices | [38]Terms of Use | [39]SunSolve Terms of Use |
   [40]Your Privacy Rights | Copyright © 2010, Oracle Corporation and/or
   its affiliates | SunSolve Version 7.5.1 (build #1)

   References

   1. http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-3563
   2. http://www.kb.cert.org/vuls/id/568372
   3. http://sunsolve.sun.com/search/document.do?assetkey=urn:cds:docid:1-21-109667-08-1
   4. http://sunsolve.sun.com/search/document.do?assetkey=urn:cds:docid:1-21-117143-02-1
   5. http://sunsolve.sun.com/search/document.do?assetkey=urn:cds:docid:1-21-127724-02-1
   6. http://sunsolve.sun.com/search/document.do?assetkey=urn:cds:docid:1-21-143725-01-1
   7. http://sunsolve.sun.com/search/document.do?assetkey=urn:cds:docid:1-21-109668-08-1
   8. http://sunsolve.sun.com/search/document.do?assetkey=urn:cds:docid:1-21-117144-02-1
   9. http://sunsolve.sun.com/search/document.do?assetkey=urn:cds:docid:1-21-143726-01-1
  10. http://www.sun.com/service/eosl/Solaris8.html
  11. http://sunsolve.sun.com/search/document.do?assetkey=urn:cds:docid:1-21-109667-08-1
  12. http://sunsolve.sun.com/search/document.do?assetkey=urn:cds:docid:1-21-117143-02-1
  13. http://sunsolve.sun.com/search/document.do?assetkey=urn:cds:docid:1-21-127724-02-1
  14. http://sunsolve.sun.com/search/document.do?assetkey=urn:cds:docid:1-21-143725-01-1
  15. http://sunsolve.sun.com/search/document.do?assetkey=urn:cds:docid:1-21-109668-08-1
  16. http://sunsolve.sun.com/search/document.do?assetkey=urn:cds:docid:1-21-117144-02-1
  17. http://sunsolve.sun.com/search/document.do?assetkey=urn:cds:docid:1-21-127725-02-1
  18. http://sunsolve.sun.com/search/document.do?assetkey=urn:cds:docid:1-21-143726-01-1
  19. http://www.sun.com/service/eosl/Solaris8.html
  20. http://sunsolve.sun.com/search/document.do?assetkey=urn:cds:docid:1-21-143725-01-1
  21. http://sunsolve.sun.com/search/document.do?assetkey=urn:cds:docid:1-21-143726-01-1
  22. http://sunsolve.sun.com/search/document.do?assetkey=urn:cds:docid:1-21-117143-02-1
  23. http://sunsolve.sun.com/search/document.do?assetkey=urn:cds:docid:1-21-117144-02-1
  24. http://sunsolve.sun.com/search/document.do?assetkey=urn:cds:docid:1-21-127724-02-1
  25. http://sunsolve.sun.com/search/document.do?assetkey=urn:cds:docid:1-21-127725-02-1
  26. http://sunsolve.sun.com/search/document.do?assetkey=urn:cds:docid:1-21-109667-08-1
  27. http://sunsolve.sun.com/search/document.do?assetkey=urn:cds:docid:1-21-109668-08-1
  28. http://sunsolve.sun.com/search/document.do?assetkey=urn:cds:docid:1-21-109667-08-1
  29. http://sunsolve.sun.com/search/document.do?assetkey=urn:cds:docid:1-21-109668-08-1
  30. http://www.oracle.com/us/corporate/index.htm
  31. http://www.oracle.com/sun/index.html
  32. http://www.oracle.com/rss/index.html
  33. http://www.oracle.com/subscribe/index.html
  34. http://www.oracle.com/corporate/employment/index.html
  35. http://www.sun.com/contact/support.jsp
  36. http://www.oracle.com/sitemaps/sitemaps.html
  37. http://www.oracle.com/html/copyright.html
  38. http://www.oracle.com/html/terms.html
  39. file://localhost/sunsolveTermsOfUse.do
  40. http://www.oracle.com/html/privacy.html

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

iD8DBQFMLV3q/iFOrG6YcBERAp77AKCAOU+i7jjrH5hykgLBJhxzir2PVQCgvtH5
i6c06dY2iPj4I5mzN8QLZgE=
=xx2g
-----END PGP SIGNATURE-----