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

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

                              ESB-2014.0046.2
   SSRT101419 rev.3 - HP-UX Running NTP, Remote Denial of Service (DoS)
                                26 May 2014

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

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

Product:          HP-UX
Publisher:        Hewlett-Packard
Operating System: HP-UX
                  UNIX variants (UNIX, Linux, OSX)
Impact/Access:    Denial of Service -- Remote/Unauthenticated
Resolution:       Patch/Upgrade
CVE Names:        CVE-2013-5211  

Revision History: May     26 2014: Expanded Supported Software Versions scope; added HP-UX B.11.23 and HP-UX B.11.31 XNTP workaround
                  January 14 2014: Initial Release

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

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

Note: the current version of the following document is available here:
https://h20564.www2.hp.com/portal/site/hpsc/public/kb/
docDisplay?docId=emr_na-c04084148

SUPPORT COMMUNICATION - SECURITY BULLETIN

Document ID: c04084148
Version: 3

HPSBUX02960 SSRT101419 rev.3 - HP-UX Running NTP, Remote Denial of Service
(DoS)

NOTICE: The information in this Security Bulletin should be acted upon as
soon as possible.

Release Date: 2014-01-13
Last Updated: 2014-05-23

Potential Security Impact: Remote Denial of Service (DoS)

Source: Hewlett-Packard Company, HP Software Security Response Team

VULNERABILITY SUMMARY
A potential security vulnerability has been identified with HP-UX running
NTP. The vulnerability could be exploited remotely to create a Denial of
Service (DoS).

References: CVE-2013-5211 (SSRT101419)

SUPPORTED SOFTWARE VERSIONS*: ONLY impacted versions are listed.
HP-UX B.11.31 running NTP v4.2.6 or XNTP v3.5
HP-UX B.11.23 running XNTP v3.5

BACKGROUND

CVSS 2.0 Base Metrics
===========================================================
  Reference              Base Vector             Base Score
CVE-2013-5211    (AV:N/AC:L/Au:N/C:N/I:N/A:P)       5.0
===========================================================
             Information on CVSS is documented
            in HP Customer Notice: HPSN-2008-002

RESOLUTION

HP has provided the following workaround to temporarily resolve this
vulnerability. This bulletin will be revised when a General Release patch for
HP-UX B.11.31 is available.
NOTE: No patches for XNTP v3.5 on HP-UX B.11.23 and HP-UX B.11.31 will be
made. Customers must disable "monlist" as follows.

MANUAL ACTIONS: Yes

To prevent the "monlist" DoS vulnerability, configure the following:

Verify that XNTP is installed, is running on your system, and verify the
NTPv4 version.

For example:

a. Verify XNTP is installed on the system:

ls -la /usr/sbin/xntpd

For NTP v4:

lr-xr--r-- 1 bin bin 14 Aug 9 2013 /usr/sbin/xntpd -> /usr/sbin/ntpd

For XNTP v3.5:

lr-xr--r-- 1 bin bin 741052 May 9 2013 /usr/sbin/xntpd -> /usr/sbin/ntpd

b. Check if the NTP process is running

ps -ef | grep ntp

For NTP v4:

root 124 1 0 06:46:18 ? 0:00 /usr/sbin/ntpd

For XNTP v3.5:

root 22248 1 0 06:25:28 ? 0:00 /usr/sbin/xntpd

c. Verify the NTP v4 version

/usr/sbin/ntpd --version

For NTP v4:

ntpd 4.2.6p5

For XNTP v3.5:

ntpd 4.2.6 Revision 0.0 Tue Nov 5 14:21:22 UTC 2012

Modify the ntp.conf on your time server and add either one of the two
following entries.

Entry Option #1

# Block all control queries from external systems, allows time services

restrict default noquery

# Allow local queries

restrict 127.0.0.1

Entry Option #2

# disable "monitor" queries. This will disable only

# monlist queries, even local.

disable monitor

Cycle the ntpd daemon (for NTP v4 and XNTP v3.5).

/sbin/init.d/ntpd stop
/sbin/init.d/ntpd start

Verification of the workaround.

Test on the local time server using the "ntpq -p" command.

Verify proper operation with output similar to:
remote refid st t when poll reach delay offset disp
======================================
*LOCAL(1) .LOCL. 6 l 13 16 377 0.000 0.000 0.233

On a remote time client, execute ntpdc or xntpdc as follows:
# ntpdc -c monlist server.name.with.restrict.or.disable
or
# xntpdc -c monlist server.name.with.restrict.or.disable
A timeout error should occur.
# xntpdc -c monlist xyz.hp.com
xyz.hp.com: timed out, nothing received
***Request timed out
#

