Network Time Protocol Daemon (ntpd) 4.x < 4.2.8p12 / 4.3.x < 4.3.94 Multiple Vulnerabilities

critical Nessus Plugin ID 111968

Synopsis

The remote NTP server is affected by multiple vulnerabilities.

Description

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

- A race condition exists that is triggered during the handling of a saturation of ephemeral associations. An authenticated, remote attacker can exploit this to defeat NTP's clock selection algorithm and modify a user's clock. (CVE-2016-1549)

- A buffer overflow vulnerability exists within the openhost() function of the ntpq anmd ntpdc. A local attacker, using an excessively large hostname, could cause a stack overflow and potentially allow for remote code execution or privilege escalation. (CVE-2018-12327)

Solution

Upgrade to NTP version 4.2.8p12, 4.3.94 or later.

See Also

http://www.nessus.org/u?80cd6f97

Plugin Details

Severity: Critical

ID: 111968

File Name: ntp_4_2_8p12.nasl

Version: 1.4

Type: remote

Family: Misc.

Published: 8/17/2018

Updated: 4/5/2019

Configuration: Enable paranoid mode

Risk Information

CVSS Score Source: CVE-2018-12327

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.9

Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P

Temporal Vector: E:POC/RL:OF/RC:C

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.8

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

Temporal Vector: E:P/RL:O/RC:C

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: 8/14/2018

Vulnerability Publication Date: 8/14/2018

Reference Information

CVE: CVE-2016-1549, CVE-2018-12327