Network Time Protocol Daemon (ntpd) 3.x / 4.x < 4.2.8p2 Multiple Vulnerabilities

Medium Nessus Plugin ID 83744


The remote NTP server is affected by multiple vulnerabilities.


The version of the remote NTP server is 3.x or 4.x prior to 4.2.8p2.
It is, therefore, affected by the following vulnerabilities :

- The symmetric-key feature in the receive() function requires a correct message authentication code (MAC) only if the MAC field has a nonzero length. A man-in-the-middle attacker can exploit this to spoof packets by omitting the MAC. (CVE-2015-1798)

- A flaw exists in the symmetric-key feature in the receive() function when handling a specially crafted packet sent to one of two hosts that are peering with each other. An attacker can exploit this to cause the next attempt by the servers to synchronize to fail.

- A flaw exists in util/ntp-keygen.c due to the way that the ntp-keygen utility generates MD5 symmetric keys on big-endian systems. A remote attacker can exploit this to more easily guess MD5 symmetric keys and thereby spoof an NTP server or client. (CVE-2015-3405)


Upgrade to NTP version 4.2.8p2 or later.

See Also

Plugin Details

Severity: Medium

ID: 83744

File Name: ntp_4_2_8p2.nasl

Version: $Revision: 1.7 $

Type: remote

Family: Misc.

Published: 2015/05/21

Modified: 2016/12/07

Dependencies: 10884

Risk Information

Risk Factor: Medium


Base Score: 4.3

Temporal Score: 3.6

Vector: CVSS2#AV:A/AC:M/Au:N/C:N/I:P/A:P

Temporal Vector: CVSS2#E:F/RL:OF/RC:ND


Base Score: 6.8

Temporal Score: 6.3

Vector: CVSS:3.0/AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H

Temporal Vector: CVSS:3.0/E:F/RL:O/RC:X

Vulnerability Information

CPE: cpe:/a:ntp:ntp

Required KB Items: NTP/Running, Settings/ParanoidReport

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 2015/04/07

Vulnerability Publication Date: 2015/03/30

Reference Information

CVE: CVE-2015-1798, CVE-2015-1799, CVE-2015-3405

BID: 73950, 73951, 74045

OSVDB: 120350, 120351, 120524

CERT: 374268