Operating System:

Published:

09 April 2001

Protect yourself against future threats.

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

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

       ESB-2001.140 -- HP Support Information Digest HPSBUX0104-148
                      Sec. Vulnerability in xntpd(1M)
                               10 April 2001

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

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

Product:                ntp
Vendor:                 Hewlett-Packard
Operating System:       HP-UX 10.XX
                        HP-UX 11.XX
Platform:               HP9000 Series 700
                        HP9000 Series 800
Impact:                 Denial of Service
                        Increased Privileges
Access Required:        Remote

Ref:                    ESB-2001.138
                        ESB-2001.139

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

Document ID:  HPSBUX0104-148
Date Loaded:  20010407
      Title:  Sec. Vulnerability in xntpd(1M)

- -------------------------------------------------------------------------
    HEWLETT-PACKARD COMPANY SECURITY ADVISORY: #0148, 06 Apr. '01
- -------------------------------------------------------------------------

The information in the following Security Advisory should be acted upon
as soon as possible.  Hewlett-Packard Company will not be liable for any
consequences to any customer resulting from customer's failure to fully
implement instructions in this Security Advisory as soon as possible.

- -------------------------------------------------------------------------
PROBLEM:  The HP-UX NTP daemon contains an exploitable vulnerability.

PLATFORM: HP9000 Series 700/800 running HP-UX releases 10.XX and 11.XX.

DAMAGE:   Possible denial of service, increase of priviledge.

SOLUTION: Install the workaround configuration detailed below.

AVAILABILITY: Patches are currently being developed, whereupon this
              advisory will be upgraded to a bulletin.
- -------------------------------------------------------------------------
I.
   A. Background
      A buffer overflow has been discovered on various Unix-derived
      operating systems in its NTP daemon.  Hewlett-Packard Company
      ships xntpd on HP-UX releases and has determined that it too,
      is vulnerable.

   B. Recommended solution
      Hewlett-Packard Company recommends that xntpd be shut down
      on all systems not absolutely needing time-of-day synchronization
      with Internet standard time servers.

      On those remaining time-sensitive systems modify the default
      configuration file (/etc/ntp.conf) to use the "restrict" clause,
      to restrict all but allow some.

      We provide an example of a simple configuration.  Please refer
      to the man (1M) xntpd for further configuration details.

        # This server syncs from server 192.255.2.3 and provides
        # time services to client 192.27.16.30,  yet
        # blocks all others.

        server 192.255.2.3 prefer
        server 127.127.1.1

        # allow this client full access
        restrict 192.27.16.30

        # allow this server full access
        restrict 192.255.2.3

        # you need both of the following for the localhost
        restrict 127.0.0.1
        restrict 127.127.1.1

        # block everything else
        restrict default ignore

      NOTE:  Patches are currently in development.


   C. To subscribe to automatically receive future NEW HP Security
      Bulletins from the HP IT Resource Center via electronic mail,
      do the following:

      Use your browser to get to the HP IT Resource Center page
      at:

       http://itrc.hp.com

      Under the Maintenance and Support Menu (Electronic Support
      Center):  click on the "more..." link.  Then -

      Use the 'Login' tab at the left side of the screen to login
      using your ID and password.  Check with your system
      administrator to see if you have an existing login or use
      the "Register" button at the left to create a login.  You
      will need to login in order to gain access to many areas of
      the ITRC. Remember to save the User ID assigned to you, and
      your password.

      Under the Maintenance and Support Menu, click on the "more..."
      link.  Under the "Notifications" section (near the bottom of
      the page), select "Support Information Digests".

      To -subscribe- to future HP Security Bulletins or other
      Technical Digests, click the check box (in the left column)
      for the appropriate digest and then click the "Update
      Subscriptions" button at the bottom of the page.

      or

      To -review- bulletins already released, select the link
      (in the middle column) for the appropriate digest.

      To -gain access- to the Security Patch Matrix, select
      the link for "hp security bulletins archive" near the bottom.
      Once in the archive the top link is to our current Security
      Patch Matrix.  Updated daily, this matrix categorizes security
      patches by platform/OS release, and by bulletin topic.

      The security patch matrix is also available via anonymous ftp:

      ftp.itrc.hp.com
      ~ftp/export/patches/hp-ux_patch_matrix"

      On the "Support Information Digest Main" page:
      click on the "HP Security Bulletin Archive".

   D. To report new security vulnerabilities, send email to

      security-alert@hp.com

      Please encrypt any exploit information using the security-alert
      PGP key, available from your local key server, or by sending a
      message with a -subject- (not body) of 'get key' (no quotes) to
      security-alert@hp.com.

      Permission is granted for copying and circulating this Advisory
      to Hewlett-Packard (HP) customers (or the Internet community)
      for the purpose of alerting them to problems, if and only if,
      the Advisory is not edited or changed in any way, is attributed
      to HP, and provided such reproduction and/or distribution is
      performed for non-commercial purposes.

      Any other use of this information is prohibited. HP is not
      liable for any misuse of this information by any third party.
________________________________________________________________________
- -----End of Document ID:  HPSBUX0104-148--------------------------------------

- --------------------------END INCLUDED TEXT--------------------

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 use any or all of this information is
the responsibility of each user or organisation, and should be done so in
accordance with site policies and procedures.

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 original authors 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/Information/advisories.html

If you believe that your system has been compromised, contact AusCERT or
your representative in FIRST (Forum of Incident Response and Security
Teams).

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

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Charset: noconv
Comment: ftp://ftp.auscert.org.au/pub/auscert/AUSCERT_PGP.key

iQCVAwUBOtLcMCh9+71yA2DNAQHs3wP/dHIab5/TFhpsI13NaqGUfeu3Fi1pNAdg
zl0n+Q5v4MzJYgnzXcXWlDgnQsSWGzvRdKRiNaGwoQ0aVnx+QZsjytk59twyuB0m
u8UieZj8STDhf1Aj889Pd9UprAVSvuYMRN90Bnfsfkhw1Ri0g85iyaTQIOr6QrGb
apB+2bmMQEY=
=gSYk
-----END PGP SIGNATURE-----