the ultimate security vulnerability data source
(e.g.: CVE-2009-1234 or 2010-1234 or 20101234)
Log In   Register
Vulnerability Feeds & WidgetsNew  

Vulnerability Details : CVE-2009-0159

Stack-based buffer overflow in the cookedprint function in ntpq/ntpq.c in ntpq in NTP before 4.2.4p7-RC2 allows remote NTP servers to execute arbitrary code via a crafted response.
Publish Date : 2009-04-14 Last Update Date : 2018-10-11
Search Twitter   Search YouTube   Search Google

- CVSS Scores & Vulnerability Types

CVSS Score
Confidentiality Impact Partial (There is considerable informational disclosure.)
Integrity Impact Partial (Modification of some system files or information is possible, but the attacker does not have control over what can be modified, or the scope of what the attacker can affect is limited.)
Availability Impact Partial (There is reduced performance or interruptions in resource availability.)
Access Complexity Medium (The access conditions are somewhat specialized. Some preconditions must be satistified to exploit)
Authentication Not required (Authentication is not required to exploit the vulnerability.)
Gained Access User
Vulnerability Type(s) Execute CodeOverflow
CWE ID 119

- Additional Vendor Supplied Data

Vendor Impact CVSS Score CVSS Vector Report Date Publish Date
Redhat low
AV:N/AC:H/Au:N/C:P/I:P/A:P 2009-03-12 2009-04-09
If you are a vendor and you have additional data which can be automatically imported into our database, please contact admin @

- Related OVAL Definitions

Title Definition Id Class Family
CVE-2009-0159 unix
DSA-1801 ntp -- buffer overflows oval:org.mitre.oval:def:8042 unix
DSA-1801-1 ntp -- buffer overflows oval:org.mitre.oval:def:13464 unix
ELSA-2009:1039: ntp security update (Important) oval:org.mitre.oval:def:22874 unix
HP-UX Running XNTP, Remote Execution of Arbitrary Code oval:org.mitre.oval:def:5411 unix
HP-UX Running XNTP, Remote Denial of Service (DoS) and Execution of Arbitrary Code oval:org.mitre.oval:def:19392 unix
RHSA-2009:1039 -- ntp security update (Important) oval:org.mitre.oval:def:29463 unix
RHSA-2009:1039: ntp security update (Important) oval:com.redhat.rhsa:def:20091039 unix
RHSA-2009:1040: ntp security update (Critical) oval:com.redhat.rhsa:def:20091040 unix
RHSA-2009:1651: ntp security update (Moderate) oval:com.redhat.rhsa:def:20091651 unix
Stack-based buffer overflow in the cookedprint function in ntpq/ntpq.c in ntpq in NTP before 4.2.4p7-RC2 allows remote N... oval:org.mitre.oval:def:9634 unix
VMware ntpd stack-based buffer overflow vulnerability oval:org.mitre.oval:def:8665 unix
VMware ntpq stack-based buffer overflow vulnerability oval:org.mitre.oval:def:8386 unix
OVAL (Open Vulnerability and Assessment Language) definitions define exactly what should be done to verify a vulnerability or a missing patch. Check out the OVAL definitions if you want to learn what you should do to verify a vulnerability.

- Products Affected By CVE-2009-0159

# Product Type Vendor Product Version Update Edition Language
1 Application NTP NTP 4.0.72 Version Details Vulnerabilities
2 Application NTP NTP 4.0.73 Version Details Vulnerabilities
3 Application NTP NTP 4.0.90 Version Details Vulnerabilities
4 Application NTP NTP 4.0.91 Version Details Vulnerabilities
5 Application NTP NTP 4.0.92 Version Details Vulnerabilities
6 Application NTP NTP 4.0.93 Version Details Vulnerabilities
7 Application NTP NTP 4.0.94 Version Details Vulnerabilities
8 Application NTP NTP 4.0.95 Version Details Vulnerabilities
9 Application NTP NTP 4.0.96 Version Details Vulnerabilities
10 Application NTP NTP 4.0.97 Version Details Vulnerabilities
11 Application NTP NTP 4.0.98 Version Details Vulnerabilities
12 Application NTP NTP 4.0.99 Version Details Vulnerabilities
13 Application NTP NTP 4.1.0 Version Details Vulnerabilities
14 Application NTP NTP 4.1.2 Version Details Vulnerabilities
15 Application NTP NTP 4.2.0 Version Details Vulnerabilities
16 Application NTP NTP 4.2.2 Version Details Vulnerabilities
17 Application NTP NTP 4.2.2p1 Version Details Vulnerabilities
18 Application NTP NTP 4.2.2p2 Version Details Vulnerabilities
19 Application NTP NTP 4.2.2p3 Version Details Vulnerabilities
20 Application NTP NTP 4.2.2p4 Version Details Vulnerabilities
21 Application NTP NTP 4.2.4 Version Details Vulnerabilities
22 Application NTP NTP 4.2.4p5 Version Details Vulnerabilities
23 Application NTP NTP 4.2.4p0 Version Details Vulnerabilities
24 Application NTP NTP 4.2.4p6 Version Details Vulnerabilities
25 Application NTP NTP 4.2.4p1 Version Details Vulnerabilities
26 Application NTP NTP 4.2.4p7 RC1 Version Details Vulnerabilities
27 Application NTP NTP 4.2.4p2 Version Details Vulnerabilities
28 Application NTP NTP 4.2.4p3 Version Details Vulnerabilities
29 Application NTP NTP 4.2.4p4 Version Details Vulnerabilities

- Number Of Affected Versions By Product

Vendor Product Vulnerable Versions

- References For CVE-2009-0159
REDHAT RHSA-2009:1040
XF ntp-cookedprint-bo(49838)
VUPEN ADV-2009-0999
VUPEN ADV-2009-3316
SECTRACK 1022033
CERT TA09-133A
BID 34481 NTP 'ntpq' Stack Buffer Overflow Vulnerability Release Date:2014-11-14
GENTOO GLSA-200905-08
BUGTRAQ 20091120 VMSA-2009-0016 VMware vCenter and ESX update release and vMA patch release address multiple security issue in third party components
APPLE APPLE-SA-2009-05-12
SUSE SUSE-SR:2009:011

- Metasploit Modules Related To CVE-2009-0159

There are not any metasploit modules related to this CVE entry (Please visit for more information)

CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site. OVAL is a registered trademark of The MITRE Corporation and the authoritative source of OVAL content is MITRE's OVAL web site.
Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.