SecurityTracker.com
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


 


Category:   Application (Generic)  >   ntp Vendors:   ntp.org
(Red Hat Issues Fix) ntp Buffer Overflow in ntpq cookedprint() Lets Remote Users Execute Arbitrary Code
SecurityTracker Alert ID:  1022249
SecurityTracker URL:  http://securitytracker.com/id/1022249
CVE Reference:   CVE-2009-0159   (Links to External Site)
Date:  May 18 2009
Impact:   Execution of arbitrary code via network, User access via network
Fix Available:  Yes  Vendor Confirmed:  Yes  
Version(s): 4.2.4p6 and prior versions
Description:   A vulnerability was reported in ntpq. A remote user can execute arbitrary code on the target system.

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

Apple reported this vulnerability.

On June 25, 2009, Sun reported that Solaris is not affected by this vulnerability [http://blogs.sun.com/security/entry/solaris_not_impacted_by_cve].

Impact:   A remote user can execute arbitrary code on the target system.
Solution:   Red Hat has released a fix.

The Red Hat advisory is available at:

https://rhn.redhat.com/errata/RHSA-2009-1039.html

Vendor URL:  ntp.org/ (Links to External Site)
Cause:   Boundary error
Underlying OS:  Linux (Red Hat Enterprise)
Underlying OS Comments:  5

Message History:   This archive entry is a follow-up to the message listed below.
Apr 13 2009 ntp Buffer Overflow in ntpq cookedprint() Lets Remote Users Execute Arbitrary Code



 Source Message Contents

Subject:  [RHSA-2009:1039-01] Important: ntp security update


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

=====================================================================
                   Red Hat Security Advisory

Synopsis:          Important: ntp security update
Advisory ID:       RHSA-2009:1039-01
Product:           Red Hat Enterprise Linux
Advisory URL:      https://rhn.redhat.com/errata/RHSA-2009-1039.html
Issue date:        2009-05-18
CVE Names:         CVE-2009-0159 CVE-2009-1252 
=====================================================================

1. Summary:

An updated ntp package that fixes two security issues is now available for
Red Hat Enterprise Linux 5.

This update has been rated as having important security impact by the Red
Hat Security Response Team.

2. Relevant releases/architectures:

Red Hat Enterprise Linux Desktop (v. 5 client) - i386, x86_64
Red Hat Enterprise Linux (v. 5 server) - i386, ia64, ppc, s390x, x86_64

3. Description:

The Network Time Protocol (NTP) is used to synchronize a computer's time
with a referenced time source.

A buffer overflow flaw was discovered in the ntpd daemon's NTPv4
authentication code. If ntpd was configured to use public key cryptography
for NTP packet authentication, a remote attacker could use this flaw to
send a specially-crafted request packet that could crash ntpd.
(CVE-2009-1252)

Note: NTP authentication is not enabled by default.

A buffer overflow flaw was found in the ntpq diagnostic command. A
malicious, remote server could send a specially-crafted reply to an ntpq
request that could crash ntpq. (CVE-2009-0159)

All ntp users are advised to upgrade to this updated package, which
contains backported patches to resolve these issues. After installing the
update, the ntpd daemon will be restarted automatically.

4. Solution:

Before applying this update, make sure that all previously-released
errata relevant to your system have been applied.

This update is available via Red Hat Network.  Details on how to use
the Red Hat Network to apply this update are available at
http://kbase.redhat.com/faq/docs/DOC-11259

5. Bugs fixed (http://bugzilla.redhat.com/):

490617 - CVE-2009-0159 ntp: buffer overflow in ntpq
499694 - CVE-2009-1252 ntp: remote arbitrary code execution vulnerability if autokeys is enabled

6. Package List:

Red Hat Enterprise Linux Desktop (v. 5 client):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/5Client/en/os/SRPMS/ntp-4.2.2p1-9.el5_3.2.src.rpm

i386:
ntp-4.2.2p1-9.el5_3.2.i386.rpm
ntp-debuginfo-4.2.2p1-9.el5_3.2.i386.rpm

x86_64:
ntp-4.2.2p1-9.el5_3.2.x86_64.rpm
ntp-debuginfo-4.2.2p1-9.el5_3.2.x86_64.rpm

Red Hat Enterprise Linux (v. 5 server):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/5Server/en/os/SRPMS/ntp-4.2.2p1-9.el5_3.2.src.rpm

i386:
ntp-4.2.2p1-9.el5_3.2.i386.rpm
ntp-debuginfo-4.2.2p1-9.el5_3.2.i386.rpm

ia64:
ntp-4.2.2p1-9.el5_3.2.ia64.rpm
ntp-debuginfo-4.2.2p1-9.el5_3.2.ia64.rpm

ppc:
ntp-4.2.2p1-9.el5_3.2.ppc.rpm
ntp-debuginfo-4.2.2p1-9.el5_3.2.ppc.rpm

s390x:
ntp-4.2.2p1-9.el5_3.2.s390x.rpm
ntp-debuginfo-4.2.2p1-9.el5_3.2.s390x.rpm

x86_64:
ntp-4.2.2p1-9.el5_3.2.x86_64.rpm
ntp-debuginfo-4.2.2p1-9.el5_3.2.x86_64.rpm

These packages are GPG signed by Red Hat for security.  Our key and 
details on how to verify the signature are available from
https://www.redhat.com/security/team/key/#package

7. References:

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-0159
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-1252
http://www.redhat.com/security/updates/classification/#important

8. Contact:

The Red Hat security contact is <secalert@redhat.com>.  More contact
details at https://www.redhat.com/security/team/contact/

Copyright 2009 Red Hat, Inc.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (GNU/Linux)

iD8DBQFKEcyTXlSAg2UNWIIRAgkoAKCs0xXu7pP8Kc7eZTZow5a59jwzZACfcdvj
TG01dbwkpICFpHhF3T0RhwY=
=tzER
-----END PGP SIGNATURE-----


-- 
Enterprise-watch-list mailing list
Enterprise-watch-list@redhat.com
https://www.redhat.com/mailman/listinfo/enterprise-watch-list

 
 


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 2022, SecurityGlobal.net LLC