Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[ GLSA 200905-08 ] NTP: Remote execution of arbitrary code
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index News & Announcements
View previous topic :: View next topic  
Author Message
GLSA
Advocate
Advocate


Joined: 12 May 2004
Posts: 2663

PostPosted: Tue May 26, 2009 4:26 pm    Post subject: [ GLSA 200905-08 ] NTP: Remote execution of arbitrary code Reply with quote

Gentoo Linux Security Advisory

Title: NTP: Remote execution of arbitrary code (GLSA 200905-08)
Severity: high
Exploitable: remote
Date: May 26, 2009
Bug(s): #263033, #268962
ID: 200905-08

Synopsis

Multiple errors in the NTP client and server programs might allow for the remote execution of arbitrary code.

Background

NTP contains the client and daemon implementations for the Network Time Protocol.

Affected Packages

Package: net-misc/ntp
Vulnerable: < 4.2.4_p7
Unaffected: >= 4.2.4_p7
Architectures: All supported architectures


Description

Multiple vulnerabilities have been found in the programs included in the NTP package:
  • Apple Product Security reported a boundary error in the cookedprint() function in ntpq/ntpq.c, possibly leading to a stack-based buffer overflow (CVE-2009-0159).
  • Chris Ries of CMU reported a boundary error within the crypto_recv() function in ntpd/ntp_crypto.c, possibly leading to a stack-based buffer overflow (CVE-2009-1252).


Impact

A remote attacker might send a specially crafted package to a machine running ntpd, possibly resulting in the remote execution of arbitrary code with the privileges of the user running the daemon, or a Denial of Service. NOTE: Successful exploitation requires the "autokey" feature to be enabled. This feature is only available if NTP was built with the 'ssl' USE flag. Furthermore, a remote attacker could entice a user into connecting to a malicious server using ntpq, possibly resulting in the remote execution of arbitrary code with the privileges of the user running the application, or a Denial of Service.

Workaround

You can protect against CVE-2009-1252 by disabling the 'ssl' USE flag and recompiling NTP.

Resolution

All NTP users should upgrade to the latest version:
Code:
# emerge --sync
# emerge --ask --oneshot --verbose ">=net-misc/ntp-4.2.4_p7"


References

CVE-2009-0159
CVE-2009-1252
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index News & Announcements All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum