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:  1023299
SecurityTracker URL:  http://securitytracker.com/id/1023299
CVE Reference:   CVE-2009-0159   (Links to External Site)
Date:  Dec 8 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 issued a fix.

The Red Hat advisory is available at:

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

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

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:1651-01] Moderate: ntp security update

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

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

Synopsis:          Moderate: ntp security update
Advisory ID:       RHSA-2009:1651-01
Product:           Red Hat Enterprise Linux
Advisory URL:      https://rhn.redhat.com/errata/RHSA-2009-1651.html
Issue date:        2009-12-08
CVE Names:         CVE-2009-0159 CVE-2009-3563 
=====================================================================

1. Summary:

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

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

2. Relevant releases/architectures:

Red Hat Desktop version 3 - i386, x86_64
Red Hat Enterprise Linux AS version 3 - i386, ia64, ppc, s390, s390x, x86_64
Red Hat Enterprise Linux ES version 3 - i386, ia64, x86_64
Red Hat Enterprise Linux WS version 3 - i386, ia64, x86_64

3. Description:

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

Robin Park and Dmitri Vinokurov discovered a flaw in the way ntpd handled
certain malformed NTP packets. ntpd logged information about all such
packets and replied with an NTP packet that was treated as malformed when
received by another ntpd. A remote attacker could use this flaw to create
an NTP packet reply loop between two ntpd servers via a malformed packet
with a spoofed source IP address and port, causing ntpd on those servers to
use excessive amounts of CPU time and fill disk space with log messages.
(CVE-2009-3563)

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 or, potentially, execute arbitrary code with
the privileges of the user running the ntpq command. (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 restart 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
531213 - CVE-2009-3563 ntpd: DoS with mode 7 packets (VU#568372)

6. Package List:

Red Hat Enterprise Linux AS version 3:

Source:
ftp://updates.redhat.com/enterprise/3AS/en/os/SRPMS/ntp-4.1.2-6.el3.src.rpm

i386:
ntp-4.1.2-6.el3.i386.rpm
ntp-debuginfo-4.1.2-6.el3.i386.rpm

ia64:
ntp-4.1.2-6.el3.ia64.rpm
ntp-debuginfo-4.1.2-6.el3.ia64.rpm

ppc:
ntp-4.1.2-6.el3.ppc.rpm
ntp-debuginfo-4.1.2-6.el3.ppc.rpm

s390:
ntp-4.1.2-6.el3.s390.rpm
ntp-debuginfo-4.1.2-6.el3.s390.rpm

s390x:
ntp-4.1.2-6.el3.s390x.rpm
ntp-debuginfo-4.1.2-6.el3.s390x.rpm

x86_64:
ntp-4.1.2-6.el3.x86_64.rpm
ntp-debuginfo-4.1.2-6.el3.x86_64.rpm

Red Hat Desktop version 3:

Source:
ftp://updates.redhat.com/enterprise/3desktop/en/os/SRPMS/ntp-4.1.2-6.el3.src.rpm

i386:
ntp-4.1.2-6.el3.i386.rpm
ntp-debuginfo-4.1.2-6.el3.i386.rpm

x86_64:
ntp-4.1.2-6.el3.x86_64.rpm
ntp-debuginfo-4.1.2-6.el3.x86_64.rpm

Red Hat Enterprise Linux ES version 3:

Source:
ftp://updates.redhat.com/enterprise/3ES/en/os/SRPMS/ntp-4.1.2-6.el3.src.rpm

i386:
ntp-4.1.2-6.el3.i386.rpm
ntp-debuginfo-4.1.2-6.el3.i386.rpm

ia64:
ntp-4.1.2-6.el3.ia64.rpm
ntp-debuginfo-4.1.2-6.el3.ia64.rpm

x86_64:
ntp-4.1.2-6.el3.x86_64.rpm
ntp-debuginfo-4.1.2-6.el3.x86_64.rpm

Red Hat Enterprise Linux WS version 3:

Source:
ftp://updates.redhat.com/enterprise/3WS/en/os/SRPMS/ntp-4.1.2-6.el3.src.rpm

i386:
ntp-4.1.2-6.el3.i386.rpm
ntp-debuginfo-4.1.2-6.el3.i386.rpm

ia64:
ntp-4.1.2-6.el3.ia64.rpm
ntp-debuginfo-4.1.2-6.el3.ia64.rpm

x86_64:
ntp-4.1.2-6.el3.x86_64.rpm
ntp-debuginfo-4.1.2-6.el3.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-3563
http://www.redhat.com/security/updates/classification/#moderate

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)

iD8DBQFLHq9yXlSAg2UNWIIRAt5bAJ9HWVHeNioR/OXgl2CJ7Z+SyHrH0ACgwoA7
YhoWPoVwCPb7Eag+AQ31KQM=
=lpWc
-----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