Sign Up for Your FREE Weekly SecurityTracker E-mail Alert Summary
|
|
|
|
|
|
|
Put SecurityTracker Vulnerability Alerts on Your Web Site -- It's Free!
|
|
|
|
Become a Partner and License Our Database or Notification Service
|
|
|
|
|
|
|
|
|
|
|
|
|
(HP Releases Fix) Re: The Network Time Protocol Daemon (ntpd) Allows Remote Users to Execute Arbitrary Code on the Server - Typically to Gain Root Privileges on the Server
|
|
SecurityTracker Alert ID: 1001266 |
|
SecurityTracker URL: http://securitytracker.com/id/1001266
|
|
CVE Reference:
GENERIC-MAP-NOMATCH
(Links to External Site)
|
Date: Apr 9 2001
|
Impact:
Execution of arbitrary code via network, Root access via network
|
Fix Available: Yes Vendor Confirmed: Yes
|
|
Description:
The Network Time Protocol Daemon (ntpd) shipped with many UNIX/Linux systems is reportedly vulnerable to a remote buffer overflow attack that allows remote users to execute arbitrary code on the server (potentially resulting in super-user access).
The buffer overflow occurs when the daemon is building a response to a remote user's query that contains an overly large readvar argument. Because ntpd typically runs with root-level privileges, this can allow remote attackers to gain root access to the timeserver.
When exploited, the destination buffer is reportedly damaged by the attack, so any arbitrary shell code must be limited to less than approximately 70 bytes.
Code for a demonstration exploit is contained in the source message.
|
Impact:
A remote user can cause arbitrary code supplied by the remote user to be executed on the target ntpd timeserver. Because ntpd typically runs with root-level privileges, this can result in remote root access being granted to the attacker. Because NTP is based on UDP, spoofing is possible, making protection against attacks more difficult.
|
Solution:
HP has released a fix to this vulnerability (HP bulletin: HPSBUX0104-148).
|
Vendor URL: www.hp.com/ (Links to External Site)
|
Cause:
Boundary error
|
Underlying OS:
UNIX (HP/UX)
|
|
Message History:
This archive entry is a follow-up to the message listed below.
|
Source Message Contents
|
Date: Mon, 9 Apr 2001 07:22:37 -0700 (PDT)
Subject: security bulletins digest
|
HP Support Information Digests
===============================================================================
o IT Resource Center World Wide Web Service
---------------------------------------------------
If you subscribed through the IT Resource Center and would
like to be REMOVED from this mailing list, access the
IT Resource Center on the World Wide Web at:
http://www.itresourcecenter.hp.com/
Login using your IT Resource Center User ID and Password.
Then select Support Information Digests (located under
Maintenance and Support). You may then unsubscribe from the
appropriate digest.
===============================================================================
Digest Name: daily security bulletins digest
Created: Mon Apr 9 5:40:03 PDT 2001
Table of Contents:
Document ID Title
--------------- -----------
HPSBUX0104-148 Sec. Vulnerability in xntpd(1M)
The documents are listed below.
-------------------------------------------------------------------------------
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--------------------------------------
|
|
Go to the Top of This SecurityTracker Archive Page
|