HISTORY
Version:1 (rev.1) - 13 January 2014 Initial release
Version:2 (rev.2) - 15 January 2014 Added configuration options in workaround
Version:3 (rev.3) - 23 May 2014 Expanded Supported Software Versions scope;
added HP-UX B.11.23 and HP-UX B.11.31 XNTP workaround

Third Party Security Patches: Third party security patches that are to be
installed on systems running HP software products should be applied in
accordance with the customer's patch management policy.

Support: For issues about implementing the recommendations of this Security
Bulletin, contact normal HP Services support channel.  For other issues about
the content of this Security Bulletin, send e-mail to security-alert@hp.com.

Report: To report a potential security vulnerability with any HP supported
product, send Email to: security-alert@hp.com

Subscribe: To initiate a subscription to receive future HP Security Bulletin
alerts via Email:
http://h41183.www4.hp.com/signup_alerts.php?jumpid=hpsc_secbulletins

Security Bulletin Archive: A list of recently released Security Bulletins is
available here:
https://h20564.www2.hp.com/portal/site/hpsc/public/kb/secBullArchive/

Software Product Category: The Software Product Category is represented in
the title by the two characters following HPSB.

3C = 3COM
3P = 3rd Party Software
GN = HP General Software
HF = HP Hardware and Firmware
MP = MPE/iX
MU = Multi-Platform Software
NS = NonStop Servers
OV = OpenVMS
PI = Printing and Imaging
PV = ProCurve
ST = Storage Software
TU = Tru64 UNIX
UX = HP-UX

Copyright 2014 Hewlett-Packard Development Company, L.P.
Hewlett-Packard Company shall not be liable for technical or editorial errors
or omissions contained herein. The information provided is provided "as is"
without warranty of any kind. To the extent permitted by law, neither HP or
its affiliates, subcontractors or suppliers will be liable for
incidental,special or consequential damages including downtime cost; lost
profits; damages relating to the procurement of substitute products or
services; or damages for loss of data, or software restoration. The
information in this document is subject to change without notice.
Hewlett-Packard Company and the names of Hewlett-Packard products referenced
herein are trademarks of Hewlett-Packard Company in the United States and
other countries. Other product and company names mentioned herein may be
trademarks of their respective owners.

- -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.13 (GNU/Linux)

iEYEARECAAYFAlN/06oACgkQ4B86/C0qfVkwzACfT1iOY8mRDPc0c+RTE4M7Ma+r
G74AoIup4aq/jwy9Zp6HDIbOc+bxeoDl
=p6Pu
- -----END PGP SIGNATURE-----

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

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

iQIVAwUBU4LoYRLndAQH1ShLAQIJCBAAlrQIQczd+B2I7ZQLXtOwYUIO/dpwFNRW
AfCI38CgcMZ86dB0df+flTpng/v1IB5ahDnl/svF6TwaJ/nJnDmyDHp1w9J4ADaG
gxiClg2XZo5eF5Dl4gHGO+74QQZjVzrhaqbyDMY0VNefhNmHPeSMz6iHVrJpYSmx
qDTYoEmS77azpssDKWRkkxwN4Pu8VRa3X55kBkEpxpwYtztOFgnapO8srpIqS2Sh
j/3WBR59Q8yJHz8Ff4RmocCEcc4YCPXe0AzS+uJn3DUiVrw0+mQiqr9B7WpzaK9d
/QqH5+XFGaSmPx7jKdjJdMuFsPMvAIqfvAlaXVZk1rUV9z43Uy5N5coMQX6mwLhe
MCUJR2lzXBRD32qRx8VFrGYZTahyHEvUz4SuZP03+HZGTwIOZBwSOaUhBu52te5I
ZVNVBUpiVnsBIXkycS1IuibpW/b+h1YyS6mxoTkFNp+M/b93Iy9LOnvNJufuLL+X
DeZaC7GVdX+hxpB6kulMVlWkL8ThXkKMnohXH7ByA6lD3SyvhulJ05XtPOG7zzs9
T8gT0azQJvcyhGxq/dPITp+ZG89GdqeAZKUH4CwfqC6P1SJ5nQGtS+3f++L/rrq8
RuhYFRR9o5OV20MCAph0m0UZ75o25zbyGtCyfNgLhUT9UuORZ9ZcD7orZIMNWwx/
NstFjhwu4gk=
=AB6W
-----END PGP SIGNATURE-----