copyright | disclaimer | privacy | contact  
Australia's Leading Computer Emergency Response Team
 
Search this site

 
On this site

 > HOME
 > About AusCERT
 > Membership
 > Contact Us
 > PKI Services
 > Training
 > Publications
 > Sec. Bulletins
 > Conferences
 > News & Media
 > Services
 > Web Log
 > Site Map
 > Site Help
 > Member login





 

ESB-2010.0048 - [Solaris][OpenSolaris] xntpd: Denial of service - Remote/unauthenticated

Date: 15 January 2010
References: ESB-2009.1613  ESB-2013.0461.2  

Click here for printable version
Click here for PGP verifiable version
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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

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

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

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

Product:           xntpd
Publisher:         Sun Microsystems
Operating System:  Solaris 10
                   Solaris 9
                   Solaris 8
                   OpenSolaris
Impact/Access:     Denial of Service -- Remote/Unauthenticated
Resolution:        Mitigation
CVE Names:         CVE-2009-3563  

Reference:         ESB-2009.1613

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

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

Article ID : 275590
Article Type : Sun Alert
Last reviewed : 2010-01-13
Audience : PUBLIC
Keywords :

Copyright Notice: Copyright © 2009 Sun Microsystems, Inc. All Rights
Reserved

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 : Workaround
Bug Id : 6902029
Product : Solaris 8 Operating System
Solaris 9 Operating System
Solaris 10 Operating System
OpenSolaris
Date of Workaround Release : 13-Jan-2010

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

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: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-3563
 US-CERT Vulnerability Note VU#568372 at http://www.kb.cert.org/vuls/id/568372

2. Contributing Factors

This issue can occur in the following releases:
SPARC Platform
  * Solaris 8
  * Solaris 9
  * Solaris 10
  * OpenSolaris based upon builds snv_01 or later

x86 Platform
  * Solaris 8
  * Solaris 9
  * Solaris 10
  * OpenSolaris based upon builds snv_01 or later

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 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
Solaris 8 Vintage Patch Service.

See Note in section 5 for more details.

3. Symptoms

If this issue occurs, then the ntpd or xntpd 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 employed,
add the following line to the /etc/inet/ntp.conf file:

     restrict default noquery

And then restart the NTP 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 the NTP server from responding to any
mode 6 or mode 7 packets. These are the types of packets used by the ntpq,
ntpq4, xntpdc and ntpdc 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 like 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 defeat the workaround and again be vulnerable.

Interim Security Relief (ISR) is available from
http://sunsolve.sun.com/tpatches for the following releases:
SPARC Platform
  * Solaris 9 IDR143831-01
  * Solaris 10 IDR143833-01 (xntpd) and IDR143834-01 (ntpd)

x86 Platform
  * Solaris 9 IDR143832-01
  * Solaris 10 IDR143834-01 (xntpd) and IDR143836-01 (ntpd)

Interim Security Relief (ISR) is available via the normal support
channels for OpenSolaris.

Interim Security Relief (ISR) for the Solaris 8 OS is available via
normal support channels for customers who have purchased the Solaris 8
Vintage Patch Service (see Note in section 5).

Note: This document refers to one or more Interim Security Relief (ISRs)
which are designed to address the concerns identified herein. Sun has
limited experience with these (ISRs) due to their interim nature. As such,
you should only install the ISRs 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.

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

http://www.sun.com/service/eosl/Solaris8.html

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

iD8DBQFLUAT+NVH5XJJInbgRAlqcAKCH6MiNFS8S0dnSzj8SKtOgB2mnogCaA0h8
zC5eDW65/6hdCKdJWMmrD2c=
=X15u
-----END PGP SIGNATURE-----