Home    |    View Topics    |    Search    |    Contact Us    |   



Category:   Application (Generic)  >   ntp Vendors:
(HP Issues Fix for HP-UX) NTP Buffer Overflows Let Remote Users Execute Arbitrary Code
SecurityTracker Alert ID:  1031788
SecurityTracker URL:
CVE Reference:   CVE-2014-9295   (Links to External Site)
Date:  Feb 24 2015
Impact:   Execution of arbitrary code via network, User access via network
Fix Available:  Yes  Vendor Confirmed:  Yes  
Version(s): prior to 4.2.8
Description:   Several vulnerabilities were reported in NTP. A remote user can execute arbitrary code on the target system.

A remote user can send specially crafted data to trigger a buffer overflow and execute arbitrary code on the target system. The code will run with the privileges of the target ntpd process.

A buffer overflow may occur in crypto_recv() when Autokey Authentication is enabled.

A buffer overflow may occur in ctl_putdata().

A buffer overflow may occur in configure().

Stephen Roettger of the Google Security Team reported these vulnerabilities.

Impact:   A remote user can execute arbitrary code on the target system with the privileges of the ntpd process.
Solution:   HP has issued a fix for HP-UX.

The HP advisory is available at:

Vendor URL: (Links to External Site)
Cause:   Boundary error
Underlying OS:  UNIX (HP/UX)
Underlying OS Comments:  11.23, 11.31

Message History:   This archive entry is a follow-up to the message listed below.
Dec 20 2014 NTP Buffer Overflows Let Remote Users Execute Arbitrary Code

 Source Message Contents

Subject:  [security bulletin] HPSBUX03240 SSRT101872 rev.1 - HP-UX Running NTP, Remote Execution of Code, Denial of Service (DoS), or Other Vulnerabilties

Hash: SHA1

Note: the current version of the following document is available here:


Document ID: c04554677
Version: 1

HPSBUX03240 SSRT101872 rev.1 - HP-UX Running NTP, Remote Execution of Code,
Denial of Service (DoS), or Other Vulnerabilties

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

Release Date: 2015-02-18
Last Updated: 2015-02-18

Potential Security Impact: Remote execution of code, Denial of Service (DoS),
or other vulnerabilities

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

Potential security vulnerabilities have been identified with HP-UX running
NTP. These could be exploited remotely to execute code, create a Denial of
Service (DoS), or other vulnerabilities.


CVE-2014-9293 - Insufficient Entropy in Pseudo-Random Number Generator (PRNG)
CVE-2014-9294 - Use of Cryptographically Weak PRNG (CWE-338)
CVE-2014-9295 - Stack Buffer Overflow (CWE-121)
CVE-2014-9296 - Error Conditions, Return Values, Status Codes (CWE-389)
CVE-2014-9297 - Improper Check for Unusual or Exceptional Conditions

SUPPORTED SOFTWARE VERSIONS*: ONLY impacted versions are listed.

HP-UX B.11.31 running NTP version C. or previous
HP-UX B.11.23 running XNTP version 3.5 or previous


CVSS 2.0 Base Metrics
  Reference              Base Vector             Base Score
CVE-2014-9293    (AV:N/AC:L/Au:N/C:P/I:P/A:P)       7.5
CVE-2014-9294    (AV:N/AC:L/Au:N/C:P/I:P/A:P)       7.5
CVE-2014-9295    (AV:N/AC:L/Au:N/C:P/I:P/A:P)       7.5
CVE-2014-9296    (AV:N/AC:L/Au:N/C:N/I:N/A:P)       5.0
CVE-2014-9297    (AV:N/AC:H/Au:N/C:P/I:N/A:N)       2.6
             Information on CVSS is documented
            in HP Customer Notice: HPSN-2008-002


HP has provided the following patch for HP-UX B.11.31. A workaround for HP-UX
B.11.23 and B.11.11 to temporarily resolve these vulnerabilities follows

The B.11.31 patch is available from: or

Mitigation steps for HP-UX B.11.23 and B.11.11 for CVE-2014-9295

Restrict query for server status (Time Service is not affected) from
ntpq/ntpdc by enabling .noquery. using the restrict command in /etc/ntp.conf


NOTE: This bulletin will be revised when patches for XNTP v3.5 on B.11.23 and
B.11.11 become available.



HP-UX Software Assistant: HP-UX Software Assistant is an enhanced application
that replaces HP-UX Security Patch Check. It analyzes all Security Bulletins
issued by HP and lists recommended actions that may apply to a specific HP-UX
system. It can also download patches and create a depot automatically. For
more information see:

The following text is for use by the HP-UX Software Assistant.


HP-UX B.11.31
action: install revision C. or subsequent


Version:1 (rev.1) - 18 February 2015 Initial release

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

Report: To report a potential security vulnerability with any HP supported
product, send Email to:

Subscribe: To initiate a subscription to receive future HP Security Bulletin
alerts via Email:

Security Bulletin Archive: A list of recently released Security Bulletins is
available here:

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
MU = Multi-Platform Software
NS = NonStop Servers
OV = OpenVMS
PI = Printing and Imaging
PV = ProCurve
ST = Storage Software
TU = Tru64 UNIX

Copyright 2015 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.

Version: GnuPG v1.4.13 (GNU/Linux)


Go to the Top of This SecurityTracker Archive Page

Home   |    View Topics   |    Search   |    Contact Us

This web site uses cookies for web analytics. Learn More

Copyright 2020, LLC